Update NEWS feature test macro description of TS 18661-1 support.
[glibc.git] / ChangeLog
blob4f86f7a8cfa3df31b928cd78d5c5a03f634294ea
1 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #20978]
4         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5         Compare name == NULL, not name != NULL.
7         * manual/texinfo.tex: Update to version 2016-09-18.18 with
8         trailing whitespace removed.
9         * scripts/config.guess: Update to version 2016-10-02.
10         * scripts/config.sub: Update to version 2016-11-19.
11         * scripts/install-sh: Update to version 2016-01-11.22.
12         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
13         * scripts/move-if-change: Update to version 2016-01-11 22:04.
15 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
17         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
18         (do_one_test) Restore original string so iteration works.
19         * string/string-inlines.c (do_test): Create better input strings.
20         (test_main) Reduce number of testruns.
21         * string/string-inlines.c (__old_strsep_1c): New function.
22         (__old_strsep_2c): Likewise.
23         (__old_strsep_3c): Likewise.
24         * string/strsep.c (__strsep): Remove case of small delim string.
25         Call strcspn directly rather than strpbrk.
26         * string/bits/string2.h (__strsep): Remove define.
27         (__strsep_1c): Remove.
28         (__strsep_2c): Remove.
29         (__strsep_3c): Remove.
30         (strsep): Remove.
31         * sysdeps/unix/sysv/linux/internal_statvfs.c
32         (__statvfs_getflags): Rename to __strsep.
34 2016-12-21  Florian Weimer  <fweimer@redhat.com>
36         * csu/libc-tls.c (_dl_tls_setup): Remove.
37         * elf/dl-tls.c (_dl_tls_setup): Likewise.
38         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
39         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
41 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
43         [BZ #7065]
44         * sysdeps/x86_64/Makefile [$(subdir) = elf]
45         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
47 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
48             Florian Weimer  <fweimer@redhat.com>
50         [BZ #7065]
51         * csu/Makefile (tests): Empty assignment and document it.
52         (tests-static): Remove.
53         * csu/tst-empty.c: Move to...
54         * misc/tst-empty.c: ... here.  Switch to new test driver.
55         * csu/tst-atomic.c: Move to...
56         * misc/tst-atomic.c: ... here.  Switch to new test driver.
57         * csu/tst-atomic-long.c: Move to...
58         * misc/tst-atomic-long.c: ... here.
59         * misc/Makefile (tests): Add tst-empty, tst-atomic,
60         tst-atomic-long.
61         (tests-static): Add tst-empty.
63 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
65         * manual/nss.texi: Change incorrect @vtable to @table.
66         * manual/arith.texi: Convert @tables of variables to @vtables
67         and remove unnecessary indexing.
68         * manual/filesys.texi: Likewise.
69         * manual/llio.texi: Likewise.
70         * manual/memory.texi: Likewise.
71         * manual/process.texi: Likewise.
72         * manual/resource.texi: Likewise.
73         * manual/search.texi: Likewise.
74         * manual/signal.texi: Likewise.
75         * manual/socket.texi: Likewise.
76         * manual/stdio.texi: Likewise.
77         * manual/sysinfo.texi: Likewise.
78         * manual/syslog.texi: Likewise.
79         * manual/terminal.texi: Likewise.
80         * manual/time.texi: Likewise.
81         * manual/users.texi: Likewise.
83 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
85         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
86         (roundeven): New declaration.
87         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
88         macro.
89         * math/Versions (roundeven): New libm symbol at version
90         GLIBC_2.25.
91         (roundevenf): Likewise.
92         (roundevenl): Likewise.
93         * math/Makefile (libm-calls): Add s_roundevenF.
94         * math/libm-test.inc (roundeven_test_data): New array.
95         (roundeven_test): New function.
96         (main): Call roundeven_test.
97         * math/test-tgmath.c (NCALLS): Increase to 134.
98         (F(compile_test)): Call roundeven.
99         (F(roundeven)): New function.
100         * manual/arith.texi (Rounding Functions): Document roundeven,
101         roundevenf and roundevenl.
102         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
103         * include/math.h (roundeven): Use libm_hidden_proto.
104         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
105         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
106         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
107         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
108         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
109         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
110         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
111         roundeven.
112         (CFLAGS-nldbl-roundeven.c): New variable.
113         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
114         * sysdeps/nacl/libm.abilist: Update.
115         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
116         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
117         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
118         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
119         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
120         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
121         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
122         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
123         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
124         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
125         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
126         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
128         Likewise.
129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
130         Likewise.
131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
132         Likewise.
133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
134         Likewise.
135         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
136         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
137         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
138         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
139         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
141         Likewise.
142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
143         Likewise.
144         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
145         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
146         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
148 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
150         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
151         preprocessor indentation inside #if.
153 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
155         * math/libm-test.inc (fmt_ftostr): New function.
156         (print_float, check_float_internal): Replace some uses of
157         FTOSTR with uses of fmt_ftostr.
158         (print_max_error, print_complex_max_error, print_function_ulps)
159         (print_complex_function_ulps): Remove uses of the macros
160         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
161         * math/test-double.h (FTOSTR): Define to strfromd.
162         (PRINTF_EXPR): Delete.
163         (PRINTF_XEXPR): Likewise.
164         (PRINTF_NEXPR): Likewise.
165         * math/test-float.h (FTOSTR): Define to strfromf.
166         (PRINTF_EXPR): Delete.
167         (PRINTF_XEXPR): Likewise.
168         (PRINTF_NEXPR): Likewise.
169         * math/test-ldouble.h (FTOSTR): Define to strfroml.
170         (PRINTF_EXPR): Delete.
171         (PRINTF_XEXPR): Likewise.
172         (PRINTF_NEXPR): Likewise.
174 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
176         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
177         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
178         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
179         (__lll_lock_elision): Decrement adapt_count while unlocking
180         instead of before locking.
181         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
182         (__lll_trylock_elision): Likewise.
183         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
184         (__lll_unlock_elision): Likewise.
186 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
188         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
189         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
190         Use __libc_tbegin_retry macro.
192 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
194         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
195         Add -msoft-float.
196         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
197         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
198         Use __libc_t* transaction macros instead of __builtin_t*.
199         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
200         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
202 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
204         * sysdeps/unix/sysv/linux/s390/elision-lock.c
205         (__lll_lock_elision): Use atomics to load / store adapt_count.
206         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
207         (__lll_trylock_elision): Likewise.
209 2016-12-20  Florian Weimer  <fweimer@redhat.com>
211         Do not require memset elimination in explicit_bzero test.
212         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
213         (enum test_expectation): Add NO_EXPECTATIONS.
214         (subtests): NO_EXPECTATIONS for ordinary clear.
215         (check_test_buffer): Handle NO_EXPECTATIONS.
216         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
218 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
220         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
221         (fmaxmag): New declaration.
222         (fminmag): Likewise.
223         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
224         macro.
225         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
226         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
227         (fmaxmagf): Likewise.
228         (fmaxmagl): Likewise.
229         (fminmag): Likewise.
230         (fminmagf): Likewise.
231         (fminmagl): Likewise.
232         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
233         * math/s_fmaxmag_template.c: New file.
234         * math/s_fminmag_template.c: Likewise.
235         * math/libm-test.inc (fmaxmag_test_data): New array.
236         (fmaxmag_test): New function.
237         (fminmag_test_data): New array.
238         (fminmag_test): New function.
239         (main): Call fmaxmag_test and fminmag_test.
240         * math/test-tgmath.c (NCALLS): Increase to 132.
241         (F(compile_test)): Call fmaxmag and fminmag.
242         (F(fminmag)): New function.
243         (F(fmaxmag)): Likewise.
244         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
245         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
246         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
247         fminmag.
248         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
249         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
250         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
251         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
252         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
253         and fminmag.
254         (CFLAGS-nldbl-fmaxmag.c): New variable.
255         (CFLAGS-nldbl-fminmag.c): Likewise.
256         * sysdeps/nacl/libm.abilist: Update.
257         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
258         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
259         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
260         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
261         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
262         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
263         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
264         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
265         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
266         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
267         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
268         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
270         Likewise.
271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
272         Likewise.
273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
274         Likewise.
275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
276         Likewise.
277         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
278         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
279         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
280         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
281         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
283         Likewise.
284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
285         Likewise.
286         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
287         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
288         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
290 2016-12-19  Torvald Riegel  <triegel@redhat.com>
292         [BZ #20973]
293         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
294         wake-up in robust mutexes.
295         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
297 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
299         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
300         (CFLAGS-bench-fmaxf.c): New rule.
301         (CFLAGS-bench-fminf.c): Likewise.
302         * benchtests/fmaxf-inputs: New file.
303         * benchtests/fminf-inputs: Likewise.
305         * benchtests/Makefile (bench-math): Add fmin and fmax.
306         (CFLAGS-bench-fmax.c): New rule.
307         (CFLAGS-bench-fmin.c): Likewise.
308         * benchtests/fmax-inputs: New file.
309         * benchtests/fmin-inputs: Likewise.
311         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
312         parenthesis.
313         (CMDLINE_PROCESS): Define using function instead of macro.
314         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
315         of test-skeleton.
316         * benchtests/bench-memchr.c: Likewise.
317         * benchtests/bench-memcmp.c: Likewise.
318         * benchtests/bench-memcpy-large.c: Likewise.
319         * benchtests/bench-memcpy.c: Likewise.
320         * benchtests/bench-memmem.c: Likewise.
321         * benchtests/bench-memmove-large.c: Likewise.
322         * benchtests/bench-memmove.c: Likewise.
323         * benchtests/bench-memset-large.c: Likewise.
324         * benchtests/bench-memset.c: Likewise.
325         * benchtests/bench-rawmemchr.c: Likewise.
326         * benchtests/bench-strcasecmp.c: Likewise.
327         * benchtests/bench-strcasestr.c: Likewise.
328         * benchtests/bench-strcat.c: Likewise.
329         * benchtests/bench-strchr.c: Likewise.
330         * benchtests/bench-strcmp.c: Likewise.
331         * benchtests/bench-strcpy.c: Likewise.
332         * benchtests/bench-strcpy_chk.c: Likewise.
333         * benchtests/bench-strlen.c: Likewise.
334         * benchtests/bench-strncasecmp.c: Likewise.
335         * benchtests/bench-strncmp.c: Likewise.
336         * benchtests/bench-strncpy.c: Likewise.
337         * benchtests/bench-strnlen.c: Likewise.
338         * benchtests/bench-strpbrk.c: Likewise.
339         * benchtests/bench-strrchr.c: Likewise.
340         * benchtests/bench-strsep.c: Likewise.
341         * benchtests/bench-strspn.c: Likewise.
342         * benchtests/bench-strstr.c: Likewise.
343         * benchtests/bench-strtok.c: Likewise.
345 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
347         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
348         stepping identification.
349         (init_cpu_features): Add handle of Haswell.
351 2016-11-25  Jim Meyering  <meyering@fb.com>
353         [BZ #20386]
354         Let gcc detect assert(a = 1) errors.
355         * assert/assert.h (assert) Rewrite, retaining the old definintion
356         when required, but otherwise putting the expression as-is in an "if"
357         expression (hence, with no added parentheses) within a statement
358         expression.
360 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
362         * benchtests/Makefile (binaries-benchset): Depend on libsupport
363         DSO.
365 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
367         * Rules (python-flags, python-invoke): New.
368         ($(test-printers-out)): Use $(python-flags).
370 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
372         * manual/arith.texi (Math Error Reporting): Document that sNaN
373         arguments are not considered domain errors.
375 2016-12-16  Zack Weinberg <zackw@panix.com>
376             Florian Weimer <fweimer@redhat.com>
377             Nick Mathewson <nickm@torproject.org>
379         * string/explicit_bzero.c: New routine.
380         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
381         * string/Makefile (routines, strop-tests, tests): Add them.
382         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
383         * string/string.h [__USE_MISC]: Declare explicit_bzero.
385         * debug/explicit_bzero_chk.c: New routine.
386         * debug/Makefile (routines): Add it.
387         * debug/tst-chk1.c: Test fortification of explicit_bzero.
388         * string/bits/string3.h: Fortify explicit_bzero.
390         * manual/string.texi: Document explicit_bzero.
391         * NEWS: Mention addition of explicit_bzero.
393         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
394         data before returning, using explicit_bzero.
395         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
396         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
397         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
399         * include/string.h: Redirect internal uses of explicit_bzero
400         to __explicit_bzero_chk[_internal].
401         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
402         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
403         * sysdeps/arm/nacl/libc.abilist
404         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
405         * sysdeps/unix/sysv/linux/alpha/libc.abilist
406         * sysdeps/unix/sysv/linux/arm/libc.abilist
407         * sysdeps/unix/sysv/linux/hppa/libc.abilist
408         * sysdeps/unix/sysv/linux/i386/libc.abilist
409         * sysdeps/unix/sysv/linux/ia64/libc.abilist
410         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
411         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
412         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
413         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
414         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
415         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
416         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
417         * sysdeps/unix/sysv/linux/nios2/libc.abilist
418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
422         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
423         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
424         * sysdeps/unix/sysv/linux/sh/libc.abilist
425         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
426         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
429         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
430         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
431         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
432         Add entries for explicit_bzero and __explicit_bzero_chk.
434 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
436         * math/fenv.h
437         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
438         (FE_SNANS_ALWAYS_SIGNAL): New macro.
439         * math/test-fe-snans-always-signal.c: New file.
440         * math/Makefile (tests): Add test-fe-snans-always-signal.
441         (CFLAGS-test-fe-snans-always-signal.c): New variable.
442         * manual/arith.texi (Infinity and NaN): Document
443         FE_SNANS_ALWAYS_SIGNAL.
445 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
447         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
448         bracket.
450 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
452         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
453         before calling execv.
455 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
457         [BZ# 20971]
458         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
459         overflow in pointer addition.
460         * string/test-memchr.c (do_test): Add an argument to pass as
461         the size on memchr.
462         (test_main): Add check for SIZE_MAX.
464 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
466         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
467         (libm-calls): Add w_scalblnF.
468         * math/w_scalbln.c: Remove.
469         * math/w_scalblnf.c: Likewise.
470         * math/w_scalblnl.c: Likewise.
471         * math/w_scalbln_template.c: New file with type-generic
472         implementation based on math/w_scalbln.c.
473         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
474         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
476 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
478         [BZ #20947]
479         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
480         either is a signaling NaN.
481         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
482         follow fmaxl more closely.
483         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
484         when either is a signaling NaN.
485         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
486         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
487         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
488         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
489         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
490         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
491         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
492         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
493         (fmin_test_data): Likewise.
495 2016-12-15  Andreas Schwab  <schwab@suse.de>
497         * support/support_test_main.c (support_test_main): Don't shadow
498         file-local variable test_pid.
500 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
502         [BZ #20947]
503         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
504         either is a signaling NaN.
505         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
507 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
509         [BZ #20947]
510         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
511         when either is a signaling NaN.
512         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
514         * bits/long-double.h: New file.
515         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
516         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
517         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
518         * sysdeps/mips/bits/long-double.h: Likewise.
519         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
520         * math/Makefile (headers): Add bits/long-double.h.
521         * misc/sys/cdefs.h: Include <bits/long-double.h>.
522         * stdlib/strtold.c: Include <bits/long-double.h> instead of
523         <bits/wordsize.h>.
524         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
525         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
526         * math/math.h: Do not include <bits/mathdef.h>.
527         * sysdeps/aarch64/bits/mathdef.h: Remove file.
528         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
529         inclusion.
530         * sysdeps/ia64/bits/mathdef.h: Remove file.
531         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
532         * sysdeps/mips/bits/mathdef.h: Likewise.
533         * sysdeps/powerpc/bits/mathdef.h: Likewise.
534         * sysdeps/s390/bits/mathdef.h: Likewise.
535         * sysdeps/sparc/bits/mathdef.h: Likewise.
536         * sysdeps/x86/bits/mathdef.h: Likewise.
537         * sysdeps/s390/s390-32/bits/wordsize.h
538         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
539         conditional code.
540         * sysdeps/s390/s390-64/bits/wordsize.h
541         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
542         Likewise.
543         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
544         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
545         Likewise.
546         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
547         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
548         Likewise.
549         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
550         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
551         Likewise.
553         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
554         <linux/falloc.h>.
555         (FALLOC_FL_KEEP_SIZE): Remove.
556         (FALLOC_FL_PUNCH_HOLE): Likewise.
557         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
558         (FALLOC_FL_ZERO_RANGE): Likewise.
560 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
562         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
564 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
566         * sysdeps/unix/sysv/linux/renameat.c: New file.
567         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
569         * sysdeps/unix/sysv/linux/rename.c: New file.
570         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
572 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
574         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
575         * string/strtok.c (strtok): Change to tailcall __strtok_r.
576         * string/strtok_r.c (__strtok_r): Optimize for performance.
577         * string/string-inlines.c (__old_strtok_r_1c): New function.
578         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
580 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
582         * math/Makefile (gen-libm-calls): Add w_log1pF.
583         (libm-calls): Remove w_log1pF.
584         * math/w_log1p.c: Remove.
585         * math/w_log1pf.c: Likewise.
586         * math/w_log1pl.c: Likewise.
587         * math/w_log1p_template.c: New file with type-generic
588         implementation based on math/w_log1p.c.
589         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
590         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
592 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
594         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
596 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
598         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
599         kernel version to 4.9.
601 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
603         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
604         ($(inst_libdir)/libm.a): Fix rule to create the target only.
606 2016-12-13  Andreas Schwab  <schwab@suse.de>
608         * sysdeps/powerpc/dl-procinfo.c: Don't define
609         _dl_powerpc_platforms.
610         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
611         constants instead of referencing _dl_powerpc_platforms.
612         (_dl_platform_string): Remove.
614 2016-12-13  Florian Weimer  <fweimer@redhat.com>
616         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
618 2016-12-13  Florian Weimer  <fweimer@redhat.com>
620         * Rules (binaries-shared-tests, binaries-pie-tests)
621         (binaries-static-tests): Link with $(link-extra-libs-tests).
622         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
623         Remove $(link-extra-libs-tests).
625 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
627         * sysdeps/powerpc/powerpc64/multiarch/Makefile
628         (sysdep_routines): Add strncmp_power9.
629         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
630         (strncmp): Add __strncmp_power9 to list of strncmp functions.
631         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
632         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
633         (strncmp): Add __strncmp_power9 to ifunc list.
634         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
636 2016-12-12  Florian Weimer  <fweimer@redhat.com>
638         [BZ #17252]
639         Add getentropy, getrandom.
640         * stdlib/sys/random.h: New file.
641         (headers): Add it.
642         * stdlib/Makefile (routines): Add getentropy, getrandom.
643         (tests): Add tst-getrandom.
644         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
645         * stdlib/getentropy.c: New file.
646         * stdlib/getrandom.c: Likewise.
647         * stdlib/tst-getrandom.c: Likewise.
648         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
649         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
650         * manual/crypt.texi (Unpredictable Bytes): New section.
651         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
652         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
653         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
654         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
655         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
656         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
657         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
658         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
659         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
660         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
661         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
662         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
663         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
664         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
665         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
666         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
668         Likewise.
669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
670         Likewise.
671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
673         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
674         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
675         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
676         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
677         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
680         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
681         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
682         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
684 2016-12-10  Florian Weimer  <fweimer@redhat.com>
686         [BZ #20956]
687         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
688         as additional compiler barriers.
689         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
690         (fn2, do_test): Declare with external linkage.
691         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
692         (do_test): Declare with external linkage.
693         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
694         (do_test): Declare with external linkage.
695         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
696         (do_test): Declare with external linkage.
698 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
700         * support/support_test_main.c (support_test_main): Use correct
701         timeout.
703 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
704             Florian Weimer  <fweimer@redhat.com>
706         [BZ #16421]
707         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
708         and __u6_addr32 members.
709         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
710         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
711         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
712         Use __u6_addr32.
713         * inet/tst-checks.c: Use <support/test-driver.c>
714         * inet/tst-checks-posix.c: New file.
715         * inet/Makefile (tests): Add it.
716         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
718 2016-12-09  Florian Weimer  <fweimer@redhat.com>
720         New subdirectory support for build and test infrastructure.
721         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
722         setting install-lib.
723         * Makeconfig (link-extra-libs-tests): Define.
724         (+link-pie-tests, +link-static-tests, +link-tests): Use
725         link-extra-libs-tests.
726         (rpath-dirs, all-subdirs): Add support.
727         (built-modules): Add libsupport.
728         (libsupport): Define.
729         * support: New directory.
730         * support/Makefile: New file.
731         * support/check.c: Likewise.
732         * support/check.h: Likewise.
733         * support/delayed_exit.c: Likewise.
734         * support/ignore_stderr.c: Likewise.
735         * support/oom_error.c: Likewise.
736         * support/set_fortify_handler.c: Likewise.
737         * support/support.h: Likewise.
738         * support/temp_file-internal.h: Likewise.
739         * support/temp_file.c: Likewise.
740         * support/test-driver.c: Likewise.
741         * support/test-driver.h: Likewise.
742         * support/test_main.c: Likewise.
743         * support/write_message.c: Likewise.
744         * support/xasprintf.c: Likewise.
745         * support/xcalloc.c: Likewise.
746         * support/xmalloc.c: Likewise.
747         * support/xpthread_barrier_destroy.c: Likewise.
748         * support/xpthread_barrier_init.c: Likewise.
749         * support/xpthread_barrier_wait.c: Likewise.
750         * support/xpthread_cancel.c: Likewise.
751         * support/xpthread_check_return.c: Likewise.
752         * support/xpthread_cond_wait.c: Likewise.
753         * support/xpthread_create.c: Likewise.
754         * support/xpthread_detach.c: Likewise.
755         * support/xpthread_join.c: Likewise.
756         * support/xpthread_mutex_lock.c: Likewise.
757         * support/xpthread_mutex_unlock.c: Likewise.
758         * support/xpthread_sigmask.c: Likewise.
759         * support/xpthread_spin_lock.c: Likewise.
760         * support/xpthread_spin_unlock.c: Likewise.
761         * support/xrealloc.c: Likweise.
762         * support/xsignal.h: Likewise.
763         * support/xthread.h: Likewise.
764         * support_tempfile.h: Likewise.
765         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
766         (TEST_DATA_LIMIT): Remove unused macro.
767         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
768         <support/check.h>.
769         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
770         (ignore_stderr, set_fortify_handler): Remove.  Now in
771         <support/support.h>.
772         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
773         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
774         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
775         (xpthread_join): Remove.  Now in <support/xthread.h>.
776         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
777         Introduce legacy wrappers.
778         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
779         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
780         (write_message): Remove.
781         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
782         test-skeleton.c.
783         * io/test-open-tmpfile: Likewise.
784         * io/tst-posix_fallocate-common.c: Likewise.
785         * libio/tst-fseek.c: Likewise.
786         * malloc/tst-malloc-backtrace.c: Likewise.
787         * malloc/tst-malloc-fork-deadlock.c: Likewise.
788         * malloc/tst-malloc-thread-exit.c: Likewise.
789         * nptl/tst-cancel7.c: Likewise.
790         * nptl/tst-cleanup0.c: Likewise.
791         * posix/tst-posix_fadvise-common.c: Likewise.
792         * rt/tst-shm.c: Likewise.
793         * time/bug-getdate1.c: Likewise.
794         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
795         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
796         * elf/Makefile (tst-piemod1.so): Link against libsupport.
798 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
800         * Rules [$(run-built-tests) != no] (tests-expected): Add
801         $(tests-printers).
802         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
804 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
806         [BZ #20539]
807         * math/Makefile (install-lib-ldscripts): Add libm.a.
808         (install_subdir): Remove.
809         (install-others): Add.
810         ($(inst_libdir)/libm.a): Add rule for installation as
811         linker script.
812         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
814 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
816         * INSTALL: Regenerated.
817         * Makeconfig: Add comments and whitespace to make the control flow
818         clearer.
819         (+link-printers-tests, +link-pie-printers-tests,
820         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
821         built-rtld-LDFLAGS, link-libc-rpath,
822         link-libc-tests-after-rpath-link,
823         link-libc-printers-tests): New.
824         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
825         link-libc-tests): Use the new variables as required.
826         * Makerules ($(py-const)): New rule.
827         generated: Add $(py-const).
828         * README.pretty-printers: New file.
829         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
830         (others): Depend on $(py-const).
831         (tests): Depend on $(tests-printers-programs) or
832         $(tests-printers-out),
833         as required.  Pass $(tests-printers) to merge-test-results.sh.
834         * manual/install.texi: Add requirements for testing the pretty
835         printers.
836         * nptl/Makefile (gen-py-const-headers, pretty-printers,
837         tests-printers, CFLAGS-test-mutexattr-printers.c
838         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
839         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
840         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
841         * nptl/nptl-printers.py: New file.
842         * nptl/nptl_lock_constants.pysym: Likewise.
843         * nptl/test-cond-printers.c: Likewise.
844         * nptl/test-cond-printers.py: Likewise.
845         * nptl/test-condattr-printers.c: Likewise.
846         * nptl/test-condattr-printers.py: Likewise.
847         * nptl/test-mutex-printers.c: Likewise.
848         * nptl/test-mutex-printers.py: Likewise.
849         * nptl/test-mutexattr-printers.c: Likewise.
850         * nptl/test-mutexattr-printers.py: Likewise.
851         * nptl/test-rwlock-printers.c: Likewise.
852         * nptl/test-rwlock-printers.py: Likewise.
853         * nptl/test-rwlockattr-printers.c: Likewise.
854         * nptl/test-rwlockattr-printers.py: Likewise.
855         * scripts/gen-py-const.awk: Likewise.
856         * scripts/test_printers_common.py: Likewise.
857         * scripts/test_printers_exceptions.py: Likewise.
859 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
861         * scripts/build-many-glibcs.py (Context.__init__): Take strip
862         argument.
863         (Glibc.build_glibc): Strip installed shared libraries if
864         requested.
865         (get_parser): Add --strip option.
866         (main): Update Context call.
868 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
869             Dominik Vogt  <vogt@linux.vnet.ibm.com>
871         [BZ #20847]
872         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
873         array bounds for else branch.
874         (__execvpe): Style fixes.
875         * posix/tst-vfork3.c (run_script): New function.
876         (create_script): Likewise.
877         (do_test): Use run_script internal function.
878         (do_prepare): Use create_script internal function.
880 2016-12-07  Andreas Schwab  <schwab@suse.de>
882         * sysdeps/unix/sysv/linux/x86/elision-conf.h
883         (__elision_available): Don't declare.
884         * sysdeps/unix/sysv/linux/x86/elision-conf.c
885         (__elision_available): Don't define.
886         (elision_init): Don't set __elision_available.
888 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
890         [BZ #20940]
891         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
892         return Inf for arguments Inf and sNaN.
893         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
894         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
895         Likewise.
896         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
897         Likewise.
898         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
899         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
900         for arguments Inf and sNaN.  When returning a NaN, compute it by
901         arithmetic on the arguments.
902         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
903         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
904         arguments.
906 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
908         [BZ #20916]
909         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
910         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
911         to compute result.
912         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
913         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
915 2016-12-05  Torvald Riegel  <triegel@redhat.com>
917         * include/atomic.h (__atomic_check_size_ls): New.
918         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
919         atomic_store_release): Use it.
920         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
921         (elision_adapt, ELIDE_LOCK): Use atomics.
922         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
923         atomics and improve code comments.
924         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
925         (__lll_trylock_elision): Likewise.
927 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
929         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
930         programs.
932 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
934         [BZ #20916]
935         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
936         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
937         arguments to compute result.
938         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
939         1 for arguments (sNaN, 0) or (1, sNaN).
940         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
941         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
943         [BZ #20919]
944         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
945         NaN first argument when raised to power 0.
946         * math/w_pow.c (__pow): Do not check for NaN or zero results from
947         raising to power zero.
948         * math/w_powf.c (__powf): Likewise.
949         * math/w_powl.c (__powl): Likewise.
950         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
951         pow (0, 0) or pow (NaN, 0).
953 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
955         [BZ #20918]
956         * configure.ac: Test for static NSS cryptographic libraries and set
957         libc_cv_static_nss_crypt.
958         * configure: Regenerate.
959         * config.make.in (static-nss-crypt): Define.
960         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
961         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
962         (CFLAGS-tst-linkall-static.c): Define.
963         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
964         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
965         ($(objpfx)tst-linkall-static): Define.
966         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
967         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
969 2016-12-02  Florian Weimer  <fweimer@redhat.com>
971         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
972         (one-hundred, tst-tls-many-dynamic-modules): Define.
973         (modules-names): Add $(tst-tls-many-dynamic-modules).
974         (tst-tls-manydynamic%mod.os): Build with special preprocessor
975         macros.
976         (tst-tls-manydynamic): Link against libdl, libpthread.
977         (tst-tls-manydynamic.out): The test needs the test modules at run
978         time.
979         * elf/tst-tls-manydynamic.c: New file.
980         * elf/tst-tls-manydynamic.h: Likewise.
981         * elf/tst-tls-manydynamicmod.c: Likewise.
983 2016-12-02  Florian Weimer  <fweimer@redhat.com>
985         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
986         (TLS_DTV_UNALLOCATED): Add.
987         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
988         offsets.
990 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
992         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
994 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
996         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
997         Add -fno-optimize-sibling-calls.
999 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
1001         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
1002         New declaration.
1003         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
1004         macro.
1005         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
1006         New macro.
1007         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
1008         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
1009         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
1010         (llogbf): Likewise.
1011         (llogbl): Likewise.
1012         * math/Makefile (gen-libm-calls): Add w_llogbF.
1013         (tests): Add test-fp-llogb-constants.
1014         * math/w_llogb_template.c: New file.  Based on
1015         math/w_ilogb_template.c.
1016         * math/libm-test.inc (llogb_test_data): New array.
1017         (llogb_test): New function.
1018         (main): Call llogb_test.
1019         * math/test-fp-llogb-constants.c: New file.  Based on
1020         math/test-fp-ilogb-constants.c.
1021         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
1022         (do_test): Call check_return_llogb.
1023         * math/test-tgmath.c (NCALLS): Increase to 126.
1024         (F(compile_test)): Call llogb.
1025         (F(llogb)): New function.
1026         * manual/math.texi (Exponents and Logarithms): Document llogb,
1027         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
1028         * manual/libm-err-tab.pl (@all_functions): Add llogb.
1029         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
1030         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
1031         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
1032         (CFLAGS-nldbl-llogb.c): New variable.
1033         * sysdeps/nacl/libm.abilist: Update.
1034         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1035         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1036         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1037         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1038         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1039         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1040         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1041         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1042         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1043         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1044         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1045         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1047         Likewise.
1048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1049         Likewise.
1050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1051         Likewise.
1052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1053         Likewise.
1054         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1055         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1056         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1057         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1058         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1060         Likewise.
1061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1062         Likewise.
1063         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1064         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1065         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1067 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
1069         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
1070         _Float128 instead of long double.
1071         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
1073         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
1074         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
1075         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
1076         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
1077         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
1078         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
1079         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
1080         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
1081         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
1082         Likewise.
1084 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1086         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
1087         Remove redirection to __strrchr_ppc.
1089 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1091         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1092         (sysdep_routines): Add strcmp_power9.
1093         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1094         (strcmp): Add __strcmp_power9 to list of strcmp functions.
1095         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
1096         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
1097         (strcmp): Add __strcmp_power9 to ifunc list.
1098         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
1100 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
1102         * bits/fp-logb.h: New file.
1103         * sysdeps/ia64/bits/fp-logb.h: Likewise.
1104         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
1105         * sysdeps/x86/bits/fp-logb.h: Likewise.
1106         * math/Makefile (headers): Add bits/fp-logb.h.
1107         * math/math.h: Include <bits/fp-logb.h>.
1108         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
1109         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
1110         * bits/mathdef.h (FP_ILOGB0): Remove.
1111         (FP_ILOGBNAN): Likewise.
1112         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
1113         (FP_ILOGBNAN): Likewise.
1114         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
1115         (FP_ILOGBNAN): Likewise.
1116         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
1117         (FP_ILOGBNAN): Likewise.
1118         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
1119         (FP_ILOGBNAN): Likewise.
1120         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
1121         (FP_ILOGBNAN): Likewise.
1122         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
1123         (FP_ILOGBNAN): Likewise.
1124         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
1125         (FP_ILOGBNAN): Likewise.
1126         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
1127         (FP_ILOGBNAN): Likewise.
1128         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
1129         (FP_ILOGBNAN): Likewise.
1131         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
1132         time module.
1133         (Context.__init__): Initialize self.logsdir_old.
1134         (Context.run_builds): Handle bot action.
1135         (Context.bot_cycle): Copy logs directory before running builds.
1136         (Context.bot_run_self): Take argument for whether to check
1137         subprocess result.  Flush stdout before running subprocess.
1138         (Context.bot): New function.
1139         (get_parser): Allow bot action.
1141 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
1143         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
1144         Import email.mime.text, email.utils and smtplib modules.
1145         (Context.__init__): Initialize self.bot_config_json.
1146         (Context.run_builds): Handle bot-cycle action.
1147         (Context.load_bot_config_json): New function.
1148         (Context.part_build_old): Likewise.
1149         (Context.bot_cycle): Likewise.
1150         (Context.bot_build_mail): Likewise.
1151         (Context.bot_run_self): Likewise.
1152         (get_parser): Allow bot-cycle action.
1154 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1156         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
1157         Remove redirection to __stpcpy_ppc.
1159 2016-11-30  Florian Weimer  <fweimer@redhat.com>
1161         Remove __libc_memalign from ld.so because it is unused.
1162         * elf/dl-minimal.c: Update comment on the malloc implementation.
1163         (malloc): Renamed from __libc_memalign, replacing the original
1164         malloc implementation.  Replace the align parameter with
1165         MALLOC_ALIGNMENT.
1166         * elf/Versions (ld): Update comment and remove __libc_memalign.
1167         * sysdeps/nacl/ld.abilist: Likewise.
1168         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
1169         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
1170         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
1171         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
1172         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
1173         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
1174         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
1175         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
1176         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
1177         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
1178         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
1179         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
1180         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
1181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
1182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
1183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
1184         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
1185         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
1186         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
1187         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
1188         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
1189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
1190         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
1191         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
1192         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
1193         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
1194         * sysdeps/generic/localplt.data (ld.so): Likewise.
1195         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
1196         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
1197         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
1198         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
1199         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
1200         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
1201         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
1202         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
1203         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
1204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
1205         (ld.so): Likewise.
1206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
1207         (ld.so): Likewise.
1208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
1209         Likewise.
1210         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
1211         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
1212         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
1213         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
1214         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
1216 2016-11-30  Florian Weimer  <fweimer@redhat.com>
1218         [BZ #16628]
1219         Implement _dl_catch_error, _dl_signal_error in libc.so.
1220         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
1221         (catch_hook): Define as thread-local or regular variable,
1222         depending on DL_ERROR_BOOTSTRAP.
1223         (CATCH_HOOK): Remove.
1224         (dl_signal_error, _dl_catch_error): Use
1225         catch_hook.  Add hidden definition for libc.
1226         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
1227         for DL_ERROR_BOOTSTRAP only.
1228         * elf/dl-error.c: New file.
1229         * elf/dl-error-minimal.c: Likewise.
1230         * elf/tst-latepthread.c: Likewise.
1231         * elf/tst-latepthreadmod.c: Likewise.
1232         * elf/Makefile (routines): Add dl-error.
1233         (dl-routines): Remove dl-error.
1234         (rtld-routines): Add dl-error-minimal.
1235         [build-shared] (tests): Add tst-latepthread.
1236         (module-names): Add tst-latepthreadmod.
1237         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
1238         symbol.
1239         (tst-latepthreadmod.so): Link against libpthread.
1240         (tst-latepthread): Link against libdbl.
1241         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
1242         _dl_catch_error.
1243         [ld] (GLIBC_PRIVATE): Likewise.
1244         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
1245         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
1246         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
1247         directly.
1248         * elf/dl-tsd.c: Remove file.
1249         * elf/rtld.c (_rtld_global_ro): Remove initializers for
1250         _dl_catch_error, _dl_signal_error.
1251         (_dl_initial_error_catch_tsd): Remove definition.
1252         (do_preload): Remove initialization of dl_error_catch_tsd.
1253         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
1254         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
1255         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
1256         * dlfcn/dlopen.c (dlopen_doit): Likewise.
1257         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
1258         set dl_error_catch_tsd.
1259         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
1260         _dl_error_catch_tsd member.
1261         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
1262         members.
1263         (_dl_initial_error_catch_tsd): Remove declaration.
1264         (_dl_dprintf): Provide definition for use outside of ld.so.
1265         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
1266         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
1267         prototype for libc.
1268         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
1269         _dl_catch_error.
1270         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
1271         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
1272         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
1273         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
1274         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
1275         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
1276         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
1277         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
1278         Likewise.
1279         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
1280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
1281         (ld.so): Likewise.
1282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
1283         (ld.so): Likewise.
1284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
1285         Likewise.
1286         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
1287         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
1288         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
1289         Likewise.
1290         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
1291         Likewise.
1292         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
1294 2016-11-30  Florian Weimer  <fweimer@redhat.com>
1296         [BZ #4099]
1297         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
1298         _IO_BUFSIZ (8192).
1300 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
1302         * PROJECTS: Remove file.
1304 2016-11-29  Florian Weimer  <fweimer@redhat.com>
1306         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
1308 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
1309             Steve Ellcey  <sellcey@caviumnetworks.com>
1311         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
1312         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
1313         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
1314         fxstatat.
1315         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
1316         lxstat.
1317         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
1318         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
1319         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
1320         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
1321         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
1322         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
1323         __xstat.
1325 2016-11-29  Florian Weimer  <fweimer@redhat.com>
1327         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
1328         Define.
1329         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
1330         definition.
1332 2016-11-29  Florian Weimer  <fweimer@redhat.com>
1334         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
1335         version and turn into strong alias.  Remove compat symbol.
1337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1338         (__longjmp): Remove.
1340 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
1342         * bits/fp-fast.h: New file.
1343         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
1344         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
1345         * math/Makefile (headers): Add bits/fp-fast.h.
1346         * math/math.h: Include <bits/fp-fast.h>.
1347         * bits/mathdef.h (FP_FAST_FMA): Remove.
1348         (FP_FAST_FMAF): Likewise.
1349         (FP_FAST_FMAL): Likewise.
1350         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
1351         (FP_FAST_FMAF): Likewise.
1352         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
1353         (FP_FAST_FMAF): Likewise.
1354         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
1355         (FP_FAST_FMAF): Likewise.
1356         (FP_FAST_FMAL): Likewise.
1357         * sysdeps/arm/bits/mathdef.h: Remove file.
1358         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
1359         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1360         * sysdeps/tile/bits/mathdef.h: Likewise.
1362 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
1364         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
1365         * math/w_ilogb.c: Remove.
1366         * math/w_ilogbf.c: Likewise.
1367         * math/w_ilogbl.c: Likewise.
1368         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
1369         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
1370         * math/Makefile (gen-libm-calls): Add w_ilogbF.
1371         (libm-calls): Remove w_ilogbF.
1372         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
1373         (LDOUBLE_ilogbl_libm_version): New macro.
1375         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
1377         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
1378         [!__STRICT_ANSI__ && !__cplusplus].
1380 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
1382         [BZ #20750]
1383         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
1384         of PIC.
1386 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
1387             Yury Norov  <ynorov@caviumnetworks.com>
1388             Steve Ellcey  <sellcey@caviumnetworks.com>
1390         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
1391         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
1392         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
1393         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
1394         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
1395         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
1396         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
1397         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
1398         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
1399         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
1400         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
1401         to get correct reg name for ILP32.
1402         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
1403         (RELA_SIZE): New Macro.
1404         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
1405         to support ILP32.
1406         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
1407         cast for ILP32 mode.
1408         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
1409         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
1410         * sysdeps/aarch64/memset.S (__memset): Ditto.
1411         * sysdeps/aarch64/strchr.S (strchr): Ditto.
1412         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
1413         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
1414         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
1415         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
1416         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
1417         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
1418         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
1419         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
1420         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
1421         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
1422         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
1423         change PTR_MANGLE call to use register numbers instead of names.
1424         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
1425         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
1426         ILP32 mode, change PTR_MANGLE calls to use register numbers.
1427         * sysdeps/aarch64/start.S (_start): Ditto.
1428         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
1429         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
1430         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
1431         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
1432         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
1433         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
1434         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
1435         Make defined values dependent on __ILP32__.
1436         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
1437         (sem_t): Change __align type.
1438         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
1439         PTR_SIZE): New Macros.
1440         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
1441         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
1442         Set when in ILP32 mode.
1443         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
1444         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
1445         Set elf flags for ILP32.
1446         (add_system_dir): Set ILP32 library directories.
1447         * sysdeps/unix/sysv/linux/aarch64/init-first.c
1448         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
1449         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
1450         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
1451         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
1452         New Macros.
1453         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
1455 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
1457         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
1458         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
1459         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
1461 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
1463         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
1464         <asm/cachectl.h>.
1466 2016-11-27  Zack Weinberg  <zackw@panix.com>
1468         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
1469         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
1471 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1473         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
1474         error_t to fix usage in C++ programs.
1476 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
1478         * scripts/build-many-glibcs.py: Import datetime module.
1479         (Context.__init__): Load JSON build state.  Initialize list of
1480         status logs.
1481         (Context.run_builds): Update saved build state.
1482         (Context.add_makefile_cmdlist): Update list of status logs.
1483         (Context.load_build_state_json): New function.
1484         (Context.store_build_state_json): Likewise.
1485         (Context.clear_last_build_state): Likewise.
1486         (Context.update_build_state): Likewise.
1487         (CommandList.status_logs): Likewise.
1489 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
1491         * scripts/build-many-glibcs.py (Context.__init__): Save text of
1492         script being executed.
1493         (Context.get_script_text): New function.
1494         (Context.exec_self): Likewise.
1495         (Context.checkout): Re-exec script if changed by checkout process.
1497 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
1499         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1500         (setpayloadsig): New declaration.
1501         * math/Versions (setpayloadsig): New libm symbol at version
1502         GLIBC_2.25.
1503         (setpayloadsigf): Likewise.
1504         (setpayloadsigl): Likewise.
1505         * math/Makefile (libm-calls): Add s_setpayloadsigF.
1506         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
1507         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
1508         (setpayloadsig_test_data): New array.
1509         (setpayloadsig_test): New function.
1510         (main): Call setpayloadsig_test.
1511         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
1512         setpayloadsigf and setpayloadsigl.
1513         * manual/libm-err-tab.pl: Update comment on interfaces without
1514         ulps tabulated.
1515         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
1516         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
1517         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
1518         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
1519         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
1520         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
1521         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1522         setpayloadsig.
1523         (CFLAGS-nldbl-setpayloadsig.c): New variable.
1524         * sysdeps/nacl/libm.abilist: Update.
1525         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1526         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1527         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1528         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1529         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1530         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1531         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1532         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1533         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1534         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1535         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1536         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1538         Likewise.
1539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1540         Likewise.
1541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1542         Likewise.
1543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1544         Likewise.
1545         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1546         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1547         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1548         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1549         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1551         Likewise.
1552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1553         Likewise.
1554         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1555         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1556         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1558         * scripts/build-many-glibcs.py: Import json module.
1559         (Context.__init__): Take replace_sources argument.  Load
1560         versions.json.
1561         (Context.load_versions_json): New function.
1562         (Context.store_json): Likewise.
1563         (Context.store_versions_json): Likewise.
1564         (Context.set_component_version): Likewise.
1565         (Context.checkout): Update versions.json.  Check for and handle
1566         changes of version.  Prefer previously explicitly specified
1567         version to default version.
1568         (Context.checkout_vcs): Return a revision identifier.
1569         (Context.git_checkout): Likewise.
1570         (Context.gcc_checkout): Likewise.
1571         (get_parser): Add --replace-sources option.
1572         (main): Pass replace_sources argument to Context call.
1574 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1576         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
1577         * nptl/allocatestack.c (allocate_stack): Likewise.
1578         (__reclaim_stacks): Likewise.
1579         (setxid_signal_thread): Obtain pid through syscall.
1580         * nptl/nptl-init.c (sigcancel_handler): Likewise.
1581         (sighandle_setxid): Likewise.
1582         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
1583         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1584         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
1585         Likewise.
1586         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
1587         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
1588         comment.
1589         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
1590         * nptl/descr.h (struct pthread): Change comment about pid value.
1591         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
1592         pid assert.
1593         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
1594         Do not set pid value.
1595         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
1596         pid cache check.
1597         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
1598         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
1599         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
1600         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
1601         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
1602         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1603         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
1604         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
1605         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
1606         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
1607         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
1608         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1609         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
1610         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1611         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
1612         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
1613         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1614         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
1615         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
1616         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
1617         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
1618         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1619         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
1620         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
1621         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
1622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1624         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1625         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1626         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1627         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
1628         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1629         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
1630         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1631         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
1632         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1633         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
1634         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1635         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
1636         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
1637         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1638         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
1639         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
1640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1642         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1643         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1644         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1645         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1646         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1647         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
1648         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1649         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
1650         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
1651         struct access.
1652         (clone_test): Remove function.
1653         (do_test): Rewrite to take in consideration pid is not cached anymore.
1655 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
1657         * bits/flt-eval-method.h: New file.
1658         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
1659         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
1660         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
1661         * math/Makefile (headers): Add bits/flt-eval-method.h.
1662         * math/math.h: Include <bits/flt-eval-method.h>.
1663         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
1664         [__USE_ISOC99] (double_t): Likewise.
1665         * bits/mathdef.h (float_t): Remove.
1666         (double_t): Likewise.
1667         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
1668         (double_t): Likewise.
1669         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
1670         (double_t): Likewise.
1671         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
1672         (double_t): Likewise.
1673         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
1674         (double_t): Likewise.
1675         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
1676         (double_t): Likewise.
1677         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
1678         (double_t): Likewise.
1679         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
1680         (double_t): Likewise.
1681         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
1682         (double_t): Likewise.
1683         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
1684         (double_t): Likewise.
1685         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
1686         (double_t): Likewise.
1687         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
1688         (double_t): Likewise.
1689         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
1690         (double_t): Likewise.
1691         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
1692         (double_t): Likewise.
1694 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
1696         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
1697         instead of PIC.
1699 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
1701         [BZ #20859]
1702         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
1703         (-0x7fffffff) instead of 0x80000001.
1704         * math/test-fp-ilogb-constants.c: New file.
1705         * math/Makefile (tests): Add test-fp-ilogb-constants.
1707 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
1709         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
1710         (_init): Use it in place of hardcoded R_MIPS_JALR.
1711         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
1712         (_init): Use it in place of hardcoded R_MIPS_JALR.
1713         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
1714         (_init): Use it in place of hardcoded R_MIPS_JALR.
1716 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
1718         [BZ #20787]
1719         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
1720         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
1721         (double_t): Do not define to double if [__x86_64__] when
1722         __FLT_EVAL_METHOD__ is nonzero.
1723         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
1724         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
1725         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1726         test-flt-eval-method-387 and test-flt-eval-method-sse.
1727         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
1728         variable.
1729         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
1731 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
1733         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
1734         use of -fno-isolate-erroneous-paths options for tilepro.
1736 2016-11-23  Florian Weimer  <fweimer@redhat.com>
1738         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
1739         structure initialization is no longer needed.
1741 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
1743         [BZ #20855]
1744         * bits/mathdef.h (float_t): Define to float.
1745         * math/test-flt-eval-method.c: New file.
1746         * math/Makefile (tests): Add test-flt-eval-method.
1747         (CFLAGS-test-flt-eval-method.c): New variable.
1749 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
1751         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
1752         and __fstatfs.  Make them aliases of __fstatfs64 if
1753         STATFS_IS_STATFS64 is set to non-zero.
1754         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
1755         and __statfs64.
1756         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
1757         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
1758         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
1759         for __statfs and statfs.
1760         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
1761         to 0.
1762         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
1763         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
1764         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
1765         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
1766         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
1767         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
1768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
1769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
1770         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
1771         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
1772         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
1773         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
1775 2016-11-22  Andreas Schwab  <schwab@suse.de>
1777         * misc/mkstemp.c: Include <fcntl.h>.
1778         * misc/mkstemps.c: Likewise.
1779         * misc/mkostemp.c: Likewise.
1780         * misc/mkostemps.c: Likewise.
1782 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
1784         [BZ #20847]
1785         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
1786         array bounds.
1787         (__execvpe): Likewise.
1789 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
1791         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
1792         -fno-isolate-erroneous-paths options for tilepro.
1794 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
1796         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
1797         to 0 when in 32 bit mode.
1798         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
1799         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
1800         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
1801         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
1802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
1803         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
1804         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
1805         XSTAT_IS_XSTAT64 test.
1806         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
1807         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
1808         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
1809         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
1810         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
1811         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
1812         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
1813         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
1814         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
1815         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
1816         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
1818 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
1820         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1821         (setpayload): New declaration.
1822         * math/Versions (setpayload): New libm symbol at version
1823         GLIBC_2.25.
1824         (setpayloadf): Likewise.
1825         (setpayloadl): Likewise.
1826         * math/Makefile (libm-calls): Add s_setpayloadF.
1827         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
1828         test_Ff_b1_data.
1829         (RUN_TEST_Ff_b1): New macro.
1830         (RUN_TEST_LOOP_Ff_b1): Likewise.
1831         (canonicalize_test_data): Update type.
1832         (setpayload_test_data): New array.
1833         (setpayload_test): New function.
1834         (main): Call setpayload_test.
1835         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
1836         setpayloadf and setpayloadl.
1837         * manual/libm-err-tab.pl: Update comment on interfaces without
1838         ulps tabulated.
1839         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
1840         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
1841         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
1842         Likewise.
1843         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
1844         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
1845         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
1846         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
1847         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
1848         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
1849         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
1850         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
1851         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
1852         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1853         setpayload.
1854         (CFLAGS-nldbl-setpayload.c): New variable.
1855         * sysdeps/nacl/libm.abilist: Update.
1856         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1857         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1858         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1859         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1860         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1861         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1862         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1863         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1864         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1865         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1866         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1867         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1869         Likewise.
1870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1871         Likewise.
1872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1873         Likewise.
1874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1875         Likewise.
1876         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1877         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1878         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1879         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1880         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1882         Likewise.
1883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1884         Likewise.
1885         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1886         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1887         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1889 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1891         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
1892         * include/unistd.h: Extend comment about __access_noerrno return
1893         semantics.
1894         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
1895         (access_common): Correct typo for EACCES.
1897 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
1899         * sysdeps/tile/math-tests.h: New file.
1901         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
1902         (__old_set_dataplane): Rename from set_dataplane and make a
1903         compatibility symbol.
1904         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
1905         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
1906         sys/dataplane.h.
1908 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
1910         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
1911         script quote words in command output to log suitably for input to
1912         the shell.
1914 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
1915             Maciej W. Rozycki  <macro@imgtec.com>
1917         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
1918         `.Lno_weak_fn' label.
1919         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
1920         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
1922 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1923             Yury Norov  <ynorov@caviumnetworks.com>
1925         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
1926         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
1927         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1928         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
1929         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1930         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
1931         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1932         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1933         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1934         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
1935         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1936         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
1937         (sysdep_routines): Remove oldgetrlimit64.
1938         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
1939         (sysdep_routines): Likewise.
1940         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
1941         (sysdep_routines): Likewise.
1942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1943         [$(subdir) = resource] (sysdep_routines): Likewise.
1944         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1945         [$(subdir) = resource] (sysdep_routines): Likewise.
1946         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
1947         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
1948         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
1949         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
1950         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
1951         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
1952         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
1953         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
1954         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
1955         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
1956         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
1957         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
1958         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
1959         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
1960         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
1961         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
1962         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
1963         setrlimit and getrlimit.
1964         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1965         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1966         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
1967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
1968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
1969         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
1970         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1971         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1972         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1973         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
1974         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
1975         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
1976         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
1977         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
1978         (__old_getrlimit64): Add compatibility symbol.
1979         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
1981 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
1983         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
1984         newly built gmp, mpfr and mpc.
1986         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
1988 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
1990         * conform/Makefile (linknamespace-libs): Rename to
1991         linknamespace-libs-thr.
1992         (linknamespace-libs-posix): New variable.
1993         (linknamespace-libs-xsi): Likewise.
1994         (linknamespace-libs-XPG3): Include libcrypt.a.
1995         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
1996         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
1997         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
1998         (linknamespace-libs-XOPEN2K): Likewise.
1999         (linknamespace-libs-XOPEN2K8): Likewise.
2000         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
2002         [BZ #20829]
2003         * stdio-common/Versions (__snprintf): Add to version
2004         GLIBC_PRIVATE.
2005         * include/stdio.h (__snprintf): Use libc_hidden_proto.
2006         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
2007         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
2008         of snprintf.
2009         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2011 2016-11-16  Zack Weinberg  <zackw@panix.com>
2013         * string/string.h: Remove obsolete comment stating that
2014         strcoll_l and strxfrm_l have not yet been standardized.
2016 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2018         * hurd/hurd.h (__hurd_fail_noerrno): New function.
2019         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
2020         __access_noerrno.
2021         * io/access.c (__access_noerrno): New function.
2022         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
2023         (hurd_fail_seterrno): Likewise.
2024         (access_common): Likewise.
2025         (__access_noerrno): Likewise.
2026         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
2027         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
2028         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
2029         macro.
2031 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
2033         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
2034         Only declare fpregs if [__SH_FPU_ANY__].
2036 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
2038         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
2039         Make code unconditional.
2040         [!(__SH4__ || __SH4A__)]: Remove conditional code.
2042 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
2044         * manual/sysinfo.texi (S_APPEND): Delete.
2045         (S_IMMUTABLE): Likewise.
2047 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
2048             Magnus Granberg  <zorry@gentoo.org>
2049             Mike Frysinger  <vapier@gentoo.org>
2051         [BZ #20662]
2052         * configure.ac (libc_cv_predef_stack_protector): Also check for
2053         __stack_chk_fail_local symbols.
2054         * configure: Regenerated.
2056 2016-11-15  Florian Weimer  <fweimer@redhat.com>
2058         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
2059         (libc_hidden_def): Remove redefinition.
2060         (__sigsetjmp): Add hidden definition.
2061         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
2062         (libc_hidden_def): Remove redefinition.
2063         (__sigsetjmp): Add hidden definition.
2065 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
2067         * scripts/build-many-glibcs.py (os.path): Do not import.
2068         (Context): Inherit explicitly from object.  Remove blank line
2069         between class and docstring.
2070         (Config): Likewise.
2071         (Glibc): Likewise.
2072         (Command): Likewise.
2073         (CommandList): Likewise.
2074         (Context.write_files): Store chmod mode in a variable.
2076         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
2077         LIBC_SLIBDIR_RTLDDIR for tilegx32.
2078         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
2080 2016-11-14  Zack Weinberg  <zackw@panix.com>
2082         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
2083         creating or re-creating it.
2085         * string/bits/string2.h: Fix typo in comment.
2087 2016-11-14  Zack Weinberg  <zackw@panix.com>
2089         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
2090         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
2091         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
2092         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
2093         of redirected function names.
2095         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
2096         as well.  Document that MESSAGE must be a single string literal.
2098 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
2100         * scripts/build-many-glibcs.py: New file.
2102         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
2103         (do_test): Disable -Wmaybe-uninitialized around uses of
2104         except_mask.
2106         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
2108 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
2110         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
2111         (atomic_store_release): Provide tilepro-specific implementations.
2113 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
2115         * math/math.h (__MATH_TG): New macro.
2116         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
2117         [__USE_ISOC99] (signbit): Likewise.
2118         [__USE_ISOC99] (isfinite): Likewise.
2119         [__USE_ISOC99] (isnan): Likewise.
2120         [__USE_ISOC99] (isinf): Likewise.
2121         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
2122         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
2123         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
2124         __MATH_TG and __MATH_EVAL_FMT2.
2125         * sysdeps/generic/math_private.h (fabs_tg): Define using
2126         __MATH_TG.
2127         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
2128         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
2129         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
2130         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
2131         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
2132         macro.
2133         (__iscanonical): Likewise.
2134         (iscanonical): Define using __MATH_TG.
2136 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2138         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
2139         guards.
2141         * sysdeps/unix/sysv/linux/access.c: New file.
2142         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
2144 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
2146         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
2147         and __WORDSIZE32_PTRDIFF_LONG.
2149 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2151         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2153 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2155         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
2156         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
2157         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
2158         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
2159         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
2160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
2161         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
2162         * sysdeps/unix/sysv/linux/truncate.c: New file.
2163         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
2164         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
2165         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
2166         Remove.
2167         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
2168         Likewise.
2170         * posix/tst-truncate-common.c: New file.
2171         * posix/tst-truncate.c: Use tst-truncate-common.c.
2172         * posix/tst-truncate64.c: Likewise and add LFS tests.
2173         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
2174         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
2175         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
2176         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
2177         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
2178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
2179         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
2180         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
2181         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
2182         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
2183         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
2184         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
2185         Remove.
2186         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
2187         Likewise.
2189 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
2191         [BZ #20790]
2192         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
2193         to MAXLINESIZE.
2194         * sunrpc/bug20790.x: New file.
2195         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
2196         variable.
2197         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
2198         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
2200         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
2202         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
2204         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
2205         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
2206         calloc, realloc, free, memalign and __libc_memalign rather than
2207         making them optional.
2209         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
2210         for libc.so.
2212 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2214         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
2215         ptw-lseek64.
2216         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
2217         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
2218         Likewise.
2219         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
2220         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
2221         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
2222         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
2223         * sysdeps/unix/sysv/linux/lseek.c: New file.
2224         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
2225         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
2226         __libc_lseek64 from auto-generation.
2227         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
2228         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
2230 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2232         * nptl/tst-basic1.c (tf, do_test): Use write_message.
2233         * nptl/tst-cleanup1.c (do_test): Likewise.
2234         * nptl/tst-cleanup3.c (do_test): Likewise.
2235         * nptl/tst-key1.c (do_test): Likewise.
2236         * nptl/tst-key2.c (tf, do_test): Likewise.
2237         * nptl/tst-key3.c (tf, do_test): Likewise.
2238         * nptl/tst-stdio1.c (do_test): Likewise.
2239         * nptl/tst-stdio2.c (do_test): Likewise.
2241         * nptl/tst-kill3.c (handler): Use write_message in place of write.
2242         * nptl/tst-kill6.c (handler): Likewise.
2243         * nptl/tst-tls2.c (CB): Likewise.
2244         * nptl/tst-tls3.c (CB): Likewise.
2246 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
2248         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
2250 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
2251             Steve Ellcey  <sellcey@caviumnetworks.com>
2253         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
2254           __ASSUME_ST_INO_64_BIT as 0
2255         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
2256         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
2257           over the code where __ASSUME_ST_INO_64_BIT is used.
2258         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
2259         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2260         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2262 2016-11-07  Florian Weimer  <fweimer@redhat.com>
2264         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2265         Document ABI exposure of the __kind offset.
2266         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2267         Mention reason for the __kind offset exposure in the ABI.
2268         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2269         Likewise.
2270         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2271         Likewise.
2272         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2273         Likewise.
2274         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
2275         (struct __pthread_mutex_s): Likewise.
2276         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2277         Likewise.
2278         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2279         Likewise.
2280         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2281         Likewise.
2282         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2283         Likewise.
2284         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2285         Likewise.
2286         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2287         Likewise.
2288         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
2289         (struct __pthread_mutex_s): Likewise.
2290         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2291         (struct __pthread_mutex_s): Likewise.
2292         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
2293         Likewise.
2295 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
2297         * test-skeleton.c: Document do_test usage.
2299 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
2301         * iconv/gconv.h (__gconv_info): Define __data element using a
2302         zero-length array.
2304 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
2306         * math/test-tgmath2.c: Split up test function.
2308 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
2310         * Rules (tests-expected): New variable, depending on
2311         $(run-built-tests).
2312         (tests): Pass $(tests-expected) to merge-test-results.sh, not
2313         $(tests).
2315         * Rules [$(run-built-tests) = no] (tests): Do not depend on
2316         $(tests-unsupported).
2318 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2320         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
2321         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
2323 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
2325         [BZ #20768]
2326         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
2327         __fegetenv instead of fegetenv.
2329         [BZ #14139]
2330         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
2331         (find_files): Obtain platform name from libm-test-ulps-name and
2332         store in %pplatforms.
2333         (canonicalize_platform): Remove.
2334         (print_platforms): Use $pplatforms directly.
2335         (by_platforms): Do not allow for platforms missing from
2336         %pplatforms.
2337         * sysdeps/aarch64/libm-test-ulps-name: New file.
2338         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
2339         * sysdeps/arm/libm-test-ulps-name: Likewise.
2340         * sysdeps/generic/libm-test-ulps-name: Likewise.
2341         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
2342         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
2343         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
2344         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
2345         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
2346         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
2347         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
2348         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
2349         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
2350         * sysdeps/nios2/libm-test-ulps-name: Likewise.
2351         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
2352         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
2353         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
2354         * sysdeps/sh/libm-test-ulps-name: Likewise.
2355         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
2356         * sysdeps/tile/libm-test-ulps-name: Likewise.
2357         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
2359         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
2361         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
2362         (test-xfail-check-execstack): New variable.
2364         * sysdeps/mips/localplt.data: New file.
2366 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
2367             Steve Ellcey  <sellcey@caviumnetworks.com>
2369         * bits/wordsize.h: Add documentation.
2370         * sysdeps/aarch64/bits/wordsize.h : New file
2371         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
2372         definitions.
2373         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
2374         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
2375         with #if instead of #ifdef.
2376         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
2377         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
2378         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
2379         Add or change defines.
2380         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
2381         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2382         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
2383         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
2384         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2385         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2386         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
2387         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
2388         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
2389         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2390         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
2391         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
2392         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
2393         * sysdeps/x86/bits/wordsize.h: Likewise.
2395 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
2396             Kevin Petit  <kevin.petit@arm.com>
2398         * sysdeps/aarch64/memchr.S (__memchr): New file.
2400 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
2402         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
2404 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
2406         [BZ #19398]
2407         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
2408         $(linknamespace-symlists-tests).
2410 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
2412         * time/tst-strptime2.c: Ignore -Wformat-length warning.
2414 2016-11-02  Florian Weimer  <fweimer@redhat.com>
2415             Carlos O'Donell  <carlos@redhat.com>
2417         [Bug #20729]
2418         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
2419         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
2420         for -Os related change.
2422 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
2424         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
2426 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
2428         [BZ #19673]
2429         * manual/math.texi (Exponents and Logarithms): Correct description
2430         of clog10.
2432 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
2434         [Bz #20729]
2435         * locale/weight.h: Include libc-internal.h.
2436         * locale/weightwc.h: Likewise.
2437         * nptl/nptl_dbP.h: Likewise.
2439 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
2441         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
2442         when it is MACH_PORT_NULL.
2444 2016-10-31  Andreas Schwab  <schwab@suse.de>
2446         [BZ #20707]
2447         * posix/glob.c (glob): Initialize pglob before checking for
2448         GLOB_BRACE.  Don't call glob recursively if pattern contains no
2449         valid brace expression despite GLOB_BRACE.
2450         * posix/globtest.sh: Test it.
2452 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
2454         [BZ #20729]
2455         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
2456         Define.
2457         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
2458         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
2459         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
2460         for seq2.back_us and seq1.back_us only for -Os compiles.
2461         * locale/weightwc.h (findix): Likewise.
2462         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
2463         DB_GET_FIELD_ADDRESS only for -Os compiles.
2464         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
2465         for slen only for -Os compiles.
2466         * string/strcoll_l.c (get_next_seq): Ignore
2467         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
2468         for -Os compiles.
2470         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
2471         * include/crypt.h: New file.
2473 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2475         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
2476         from test-skeleton.c.
2477         (statclass): Replace calls to write with calls to write_message.
2479 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
2481         * math/math.h
2482         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
2483         New macro.
2484         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
2485         Likewise.
2486         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
2487         Likewise.
2488         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
2489         SNANL.
2490         * math/test-double.h (snan_value_MACRO): New macro.
2491         * math/test-float.h (snan_value_MACRO): Likewise.
2492         * math/test-ldouble.h (snan_value_MACRO): Likewise.
2493         * math/libm-test.inc (issignaling_test_data): Add tests of
2494         snan_value_MACRO.
2496 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2498         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
2499         behavior when eliding a lock not held by the current thread.
2500         * sysdeps/powerpc/nptl/elide.h: Likewise.
2502 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2504         [BZ #20728]
2505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
2506         branch to _exit() by a function call.
2508 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2510         * malloc/malloc.c: Update chunk layout comments.
2511         (chunk_main_arena): Update comment.
2513 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2515         * crypt/sha256.c, crypt/sha256-block.c,
2516         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
2517         sha256_process_block to __sha256_process_block.
2518         * crypt/sha512.c, crypt/sha512-block.c,
2519         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
2520         sha512_process_block to __sha512_process_block.
2522 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
2524         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
2526         * math/test-nan-overflow.c: Include stdlib.h for malloc.
2528 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
2530         [BZ #20019]
2531         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
2532         definition in unrelocated shared library.
2533         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2535 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2537         [BZ #20729]
2538         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
2539         * sysdeps/unix/sysv/linux/i386/Makefile
2540         (uses-6-syscall-arguments): Define.
2541         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
2542         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
2543         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
2544         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
2545         Likewise.
2546         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
2547         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
2548         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
2549         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
2550         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
2551         (CFLAGS-fallocate64.os): Likewise.
2552         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
2553         (CFLAGS-pthread_rwlock_timedrdlock.os)
2554         (CFLAGS-pthread_rwlock_timedwrlock.o)
2555         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
2556         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
2557         (CFLAGS-sem_timedwait.os): Likewise.
2559 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2561         * elf/tst-linkall-static.c: New file.
2562         * elf/Makefile (tests-static): Add tst-linkall-static.
2563         (tst-linkall-static): Link against static libraries.
2565 2016-10-27  Florian Weimer  <fweimer@redhat.com>
2567         * malloc/malloc.c (sysmalloc): Initialize previous size field of
2568         mmaped chunks.
2570 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2572         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
2573         members to mchunk_prev_size, mchunk_size.
2574         (chunk_main_arena): Reverse sense and rename from
2575         chunk_non_main_arena.
2576         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
2577         mchunk_size instead of size.
2578         (set_non_main_arena): Define.
2579         (chunksize): Use chunksize_nomask instead of direct member access.
2580         (chunksize_nomask): Define.
2581         (next_chunk): Use chunksize instead of direct member access.
2582         (prev_size, set_prev_size): Define.
2583         (prev_chunk): Use prev_size instead of direct member access.
2584         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
2585         (inuse_bit_at_offset, set_inuse_bit_at_offset)
2586         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
2587         (mchunk_prev_size, mchunk_size): Poison tokens.
2588         (unlink): Use chunksize_nomask, prev_size accessors.
2589         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
2590         (do_check_free_chunk): Use prev_size accessor.
2591         (sysmalloc): Use set_prev_size, set_head accessors.
2592         (munmap_chunk, mremap_chunk): Use prev_size accessor.
2593         (__libc_free): Use chunksize_nomask accessor.
2594         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
2595         chunk_main_arena accessors.
2596         (_int_free): Use chunksize_nomask, prev_size accessors.
2597         (malloc_consolidate): Use chunksize, prev_size accessors.
2598         (_int_realloc): Use chunksize_nomask accessor.
2599         (_int_memalign): Use set_prev_size accessor.
2600         (__malloc_info): Use chunksize_nomask accessor.
2601         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
2602         accessors.
2603         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
2604         (heap_trim): Use chunksize_nomask, prev_size accessors.
2606 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
2608         [BZ #19380]
2609         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
2610         for inexact results.
2611         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
2612         of inexact result where mpfr_subnormalize is the only inexact
2613         step.
2614         * stdlib/tst-strtod-round-data.h: Regenerated.
2615         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
2616         Define to 0.
2617         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
2619 2016-10-27  David S. Miller  <davem@davemloft.net>
2621         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
2623 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2625         * malloc/malloc.c (do_set_mallopt_check): New function.
2626         (do_set_mmap_threshold): Likewise.
2627         (do_set_mmaps_max): Likewise.
2628         (do_set_top_pad): Likewise.
2629         (do_set_perturb_byte): Likewise.
2630         (do_set_trim_threshold): Likewise.
2631         (do_set_arena_max): Likewise.
2632         (do_set_arena_test): Likewise.
2633         (__libc_mallopt): Use them.
2635 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
2637         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2638         (canonicalize): New declaration.
2639         * math/Versions (canonicalize): New libm symbol at version
2640         GLIBC_2.25.
2641         (canonicalizef): Likewise.
2642         (canonicalizel): Likewise.
2643         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
2644         * math/s_canonicalize_template.c: New file.
2645         * math/libm-test.inc: Update comment on functions tested and
2646         testing of NaN payloads.
2647         (TEST_NAN_PAYLOAD): New macro.
2648         (NO_TEST_INLINE): Update value.
2649         (XFAIL_TEST): Likewise.
2650         (ERRNO_UNCHANGED): Likewise.
2651         (ERRNO_EDOM): Likewise.
2652         (ERRNO_ERANGE): Likewise.
2653         (IGNORE_RESULT): Likewise.
2654         (NON_FINITE): Likewise.
2655         (TEST_SNAN): Likewise.
2656         (NO_TEST_MATHVEC): Likewise.
2657         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
2658         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
2659         (struct test_Ffp_b1_data): New type.
2660         (RUN_TEST_Ffp_b1): New macro.
2661         (RUN_TEST_LOOP_Ffp_b1): Likewise.
2662         (canonicalize_test_data): New array.
2663         (canonicalize_test): New function.
2664         (main): Call canonicalize_test.
2665         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
2666         canonicalizef and canonicalizel.
2667         * manual/libm-err-tab.pl: Update comment on interfaces without
2668         ulps tabulated.
2669         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
2670         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
2671         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2672         canonicalize.
2673         (CFLAGS-nldbl-canonicalize.c): New variable.
2674         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
2675         to ...
2676         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
2677         ... here.
2678         (do_test): Also test canonicalizel.
2679         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
2680         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
2681         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
2682         file.
2683         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
2684         Use libm_hidden_def.
2685         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
2686         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
2687         (do_test): Also test canonicalizel.
2688         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
2689         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
2690         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
2691         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
2692         libm_hidden_def.
2693         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
2694         macro.
2695         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
2696         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
2697         * sysdeps/nacl/libm.abilist: Update.
2698         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2699         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2700         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2701         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2702         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2703         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2704         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2705         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2706         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2707         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2708         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2709         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2711         Likewise.
2712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2713         Likewise.
2714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2715         Likewise.
2716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2717         Likewise.
2718         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2719         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2720         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2721         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2722         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2724         Likewise.
2725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2726         Likewise.
2727         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2728         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2729         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2731         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
2732         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2733         getpayload.
2734         (CFLAGS-nldbl-getpayload.c): New variable.
2736 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2738         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
2739         integer from the format string.
2741 2016-10-26  Florian Weimer  <fweimer@redhat.com>
2743         [BZ #19473]
2744         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
2745         declarations.
2746         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
2747         weak aliases.
2748         * malloc/hooks.c (__malloc_get_state): Remove definition.
2749         (malloc_get_state): New stub implementation as
2750         compatibility symbol.
2751         (malloc_set_state): Rename from __malloc_set_state.  Turn into
2752         compat symbol.
2753         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
2754         malloc_set_state.
2755         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
2757 2016-10-26  Florian Weimer  <fweimer@redhat.com>
2759         * iconvdata/iso646.c (enum variant): Drop illegal_var.
2760         (names): Turn into concatenation of strings.
2761         (gconv_init): Adapt iteration over names.
2763 2016-10-26  Florian Weimer  <fweimer@redhat.com>
2765         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
2766         make const.
2767         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
2768         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
2769         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
2770         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
2771         character in sbconv.
2772         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
2773         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
2774         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
2776 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2778         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
2780         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
2781         (M_TRIM_THRESHOLD): Likewise.
2783         * manual/memory.texi (M_ARENA_TEST): Add documentation.
2784         (M_ARENA_MAX): Likewise.
2785         * malloc/malloc.c: Remove obsolete comment.
2787         * manual/memory.texi: Add environment variable alternatives to
2788         setting mallopt parameters.
2790 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
2792         * include/atomic.h
2793         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
2794         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
2796 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2798         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
2799         * stdlib/tst-strfrom.h: New file.
2800         * stdlib/tst-strfrom.c: New file.
2801         * stdlib/tst-strfrom-locale.c: New file.
2803         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
2804         * stdlib/bug-strtod2.c: Likewise.
2805         * stdlib/tst-strtod-round-skeleton.c: Likewise.
2806         * stdlib/tst-strtod6.c: Likewise.
2807         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
2809 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2811         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
2812         * manual/arith.texi: Document strfromd, strfromf, strfroml.
2813         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
2814         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
2815         * stdlib/stdlib.h (strfromd): New declaration.
2816         (strfromf): Likewise.
2817         (strfroml): Likewise.
2818         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
2819         strfrom.
2820         * stdlib/strfromd.c: New file.
2821         * stdlib/strfromf.c: Likewise.
2822         * stdlib/strfroml.c: Likewise.
2823         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
2824         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
2825         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
2826         * sysdeps/arm/nacl/libc.abilist: Update.
2827         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
2828         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2829         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2830         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2831         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2832         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2833         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2834         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2835         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2836         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2837         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2838         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2839         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2840         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
2842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2845         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2846         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2847         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2848         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2849         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2852         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2853         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2854         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2856 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
2858         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
2859         instead of cmpli.
2860         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
2861         instead of cmpli.
2863 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
2865         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
2866         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
2867         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
2868         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2869         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2870         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2872 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2874         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
2875         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2876         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
2877         SYSCALL_LL64_PRW.
2878         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2879         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
2880         __ASSUME_PRW_DUMMY_ARG.
2881         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
2882         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2883         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2884         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2885         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
2886         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
2888 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
2890         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
2892 2016-10-22  Florian Weimer  <fweimer@redhat.com>
2894         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
2895         "C++", to override a potential extern "C" directive around the
2896         header file inclusion.
2898 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
2900         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
2902 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2904         * sysdeps/powerpc/fpu/fenv_private.h:
2905         (_FPU_MASK_ALL): Rename to...
2906         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
2907         XE FPSCR bits.
2909         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
2911         (_FPU_MASK_ROUNDING): Rename to...
2912         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
2913         NI bits.
2915         (_FPU_MASK_EXCEPT_ROUND): Rename to...
2916         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
2917         bits and rounding bits.
2919         (__libc_feholdbits_ppc): New inline function to mask, set,
2920         and pontentially clear FSPCR bits, and change MSR[FE] bits.
2921         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
2922         (libc_feholdexcept_setround_ppc): Likewise.
2924         (__libc_femergeenv_ppc): New function to dynamically mask both
2925         old and new FP environments and merge.
2926         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
2927         (libc_feresetround_ppc): Likewise.
2928         (libc_feupdateenv_test_ppc): Likewise.
2929         (libc_feupdateenv_ppc): Likewise.
2931         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
2932         of ISA RN bits, and update macro names.
2933         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
2934         effectively the same as the previously mentioned function.
2936         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
2937         usage with fe_resetround_ppc.
2939         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
2940         to be used.
2941         (libc_feholdexcept_setround_ctxf): Likewise.
2942         (libc_feholdexcept_setround_ctxl): Likewise.
2944 2016-10-21  Florian Weimer  <fweimer@redhat.com>
2946         [BZ #20715]
2947         * math/math.h [__cplusplus] (iszero): Define as function template.
2948         * math/Makefile [CXX] (tests): Add test-math-iszero.
2949         (CFLAGS-test-math-iszero.cc): Set.
2950         * math/test-math-iszero.cc: New file.
2952 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
2954         [BZ #20660]
2955         * sysdeps/arm/e_sqrt.c: New file.
2956         * sysdeps/arm/e_sqrtf.c: Likewise.
2958 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
2960         [BZ #20718]
2961         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
2962         not use floating-point comparisons to test sign.
2963         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
2964         Likewise.
2966         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2967         (getpayload): New declaration.
2968         * math/Versions (getpayload): New libm symbol at version
2969         GLIBC_2.25.
2970         (getpayloadf): Likewise.
2971         (getpayloadl): Likewise.
2972         * math/Makefile (libm-calls): Add s_getpayloadF.
2973         * math/libm-test.inc: Include <nan-high-order-bit.h>.
2974         (struct test_f_f_data): Add comment.
2975         (RUN_TEST_fp_f): New macro.
2976         (RUN_TEST_LOOP_fp_f): Likewise.
2977         (getpayload_test_data): New array.
2978         (getpayload_test): New function.
2979         (main): Call getpayload_test.
2980         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
2981         descriptor.
2982         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
2983         getpayloadf and getpayloadl.
2984         * manual/libm-err-tab.pl: Update comment on interfaces without
2985         ulps tabulated.
2986         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
2987         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
2988         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
2989         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
2990         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
2991         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
2992         * sysdeps/nacl/libm.abilist: Update.
2993         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2994         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2995         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2996         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2997         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2998         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2999         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3000         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3001         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3002         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3003         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3004         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3006         Likewise.
3007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3008         Likewise.
3009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3010         Likewise.
3011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3012         Likewise.
3013         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3014         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3015         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3016         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3017         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3019         Likewise.
3020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3021         Likewise.
3022         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3023         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3024         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3026 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3028         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
3029         tst-fallocate{64}.
3030         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
3031         on syscall return.
3033 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
3035         [BZ #20689]
3036         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
3037         usable.
3039 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
3041         * sysdeps/generic/nan-high-order-bit.h: New file.
3042         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
3043         * sysdeps/mips/nan-high-order-bit.h: Likewise.
3044         * sysdeps/hppa/math_private.h: Remove file.
3045         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
3046         not define here.
3047         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
3048         <nan-high-order-bit.h>.
3049         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3050         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
3051         <nan-high-order-bit.h>.
3052         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3053         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
3054         <nan-high-order-bit.h>.
3055         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3056         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
3057         <nan-high-order-bit.h>.
3058         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3059         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
3060         <nan-high-order-bit.h>.
3061         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3062         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
3063         <nan-high-order-bit.h>.
3064         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3065         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
3066         <nan-high-order-bit.h>.
3067         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3068         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
3069         <nan-high-order-bit.h>.
3070         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3071         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
3072         <nan-high-order-bit.h>.
3073         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3074         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
3075         <nan-high-order-bit.h>.
3076         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3077         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
3078         <nan-high-order-bit.h>.
3079         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3080         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
3081         <nan-high-order-bit.h>.
3082         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3083         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
3084         <nan-high-order-bit.h>.
3085         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3086         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
3087         <nan-high-order-bit.h>.
3088         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3089         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
3090         <nan-high-order-bit.h>.
3091         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3092         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
3093         <nan-high-order-bit.h>.
3094         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3095         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
3096         <nan-high-order-bit.h>.
3097         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3098         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
3099         <nan-high-order-bit.h>.
3100         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3102 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3104         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
3106 2016-09-22  John David Anglin  <dave.anglin@bell.net>
3108         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
3109         abort-instr.h.
3110         (EFAULT): Remove conditional define.
3111         (ENOSYS): Likewise.
3112         (atomic_compare_and_exchange_val_acq): Use instruction nullification
3113         instead of conditional branch instructions.
3115 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
3117         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3118         (totalordermag): New declaration.
3119         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
3120         New macro.
3121         * math/Versions (totalordermag): New libm symbol at version
3122         GLIBC_2.25.
3123         (totalordermagf): Likewise.
3124         (totalordermagl): Likewise.
3125         * math/Makefile (libm-calls): Add s_totalordermagF.
3126         * math/libm-test.inc (totalordermag_test_data): New array.
3127         (totalordermag_test): New function.
3128         (main): Call totalordermag_test.
3129         * math/test-tgmath.c (NCALLS): Increase to 125.
3130         (F(compile_test)): Call totalordermag.
3131         (F(totalordermag)): New function.
3132         * manual/arith.texi (FP Comparison Functions): Document
3133         totalordermag, totalordermagf and totalordermagl.
3134         * manual/libm-err-tab.pl: Update comment on interfaces without
3135         ulps tabulated.
3136         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
3137         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
3138         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
3139         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
3140         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
3141         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
3142         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
3143         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3144         totalordermag.
3145         (CFLAGS-nldbl-totalordermag.c): New variable.
3146         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
3147         (do_test): Also test totalordermagl.
3148         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
3149         Likewise.
3150         * sysdeps/nacl/libm.abilist: Update.
3151         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3152         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3153         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3154         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3155         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3156         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3157         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3158         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3159         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3160         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3161         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3162         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3164         Likewise.
3165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3166         Likewise.
3167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3168         Likewise.
3169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3170         Likewise.
3171         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3172         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3173         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3174         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3175         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3177         Likewise.
3178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3179         Likewise.
3180         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3181         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3182         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3184 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
3186         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
3187         boolean.
3189 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
3191         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
3192         raising FE_INVALID with feraisexcept in case where part of
3193         argument is infinite, subtract that part of argument from itself.
3194         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
3195         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
3196         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
3198 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
3200         * math/libm-test.inc (totalorder_test_data): Add more tests.
3202 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
3204         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
3205         Undefine weak_alias and add a comment why mips64 require
3206         versioning.
3208 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
3210         [BZ #20647]
3211         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
3212         maximum CPUID level is less than 2.
3214 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
3216         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3217         (totalorder): New declaration.
3218         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
3219         New macro.
3220         * math/Versions (totalorder): New libm symbol at version
3221         GLIBC_2.25.
3222         (totalorderf): Likewise.
3223         (totalorderl): Likewise.
3224         * math/Makefile (libm-calls): Add s_totalorderF.
3225         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
3226         string.
3227         * math/libm-test.inc (PAYLOAD_DIG): New macro.
3228         (qnan_value_pl): Likewise.
3229         (snan_value_pl): Likewise.
3230         (qnan_value): Define using qnan_value_pl.
3231         (snan_value): Define using snan_value_pl.
3232         (struct test_ff_i_data): Add comment about which tests use this
3233         structure.
3234         (RUN_TEST_ff_b): New macro.
3235         (RUN_TEST_LOOP_ff_b): Likewise.
3236         (totalorder_test_data): New array.
3237         (totalorder_test): New function.
3238         (main): Call totalorder_test.
3239         * math/test-tgmath.c (NCALLS): Increase to 122.
3240         (F(compile_test)): Call totalorder.
3241         (F(totalorder)): New function.
3242         * manual/arith.texi (FP Comparison Functions): Document
3243         totalorder, totalorderf and totalorderl.
3244         * manual/libm-err-tab.pl: Update comment on interfaces without
3245         ulps tabulated.
3246         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
3247         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
3248         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
3249         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
3250         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
3251         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
3252         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
3253         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3254         totalorder.
3255         (CFLAGS-nldbl-totalorder.c): New variable.
3256         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
3257         file.
3258         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
3259         Add test-totalorderl-ldbl-128ibm.
3260         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
3261         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
3262         test-totalorderl-ldbl-96.
3263         * sysdeps/nacl/libm.abilist: Update.
3264         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3265         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3266         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3267         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3268         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3269         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3270         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3271         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3272         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3273         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3274         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3275         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3277         Likewise.
3278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3279         Likewise.
3280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3281         Likewise.
3282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3283         Likewise.
3284         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3285         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3286         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3287         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3288         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3290         Likewise.
3291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3292         Likewise.
3293         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3294         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3295         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3297 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3299         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
3300         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
3301         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
3302         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
3303         remove ENOSYS implementation.
3304         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
3305         Consolidate all Linux implementations.
3307 2016-10-11  Florian Weimer  <fweimer@redhat.com>
3309         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
3310         * resolv/herror.c (herror): Cast away const-ness.
3311         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
3312         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
3314 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
3316         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
3317         instead of M_NAN + M_NAN.
3318         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
3320 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3322         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
3323         unused variable 'p'.
3325 2016-10-09  Alan Modra  <amodra@gmail.com>
3326             Andreas Schwab  <schwab@linux-m68k.org>
3328         [BZ #20554]
3329         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
3330         [PIC && !SHARED]: Set up PIC register for PLT call.
3332 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
3334         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
3335         conditional on value of [__FLT_EVAL_METHOD__].
3336         * math/test-iseqsig-excess-precision.c: New file.
3337         * math/Makefile (tests): Add test-iseqsig-excess-precision.
3339 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3341         * math/s_iseqsig_template.c: Include math-private.h.
3343         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
3344         * posix/tst-posix_fadvise.c: New file.
3345         * posix/tst-posix_fadvise64.c: Likewise.
3346         * posix/tst-posix_fadvise-common.c: Likewise.
3347         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3348         (__ASSUME_FADVISE64_64_6ARG): Define.
3349         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3350         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
3351         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3352         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
3353         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
3354         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
3355         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
3356         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
3357         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
3358         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
3359         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
3360         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
3361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
3362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
3363         Likewise.
3364         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
3365         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
3366         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
3367         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
3368         Alias to __posix_fadvise64_l32.
3369         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
3370         Add compat definition to posix_fadvise64.
3371         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
3372         Add versioned definition to posix_fadvise64.
3373         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
3374         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
3375         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
3376         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
3377         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
3379         * io/Makefile (tests): Add tst-posix_fallocate and
3380         tst-posix_fallocate64.
3381         * io/tst-posix_fallocate-common.c: New file.
3382         * io/tst-posix_fallocate.c: Likewise.
3383         * io/tst-posix_fallocate64.c: Likewise.
3384         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
3385         file.
3386         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
3387         Likewise.
3388         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
3389         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
3390         Likewise.
3391         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
3392         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
3393         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
3394         SYSCALL_LL to pass both offset and len arguments.
3395         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
3396         Likewise.
3397         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
3398         __libc_pwrite64 alias used by posix_fallocate64.
3400         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
3401         tst-fallocate64.
3402         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
3403         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
3404         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
3405         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
3406         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
3407         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
3408         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
3409         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
3410         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
3411         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
3412         macro on offset argument.
3413         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
3414         SYSCALL_LL64 on offset argument.
3416         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
3417         tst-fallocate64.
3418         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
3419         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
3420         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
3421         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
3422         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
3423         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
3424         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
3425         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
3426         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
3427         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
3428         macro on offset argument.
3429         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
3430         SYSCALL_LL64 on offset argument.
3431         * test-skeleton.c (FAIL_RET): Add macro.
3432         (FAIL_EXIT): Likewise.
3433         (FAIL_EXIT1): Likewise.
3434         (_FAIL): Likewise.
3436 2016-10-07  Florian Weimer  <fweimer@redhat.com>
3438         [BZ #20629]
3439         resolv: Remove RES_USEBSTRING and its implementation.
3440         * resolv/resolv.h (RES_USEBSTRING): Remove.
3441         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
3442         (digitvalue, encode_bitstring, decode_bitstring): Remove.
3443         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
3444         (labellen): Remove extended label types support.
3445         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
3446         * resolv/res_init.c (res_setoptions): Likewise.
3447         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
3449 2016-10-07  Florian Weimer  <fweimer@redhat.com>
3451         resolv: Remove RES_NOIP6DOTINT and its implementation.
3452         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
3453         (RES_NOIP6DOTINT): Remove.
3454         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
3455         handling.
3456         * resolv/res_debug.c (p_option): Likewise.
3457         * resolv/res_init.c (res_setoptions): Likewise.
3458         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
3460 2016-10-07  Florian Weimer  <fweimer@redhat.com>
3462         resolv: Deprecate unimplemented flags.
3463         * misc/sys/cdefs.h (__glibc_macro_warning1)
3464         (__glibc_macro_warning): Define.
3465         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
3466         (RES_KEEPTSIG): Mark as deprecated.
3467         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
3468         RES_NOCHECKNAME, RES_KEEPTSIG.
3469         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
3471 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3473         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
3474         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
3475         Use strong_alias to create symbols for glibc verison 2.19.
3477 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3479         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
3481 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3483         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
3485 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3487         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
3489 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3491         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3492         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
3493         in header for using it as type for ifunc function because __GI_* symbols
3494         for ppc32 do not target the ifunc symbols.
3495         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
3497 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3499         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
3500         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
3501         libc_ifunc_hidden_def.
3502         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
3503         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
3504         Redirect ifunced function in header for using it as type of ifunc'ed
3505         function. Redefine libc_hidden_def to use fallback non ifunc'ed
3506         function for __GI_* symbol.
3507         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
3508         * include/libc-symbols.h
3509         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
3511 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3513         [BZ #20478]
3514         * sysdeps/s390/multiarch/ifunc-resolve.h
3515         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
3516         to create ifunc symbols.
3517         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
3518         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
3519         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
3520         for using it as type for ifunc function.
3521         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
3522         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
3523         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
3524         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
3525         * sysdeps/s390/multiarch/strcat.c: Likewise.
3526         * sysdeps/s390/multiarch/strchr.c: Likewise.
3527         * sysdeps/s390/multiarch/strcmp.c: Likewise.
3528         * sysdeps/s390/multiarch/strcpy.c: Likewise.
3529         * sysdeps/s390/multiarch/strcspn.c: Likewise.
3530         * sysdeps/s390/multiarch/strlen.c: Likewise.
3531         * sysdeps/s390/multiarch/strncmp.c: Likewise.
3532         * sysdeps/s390/multiarch/strncpy.c: Likewise.
3533         * sysdeps/s390/multiarch/strnlen.c: Likewise.
3534         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
3535         * sysdeps/s390/multiarch/strrchr.c: Likewise.
3536         * sysdeps/s390/multiarch/strspn.c: Likewise.
3537         * sysdeps/s390/multiarch/wcschr.c: Likewise.
3538         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
3539         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
3540         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
3541         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
3542         * sysdeps/s390/multiarch/wmemset.c: Likewise.
3543         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
3544         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
3545         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
3546         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
3547         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
3548         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
3550 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3552         * include/libc-symbols.h (__ifunc_resolver):
3553         New macro is used by __ifunc* macros.
3554         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
3555         depending on HAVE_GCC_IFUNC.
3556         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
3557         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
3558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3559         Redirect ifunced function in header for using as type for ifunc function.
3560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
3561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
3562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
3563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
3564         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3565         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3566         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3567         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3568         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3569         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3570         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3571         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3572         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3573         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
3576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
3578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3579         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3580         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3581         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3582         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3583         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3584         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3585         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3586         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3587         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3588         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3589         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3590         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3591         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
3592         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
3594         Add libc_hidden_def() and use libc_ifunc_hidden() macro
3595         instead of libc_ifunc() macro.
3596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
3597         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3599 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3601         * config.h.in (HAVE_GCC_IFUNC): New undef.
3602         * configure.ac: Add check if gcc supports attribute ifunc feature.
3603         * configure: Regenerated.
3604         * manual/install.texi: Add recommendation for gcc with
3605         indirect-function support.
3606         * INSTALL: Regenerated.
3608 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
3610         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
3611         macro.
3612         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3613         (__iseqsig): New declaration.
3614         * math/s_iseqsig_template.c: New file.
3615         * math/Versions (__iseqsigf): New libm symbol at version
3616         GLIBC_2.25.
3617         (__iseqsig): Likewise.
3618         (__iseqsigl): Likewise.
3619         * math/libm-test.inc (iseqsig_test_data): New array.
3620         (iseqsig_test): New function.
3621         (main): Call iseqsig_test.
3622         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
3623         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
3624         * manual/libm-err-tab.pl: Update comment on interfaces without
3625         ulps tabulated.
3626         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
3627         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
3628         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
3629         * sysdeps/nacl/libm.abilist: Update.
3630         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3631         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3632         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3633         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3634         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3635         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3636         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3637         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3638         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3639         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3640         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3641         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3643         Likewise.
3644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3645         Likewise.
3646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3647         Likewise.
3648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3649         Likewise.
3650         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3651         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3652         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3653         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3654         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3655         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3656         Likewise.
3657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3658         Likewise.
3659         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3660         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3661         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3663 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3665         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
3666         do_sincos_2, sloww, sloww1): Update comments.
3668         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
3669         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
3671         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
3672         K boolean and rename it.
3673         (__sin): Adjust.
3674         (__cos): Adjust.
3676 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
3677             Siddhesh Poyarekar  <siddhesh@sourceware.org>
3679         * manual/nss.texi: Fix typos in the manual.
3681 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
3683         * manual/contrib.texi: Fix typos in the manual.
3685         * manual/maint.texi: Fix typos in the manual.
3687         * manual/install.texi: Fix typos in the manual.
3688         * INSTALL: Regenerated.
3690         * manual/lang.texi: Fix typos in the manual.
3692         * manual/probes.texi: Fix typos in the manual.
3694         * manual/threads.texi: Fix typos in the manual.
3696         * manual/debug.texi: Fix typos in the manual.
3698         * manual/crypt.texi: Fix typos in the manual.
3700         * manual/conf.texi: Fix typos in the manual.
3702         * manual/sysinfo.texi: Fix typos in the manual.
3704         * manual/users.texi: Fix typos in the manual.
3706         * manual/job.texi: Fix typos in the manual.
3708         * manual/process.texi: Fix typos in the manual.
3710         * manual/argp.texi: Fix typos in the manual.
3711         * manual/getopt.texi: Likewise.
3712         * manual/startup.texi: Likewise.
3714         * manual/signal.texi: Fix typos in the manual.
3716         * manual/setjmp.texi: Fix typos in the manual.
3718         * manual/resource.texi: Fix typos in the manual.
3720         * manual/time.texi: Fix typos in the manual.
3722         * manual/arith.texi: Fix typos in the manual.
3724         * manual/math.texi: Fix typos in the manual.
3726         * manual/syslog.texi: Fix typos in the manual.
3728         * manual/terminal.texi: Fix typos in the manual.
3730         * manual/socket.texi: Fix typos in the manual.
3732         * manual/filesys.texi: Fix typos in the manual.
3734         * manual/llio.texi: Fix typos in the manual.
3736         * manual/stdio.text: Fix typos in the manual.
3738 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3740         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
3741         instead of K1.
3743         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
3744         SHIFT_QUADRANT and make it bool.
3745         (do_sincos_2): Likewise.
3746         (sloww): Likewise.
3747         (sloww1): Likewise.
3748         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
3749         (__cos): Likewise.
3751 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3753         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3755 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
3757         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
3758         Define to __WORDSIZE, not conditional on [LONG_MAX ==
3759         0x7fffffffL].
3760         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
3762 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3764         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
3765         inline by __inline__.
3766         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
3767         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
3768         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
3769         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
3770         sigset_t from signal.h.
3771         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
3772         which is already required.
3774 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
3776         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3778 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
3780         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
3781         (struct tcp_repair_window): New type.
3783 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3785         * libio/tst-memstream3.c: Include string.h.
3787 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3789         [BZ #18241]
3790         [BZ #20181]
3791         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
3792         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
3793         write position is at the end the buffer.
3794         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
3795         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
3796         (_IO_str_seekoff): Set correct offset from negative displacement and
3797         set EINVAL for invalid ones.
3798         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
3799         buffer length.
3800         (_IO_wstr_switch_to_get_mode): New function.
3801         (_IO_wstr_seekoff): Set correct offset from negative displacement and
3802         set EINVAL for invalid ones.
3803         * libio/tst-memstream3.c: New file.
3804         * libio/tst-wmemstream3.c: Likewise.
3805         * manual/examples/memstrm.c: Remove warning when priting size_t.
3807 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
3809         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
3810         macro to use __builtin_fma.
3811         * sysdeps/x86_64/fpu/dla.h: Remove file.
3813         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
3814         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
3815         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
3817 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
3819         [BZ #20292]
3820         * elf/Makefile (routines): Add dl-addr-obj.
3821         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
3822         tst-_dl_addr_inside_object.
3823         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
3824         [ifeq (yesyes,$(have-fpie)$(build-shared))]
3825         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
3826         [ifeq (yesyes,$(have-fpie)$(build-shared))]
3827         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
3828         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
3829         * elf/dl-open.c: Likewise.
3830         * elf/dl-addr-obj.c: New file.
3831         * elf/tst-_dl_addr_inside_object.c: New file.
3833 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
3835         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
3836         <bits/iscanonical.h>.
3837         * bits/iscanonical.h: New file.
3838         * math/s_iscanonicall.c: Likewise.
3839         * math/Versions (__iscanonicall): New libm symbol at version
3840         GLIBC_2.25.
3841         * math/libm-test.inc (iscanonical_test_data): New array.
3842         (iscanonical_test): New function.
3843         (main): Call iscanonical_test.
3844         * math/Makefile (headers): Add bits/iscanonical.h.
3845         (type-ldouble-routines): Add s_iscanonicall.
3846         * manual/arith.texi (Floating Point Classes): Document
3847         iscanonical.
3848         * manual/libm-err-tab.pl: Update comment on interfaces without
3849         ulps tabulated.
3850         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
3851         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
3852         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
3853         Likewise.
3854         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
3855         test-iscanonical-ldbl-128ibm.
3856         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
3857         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
3858         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
3859         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
3860         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3861         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3862         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3864         Likewise.
3865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3866         Likewise.
3867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3868         Likewise.
3869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3870         Likewise.
3871         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3872         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3874 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3876         * string/bits/string3.h: Remove C++ style comments.
3878 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3880         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
3881         instead of ternary condition.
3882         (do_sincos_2): Likewise.
3883         (__sin): Likewise.
3884         (__cos): Likewise.
3885         (slow): Likewise.
3886         (sloww): Likewise.
3887         (sloww1): Likewise.
3888         (bsloww): Likewise.
3889         (bsloww1): Likewise.
3891         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
3892         instead of ternary condition.
3893         (do_sin_slow): Likewise.
3894         (do_sincos_1): Likewise.
3895         (do_sincos_2): Likewise.
3896         (__cos): Likewise.
3897         (sloww): Likewise.
3898         (sloww1): Likewise.
3899         (sloww2): Likewise.
3900         (bsloww): Likewise.
3901         (bsloww1): Likewise.
3902         (bsloww2): Likewise.
3904         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
3905         check from here...
3906         (slow2): ... and here...
3907         (__sin): ... to here.
3909 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
3911         * math/math.h
3912         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
3913         Cast argument to its own type.
3914         * math/test-iszero-excess-precision.c: New file.
3915         * math/Makefile (tests): Add test-iszero-excess-precision.
3916         (CFLAGS-test-iszero-excess-precision.c): New variable.
3918 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
3920         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
3921         field, add err field.
3922         (__spawni_child): Report error through err member instead of pipe.
3923         (__spawnix): Likewise.
3925 2016-09-28  Zack Weinberg  <zackw@panix.com>
3927         * scripts/check-installed-headers.sh: Generalize treatment of
3928         sys/elf.h to all target architectures.
3930         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
3931         deleted typedef ucontext_t.
3933 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3935         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
3936         (__INTERNAL_SYSCALL1): Likewise.
3937         (__INTERNAL_SYSCALL2): Likewise.
3938         (__INTERNAL_SYSCALL3): Likewise.
3939         (__INTERNAL_SYSCALL4): Likewise.
3940         (__INTERNAL_SYSCALL5): Likewise.
3941         (__INTERNAL_SYSCALL6): Likewise.
3942         (__INTERNAL_SYSCALL7): Likewise.
3943         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
3944         (__INTERNAL_SYSCALL_NARGS): Likewise.
3945         (__INTERNAL_SYSCALL_DISP): Likewise.
3946         (INTERNAL_SYSCALL_CALL): Likewise.
3947         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
3948         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
3949         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
3950         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
3951         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
3952         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
3953         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
3954         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
3955         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
3956         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
3957         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
3958         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
3959         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
3961 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
3963         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
3964         macro.
3965         * math/libm-test.inc (iszero_test_data): New array.
3966         (iszero_test): New function.
3967         (main): Call iszero_test.
3968         * manual/arith.texi (Floating Point Classes): Document iszero.
3969         * manual/libm-err-tab.pl: Update comment on interfaces without
3970         ulps tabulated.
3972 2016-09-23  Zack Weinberg  <zackw@panix.com>
3974         * scripts/check-installed-headers.sh: New script.
3975         * Rules: In each directory that defines header files to be installed,
3976         run check-installed-headers.sh on them as a special test.
3977         * Makefile: Likewise for the headers installed at top level.
3979         * include/aliases.h, include/alloca.h, include/argz.h
3980         * include/arpa/nameser.h, include/arpa/nameser_compat.h
3981         * include/elf.h, include/envz.h, include/err.h
3982         * include/execinfo.h, include/fpu_control.h, include/getopt.h
3983         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
3984         * include/link.h, include/malloc.h, include/mcheck.h
3985         * include/mntent.h, include/netinet/ether.h
3986         * include/nss.h, include/obstack.h, include/printf.h
3987         * include/pty.h, include/resolv.h, include/rpc/auth.h
3988         * include/rpc/auth_des.h, include/rpc/auth_unix.h
3989         * include/rpc/clnt.h, include/rpc/des_crypt.h
3990         * include/rpc/key_prot.h, include/rpc/netdb.h
3991         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
3992         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
3993         * include/rpc/rpc_msg.h, include/rpc/svc.h
3994         * include/rpc/svc_auth.h, include/rpc/xdr.h
3995         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
3996         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
3997         * include/rpcsvc/ypupd.h, include/shadow.h
3998         * include/stdio_ext.h, include/sys/epoll.h
3999         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
4000         * include/sys/prctl.h, include/sys/profil.h
4001         * include/sys/statfs.h, include/sys/sysctl.h
4002         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
4003         * sysdeps/arm/nacl/include/bits/setjmp.h
4004         * sysdeps/mips/include/sys/asm.h
4005         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
4006         * sysdeps/unix/sysv/linux/include/sys/timex.h
4007         * sysdeps/x86/fpu/include/bits/fenv.h:
4008         Add #ifndef _ISOMAC guard around internal declarations.
4009         Add multiple-inclusion guard if not already present.
4011 2016-09-23  Zack Weinberg  <zackw@panix.com>
4013         * sysdeps/generic/sys/ucontext.h
4014         * sysdeps/arm/sys/ucontext.h
4015         * sysdeps/i386/sys/ucontext.h
4016         * sysdeps/m68k/sys/ucontext.h
4017         * sysdeps/mips/sys/ucontext.h
4018         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
4019         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
4020         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
4021         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
4022         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
4023         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
4024         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
4025         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
4026         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4027         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
4028         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
4029         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
4030         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
4031         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
4032         Include both bits/sigcontext.h and bits/sigstack.h.
4033         Fix grammar error in comment, if present.
4035         * bits/sigstack.h
4036         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
4037         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
4038         * sysdeps/unix/sysv/linux/bits/sigstack.h
4039         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
4040         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
4041         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
4042         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
4043         * bits/sigcontext.h
4044         * sysdeps/mach/hurd/i386/bits/sigcontext.h
4045         * sysdeps/unix/sysv/linux/bits/sigcontext.h
4046         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
4047         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
4048         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
4049         as well as signal.h, if this was not already allowed.  Request
4050         definition of size_t if necessary.  Minimize semantically-null
4051         differences across files.
4053 2016-09-23  Zack Weinberg  <zackw@panix.com>
4055         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
4056         Remove all logic conditional on __need macros.  Move all the
4057         conditionally defined types to their own headers...
4058         * time/bits/types/clock_t.h: Define clock_t here.
4059         * time/bits/types/clockid_t.h: Define clockid_t here.
4060         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
4061         * time/bits/types/struct_timespec.h: Define struct timespec here.
4062         * time/bits/types/struct_timeval.h: Define struct timeval here.
4063         * time/bits/types/struct_tm.h: Define struct tm here.
4064         * time/bits/types/time_t.h: Define time_t here.
4065         * time/bits/types/timer_t.h: Define timer_t here.
4066         * time/Makefile: Install the new headers.
4068         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
4069         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
4070         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
4071         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
4072         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
4073         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
4074         * sysdeps/unix/sysv/linux/bits/resource.h
4075         * sysdeps/unix/sysv/linux/bits/timex.h
4076         * sysdeps/unix/sysv/linux/mips/bits/resource.h
4077         * sysdeps/unix/sysv/linux/net/ppp_defs.h
4078         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
4079         * sysdeps/unix/sysv/linux/sys/acct.h
4080         * sysdeps/unix/sysv/linux/sys/timerfd.h
4081         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
4082         * time/sys/time.h, time/sys/timeb.h
4083         Use the new bits/types headers.
4085         * include/time.h: Remove __need logic.
4086         * include/bits/time.h
4087         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
4088         * include/bits/types/time_t.h, include/bits/types/timer_t.h
4089         * include/bits/types/struct_itimerspec.h
4090         * include/bits/types/struct_timespec.h
4091         * include/bits/types/struct_timeval.h
4092         * include/bits/types/struct_tm.h:
4093         New wrapper headers.
4095 2016-09-23  Zack Weinberg  <zackw@panix.com>
4097         * sysdeps/mach/hurd/net/if_ppp.h
4098         * sysdeps/unix/sysv/linux/net/if_ppp.h:
4099         Only define struct ifpppstatsreq and struct ifpppcstatsreq
4100         if __USE_MISC is defined, to ensure struct ifreq is declared.
4102         * inet/netinet/ether.h: Condition all function prototypes
4103         on __USE_MISC, to ensure struct ether_addr is declared.
4105         * socket/bits/types/struct_osockaddr.h: New header.
4106         * include/bits/types/struct_osockaddr.h: New wrapper.
4107         * socket/Makefile: Install the new header.
4108         * socket/sys/socket.h, inet/protocols/talkd.h:
4109         Refer to bits/types/struct_osockaddr.h for the definition of
4110         struct osockaddr.
4112 2016-09-23  Zack Weinberg  <zackw@panix.com>
4114         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
4115         * inet/protocols/routed.h, inet/protocols/talkd.h
4116         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
4117         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
4118         * sysdeps/generic/netinet/if_ether.h
4119         * sysdeps/generic/netinet/in_systm.h
4120         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
4121         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
4122         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
4123         * sysdeps/mach/hurd/net/if_arp.h
4124         * sysdeps/mach/hurd/net/if_ppp.h
4125         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
4126         * sysdeps/unix/sysv/linux/bits/in.h
4127         * sysdeps/unix/sysv/linux/net/ethernet.h
4128         * sysdeps/unix/sysv/linux/net/if_arp.h
4129         * sysdeps/unix/sysv/linux/net/if_ppp.h
4130         * sysdeps/unix/sysv/linux/net/if_shaper.h
4131         * sysdeps/unix/sysv/linux/net/route.h
4132         * sysdeps/unix/sysv/linux/netinet/if_ether.h
4133         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
4134         * sysdeps/unix/sysv/linux/netinet/if_tr.h
4135         * sysdeps/unix/sysv/linux/netipx/ipx.h
4136         * sysdeps/unix/sysv/linux/sys/acct.h
4137         * include/arpa/nameser.h, include/resolv.h:
4138         Change all uses of u_char to unsigned char,
4139         u_short and ushort to unsigned short, u_int and uint to unsigned int,
4140         u_long and ulong to unsigned long, u_int8_t to uint8_t,
4141         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
4142         and u_int64_t and u_quad_t to uint64_t.
4144         * mach/sys/reboot.h: Remove two casts of integer literals
4145         to the types they already have.
4147         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
4148         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
4149         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
4150         from referring to 'unsigned char' to 'uint8_t' for consistency with
4151         the macro definition below.
4153         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
4154         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
4155         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
4156         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
4157         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
4158         * sysdeps/unix/sysv/linux/sys/acct.h
4159         * include/arpa/nameser.h, include/resolv.h:
4160         Fix indentation disrupted by mechanical edits.
4162         * inet/protocols/talkd.h, resolv/arpa/nameser.h
4163         * sysdeps/generic/netinet/in_systm.h
4164         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
4165         * sysdeps/gnu/netinet/udp.h
4166         * sysdeps/unix/sysv/linux/net/ethernet.h
4167         * sysdeps/unix/sysv/linux/net/if_arp.h
4168         * sysdeps/unix/sysv/linux/net/if_ppp.h
4169         * sysdeps/unix/sysv/linux/net/if_shaper.h
4170         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
4171         * sysdeps/unix/sysv/linux/netinet/if_tr.h
4172         * sysdeps/unix/sysv/linux/netipx/ipx.h
4173         * sysdeps/unix/sysv/linux/sys/acct.h
4174         Include stdint.h for uintNN_t definitions.
4175         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
4177 2016-09-23  Zack Weinberg  <zackw@panix.com>
4179         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
4180         * sysdeps/unix/sysv/linux/netrose/rose.h:
4181         Include sys/socket.h and netax25/ax25.h.
4183         * inet/netinet/icmp6.h, inet/netinet/ip6.h
4184         * resolv/arpa/nameser_compat.h:
4185         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
4187         * sysdeps/unix/sysv/linux/sys/quota.h:
4188         Use __caddr_t instead of caddr_t.
4189         * sysdeps/unix/sysv/linux/sys/timerfd.h:
4190         Use __clockid_t instead of clockid_t.
4192         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
4194         * argp/argp.h: Check whether _LIBC is defined before expanding it.
4195         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
4196         expanding it.
4198         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
4199         Define __glibc_c99_flexarr_available to 1 when the compiler
4200         supports C99-compatible flexible array members, 0 otherwise.
4201         * sysdeps/unix/sysv/linux/bits/socket.h
4202         * sysdeps/mach/hurd/bits/socket.h
4203         * bits/socket.h: Use __glibc_c99_flexarr_available in
4204         definitions of struct cmsghdr and CMSG_DATA.
4206 2016-09-23  Florian Weimer  <fweimer@redhat.com>
4208         * manual/nss.texi (NSS Modules Interface): Adjust function return
4209         type to enum nss_status.  Document errnop argument.  Clarify
4210         h_errnop semantics.  Fix cross-reference formatting.
4211         (NSS Module Function Internals): Mention that *errnop needs to be
4212         set on failure, but not to zero.
4214 2016-09-23  Florian Weimer  <fweimer@redhat.com>
4216         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
4217         (get_random_name): New functions.
4218         (check_wrapper_flags_mode): Use linkat to give the new file a name
4219         determined by get_random_name.
4220         (do_test): Add calls to test open64 and openat64.
4222 2016-09-23  Florian Weimer  <fweimer@redhat.com>
4224         * test-skeleton.c: Remove #include <stdarg.h>.
4226 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
4228         [BZ #19826]
4229         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
4230         initialization of static TLS entries.
4231         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
4232         * nptl/allocatestack.c (init_one_static_tls): Likewise.
4234 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4236         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
4237         _hurd_malloc_fork_prepare.
4238         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
4239         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
4240         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
4241         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
4242         (_hurd_fork_child_hook): Drop malloc_fork_child.
4243         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
4244         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
4245         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
4246         after locking locks (notably hurd_dtable_lock). Call
4247         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
4248         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
4249         __malloc_fork_unlock_child.
4250         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
4252 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
4254         * soft-fp/extendhftf2.c: New.
4255         * soft-fp/fixhfti.c: Likewise.
4256         * soft-fp/fixunshfti.c: Likewise.
4257         * soft-fp/floattihf.c: Likewise.
4258         * soft-fp/floatuntihf.c: Likewise.
4259         * soft-fp/half.h: Likewise.
4260         * soft-fp/trunctfhf2.c: Likewise.
4262 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
4264         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
4265         macro.
4266         * math/libm-test.inc (issubnormal_test_data): New array.
4267         (issubnormal_test): New function.
4268         * manual/arith.texi (Floating Point Classes): Document
4269         issubnormal.
4270         * manual/libm-err-tab.pl: Update comment on interfaces without
4271         ulps tabulated.
4273         * sysdeps/generic/stdint.h: Define
4274         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4275         <bits/libc-header-start.h> instead of including <features.h>.
4276         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
4277         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
4278         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
4279         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
4280         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
4281         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
4282         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
4283         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
4284         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
4285         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
4286         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
4287         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
4288         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
4289         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
4290         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
4291         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
4292         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
4293         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
4294         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
4295         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
4296         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
4297         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
4298         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
4299         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
4300         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
4301         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
4302         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
4303         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
4304         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
4305         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
4306         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
4307         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
4308         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
4309         * manual/arith.texi (Integers): Document these macros for types
4310         specified by width properties.
4311         * manual/lang.texi (Width of Type): Document these macros for
4312         other standard typedefs.
4313         * stdlib/tst-width-stdint.c: New file.
4314         * stdlib/Makefile (tests): Add tst-width-stdint.
4316 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4318         [BZ #20016]
4319         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
4320         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
4321         Move ...
4322         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
4323         ... here, as compatibility symbols in a new file.
4324         * resolv/Makefile (libresolv-routines): Add compat-hooks.
4325         * resolv/res_init.c (__res_vinit): Adjust member names.
4326         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
4327         * resolv/resolv.h (res_sendhookact, res_send_qhook)
4328         (res_send_rhook): Remove.
4329         (struct __res_state): Rename qhook, rhook members.
4331 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4333         malloc: Use __libc_lock wrappers.
4334         * malloc/arena.c (list_lock, free_list_lock): Define using
4335         __libc_lock_define_initialized.
4336         (arena_lock): Adjust formatting.
4337         * malloc/malloc.c (struct malloc_state): Define mutex using
4338         __libc_lock_define.
4339         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
4340         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
4341         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
4342         (mutex_unlock, mutex_trylock): Remove.
4343         (__pthread_initialize): Remove unused macro.
4344         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
4345         (mutex_unlock, mutex_trylock): Remove.
4347 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4349         [BZ #20592]
4350         Remove RR type classification macros.
4351         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
4352         (ns_t_udp_p, ns_t_xfr_p): Remove.
4354 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4356         Remove misleading version information.
4357         * resolv/arpa/nameser.h (__NAMESER): Remove.
4358         * resolv/arpa/nameser_compat.h (__BIND): Remove.
4360 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4362         Remove the always-defined BIND_4_COMPAT macro.
4363         * resolv/arpa/nameser.h: Unconditionally include
4364         <arpa/nameser_compat.h>.
4365         (BIND_4_COMPAT): Remove.
4366         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
4368 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4370         [BZ #20591]
4371         Remove obsolete DNSSEC support.
4372         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
4373         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
4374         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
4375         (ns_verify_tcp, ns_verify_tcp_init): Remove.
4376         (ns_cert_types): Add comment.
4377         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
4378         separately.
4379         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
4380         (dst_s_dns_key_id): Remove.
4381         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
4382         variables.
4384 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4386         [BZ #20524]
4387         * manual/string.texi (String/Array Comparison): Clarify the
4388         strverscmp behavior.
4390 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4392         * test-skeleton.c (xasprintf): Add function.
4393         * io/tst-open-tmpfile.c: New test.
4394         * io/Makefile (tests): Add it.
4396 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4398         Avoid running $(CXX) during build to obtain header file paths.
4399         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
4400         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
4401         * Makerules (cstdlib, cmath): Remove variables.  Use
4402         $(c++-cstdlib-header), $(c++-cmath-header) instead.
4403         * configure: Regenerate.
4405 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4407         * Makeconfig (all-object-suffixes): Include .op only if
4408         $(build-profile).
4410 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4412         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
4413         conditionals.  Do not define PATH_MAX.
4415 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4417         * posix/Makefile (tests): Add tst-spawn3.
4418         * posix/tst-spawn3.c: New file.
4419         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
4420         if it is already opened for open action.
4422         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
4423         all signals when executing the clone vfork child.
4424         (SIGALL_SET): Remove macro.
4426         * nptl/Makefile (tests): Add tst-exec5.
4427         * nptl/tst-exec5.c: New file.
4428         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
4429         asynchronous cancellation.
4431 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4433         * hurd/exc2signal.c: #include <hurd/signal.h>
4434         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
4435         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
4436         accordingly.
4437         * mach/mach_error.c (mach_error): Fix old-style function definition.
4438         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
4440 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4442         * math/Makefile (libm-calls): Remove s_nanF.
4443         (gen-libm-calls): Add s_nanF.
4445         * math/s_nan.c: Refactor into ...
4446         * math/s_nan_template.c: New file.
4448         * math/s_nanf.c: Removed.
4449         * math/s_nanl.c: Removed.
4450         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
4451         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
4453         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4454         (LDOUBLE_nanl_libm_version): New macro.
4456         * sysdeps/generic/math-type-macros-double.h:
4457         (M_STRTO_NAN): New macro.
4458         * sysdeps/generic/math-type-macros-float.h: Likewise.
4459         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
4461         * sysdeps/generic/math-type-macros.h: Document
4462         M_STRTO_NAN.
4464 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4466         * math/s_nanf.c: Remove __nanf undef.
4467         * math/s_nan.c: Remove __nan undef.
4468         * math/s_nanl.c: Remove __nanl undef.
4470         * sysdeps/generic/math_private.h (__nan): Remove macro
4471         override.
4472         (__nanf): Likewise.
4473         (__nanl): Likewise.
4475 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4477         * math/Makefile (gen-all-calls): New variable.
4478         (generated): Replace gen-libm-calls with gen-all-calls.
4479         (gen-libm-templates.stmp): Likewise.  Also, ensure
4480         the output directory exists or is created and add
4481         dependency on the Makefile.
4482         (calls): Move s_ldexpF into gen-calls.
4483         (gen-calls): New variable.
4485         * math/s_ldexpf.c: Removed.
4486         * math/s_ldexpl.c: Removed.
4487         * math/s_ldexp.c: Refactored into ...
4488         * math/s_ldexp_template.c: New file.
4490         * sysdeps/generic/math-type-macros-double.h: Remove
4491         redundant fall-through definition of declare_mgen_alias.
4492         (declare_mgen_alias_2): New macro.
4494         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
4495         New macro for function aliased to two exported symbols.
4497         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
4498         new template file.
4499         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4501 2016-09-20  Florian Weimer  <fweimer@redhat.com>
4503         * Makeconfig (all-object-suffixes): Remove .og.
4504         * Makerules (elide-routines.og): Remove.
4505         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
4506         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
4507         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
4509 2016-09-20  Florian Weimer  <fweimer@redhat.com>
4511         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
4512         .os objects.
4514 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4516         [BZ #20615]
4517         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
4518         fpu directory by non-fpu.
4519         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
4520         on non-fpu directory from a fpu directory.
4522 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
4524         * include/limits.h: Define
4525         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4526         <bits/libc-header-start.h> instead of including <features.h>.
4527         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
4528         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
4529         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
4530         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
4531         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
4532         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
4533         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
4534         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
4535         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
4536         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
4537         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
4538         * manual/lang.texi (Width of Type): Document these macros.
4539         * stdlib/tst-width.c: New file.
4540         * stdlib/Makefile (tests): Add tst-width.
4542 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4544         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
4545         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
4547 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4549         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
4550         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
4551         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
4553 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4555         [BZ #18243]
4556         * rt/Makefile (test): Add tst-shm-cancel.
4557         * rt/tst-shm-cancel.c: New file.
4558         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
4560         [BZ #18243]
4561         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
4562         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
4563         definition.
4564         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
4565         uncontended case.
4566         * nptl/sem_wait.c (__new_sem_wait): Likewise.
4567         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
4568         (tf): Fix check for uncontended case.
4569         (do_test): Likewise.
4570         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
4571         (tf): Fix check for uncontended case.
4572         (do_test): Likewise.
4573         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
4574         (tf): Fix check for uncontended case.
4575         (do_test): Likewise.
4576         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
4577         (tf): Fix check for uncontended case.
4578         (do_test): Likewise.
4580         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
4581         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
4583         [BZ #15765]
4584         * nptl/Makefile (tests): Add tst-sem16.
4585         * nptl/tst-sem16.c: New file.
4586         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
4588         * nptl/sem_open.c (sem_open): Init pad value to 0.
4589         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
4590         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
4592 2016-09-15  Florian Weimer  <fweimer@redhat.com>
4594         [BZ #20611]
4595         * inet/Makefile (routines): Add inet6_scopeid_pton.
4596         (tests): Add tst-inet6_scopeid_pton.
4597         * inet/inet6_scopeid_pton.c: New file.
4598         * inet/net-internal.h: Likewise.
4599         * inet/tst-inet6_scopeid_pton.c: New test.
4600         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
4601         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
4602         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4604 2016-09-14  Florian Weimer  <fweimer@redhat.com>
4606         Remove support for compiling wrappers with PTW.
4607         * sysdeps/nptl/Makeconfig: Drop ptw- support.
4608         * nptl/Makefile (pthread-compat-wrappers): Define.
4609         (libpthread-routines): Use pthread-compat-wrappers.
4610         * sysdeps/unix/sysv/linux/alpha/Makefile
4611         (libpthread-routines, libpthread-shared-only-routines): Remove
4612         ptw- prefix.
4613         * sysdeps/s390/nptl/Makefile
4614         (libpthread-routines, libpthread-shared-only-routines): Likewise.
4615         * sysdeps/ia64/nptl/Makefile
4616         (libpthread-routines, libpthread-shared-only-routines): Likewise.
4617         * sysdeps/nacl/Makefile (libpthread-routines): Use
4618         pthread-compat-wrappers to filter the routines list instead of the
4619         ptw- prefix.
4621 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4623         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
4624         with L() and remove explicit suffix, convert real literals
4625         which can be equivalentally substituted with integers, and
4626         transform -L(x) to L(-x).
4628         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4629         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4630         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4631         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4632         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4633         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4634         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4635         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4636         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4637         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4638         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4639         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4640         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4641         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4642         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4643         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4644         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4645         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4646         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4647         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4648         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4649         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4650         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4651         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4652         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4653         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4654         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4655         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4656         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4657         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4658         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4659         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
4660         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4661         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4662         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4663         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4664         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4665         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4666         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4667         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4668         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4669         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4670         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4671         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4672         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4673         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4674         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4675         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
4676         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4677         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4679 2016-09-13  Florian Weimer  <fweimer@redhat.com>
4681         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
4683 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4685         * malloc/Makefile (tests): Remove individual static test names
4686         and just add all of tests-static.
4688         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
4690 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
4692         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
4693         file.
4695         * sysdeps/sparc/fpu/fegetmode.c: New file.
4696         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
4698         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
4699         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
4701         * sysdeps/s390/fpu/fegetmode.c: New file.
4702         * sysdeps/s390/fpu/fesetmode.c: Likewise.
4704         * sysdeps/powerpc/fpu/fegetmode.c: New file.
4705         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
4706         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
4707         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
4708         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
4709         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
4711         * sysdeps/mips/fpu/fegetmode.c: New file.
4712         * sysdeps/mips/fpu/fesetmode.c: Likewise.
4714         * sysdeps/m68k/fpu/fegetmode.c: New file.
4715         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
4717         * sysdeps/ia64/fpu/fegetmode.c: New file.
4718         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
4720         * sysdeps/hppa/fpu/fegetmode.c: New file.
4721         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
4723         * sysdeps/arm/fegetmode.c: New file.
4724         * sysdeps/arm/fesetmode.c: Likewise.
4726         * sysdeps/alpha/fpu/fegetmode.c: New file.
4727         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
4729         * sysdeps/aarch64/fpu/fegetmode.c: New file.
4730         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
4732         * math/fegetmode.c: New file.
4733         * math/fesetmode.c: Likewise.
4734         * sysdeps/i386/fpu/fegetmode.c: Likewise.
4735         * sysdeps/i386/fpu/fesetmode.c: Likewise.
4736         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
4737         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
4738         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
4739         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
4740         declaration.
4741         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
4742         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
4743         typedef.
4744         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4745         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4746         (femode_t): New typedef.
4747         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4748         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4749         (femode_t): New typedef.
4750         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4751         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4752         (femode_t): New typedef.
4753         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4754         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4755         (femode_t): New typedef.
4756         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4757         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4758         (femode_t): New typedef.
4759         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4760         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4761         (femode_t): New typedef.
4762         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4763         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4764         (femode_t): New typedef.
4765         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4766         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4767         (femode_t): New typedef.
4768         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4769         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4770         (femode_t): New typedef.
4771         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4772         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4773         (femode_t): New typedef.
4774         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
4775         declaration.
4776         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4777         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4778         (femode_t): New typedef.
4779         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4780         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4781         (femode_t): New typedef.
4782         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4783         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4784         (femode_t): New typedef.
4785         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4786         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4787         (femode_t): New typedef.
4788         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4789         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4790         (femode_t): New typedef.
4791         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4792         * manual/arith.texi (FE_DFL_MODE): Document macro.
4793         (fegetmode): Document function.
4794         (fesetmode): Likewise.
4795         * math/Versions (fegetmode): New libm symbol at version
4796         GLIBC_2.25.
4797         (fesetmode): Likewise.
4798         * math/Makefile (libm-support): Add fegetmode and fesetmode.
4799         (tests): Add test-femode and test-femode-traps.
4800         * math/test-femode-traps.c: New file.
4801         * math/test-femode.c: Likewise.
4802         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
4803         alias for __fe_dfl_env.
4804         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
4805         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
4806         (__fe_dfl_mode): Likewise.
4807         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
4808         version GLIBC_2.25.
4809         * sysdeps/nacl/libm.abilist: Update.
4810         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4811         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4812         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4813         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4814         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4815         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4816         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4817         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4818         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4819         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4820         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4821         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4823         Likewise.
4824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4825         Likewise.
4826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4827         Likewise.
4828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4829         Likewise.
4830         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4831         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4832         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4833         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4834         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4836         Likewise.
4837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4838         Likewise.
4839         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4840         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4841         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4843 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4845         [BZ #20495]
4846         [BZ #20508]
4847         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
4848         processors, set Use_dl_runtime_resolve_slow and set
4849         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
4850         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
4851         New.
4852         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
4853         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
4854         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
4855         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
4856         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
4857         if Use_dl_runtime_resolve_opt is set.  Use
4858         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
4859         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
4860         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
4861         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
4862         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
4863         New.
4864         (_dl_runtime_resolve_opt): Likewise.
4865         (_dl_runtime_profile): Define only if _dl_runtime_profile is
4866         defined.
4868 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4870         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
4871         __libc_memalign with "+ RELA R_390_GLOB_DAT".
4873 2016-09-06  Florian Weimer  <fweimer@redhat.com>
4875         Convert malloc to __libc_lock.  Automated part, using this Perl
4876         s/// command:
4877           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
4878             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
4879         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
4880         conversion.
4882 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
4884         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
4885         (linknamespace-symlists-tests): Likewise.
4886         (linknamespace-header-tests): Likewise.
4888 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
4890         [BZ #19810]
4891         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
4892         * elf/tst-noload.c: New test case.
4893         * elf/Makefile (tests): Add tst-noload.
4895 2016-09-02  Roland McGrath  <roland@hack.frob.com>
4897         * sysdeps/nacl/dup.c: Add libc_hidden_def.
4899         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
4900         not any more.
4902         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
4904 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4906         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
4907         (do_cos_slow): Likewise.
4908         (do_sin): Likewise.
4909         (do_sin_slow): Likewise.
4910         (slow): Likewise.
4911         (slow1): Likewise.
4912         (slow2): Likewise.
4913         (sloww): Likewise.
4914         (sloww1): Likewise.
4915         (sloww2): Likewise.
4916         (bsloww): Likewise.
4917         (bsloww1): Likewise.
4918         (bsloww2): Likewise.
4919         (cslow2): Likewise.
4921         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
4923         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
4924         arguments.  Consolidate input partitioning from callers here.
4925         (do_cos_slow): Likewise.
4926         (do_sin): Likewise.
4927         (do_sin_slow): Likewise.
4928         (do_sincos_1): Remove the no longer necessary input partitioning.
4929         (do_sincos_2): Likewise.
4930         (__sin): Likewise.
4931         (__cos): Likewise.
4932         (slow1): Likewise.
4933         (slow2): Likewise.
4934         (sloww1): Likewise.
4935         (sloww2): Likewise.
4936         (bsloww1): Likewise.
4937         (bsloww2): Likewise.
4938         (cslow2): Likewise.
4940 2016-09-02  Florian Weimer  <fweimer@redhat.com>
4942         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
4943         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
4944         outside of allocated array.
4946 2016-09-02  Florian Weimer  <fweimer@redhat.com>
4948         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
4949         instead of MB_CUR_MAX to avoid variable-length array.
4951 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4953         * math/Makefile (libm-calls): Remove k_rem_pio2F.
4954         (type-double-routines): Add k_rem_pio2.
4955         (type-float-routines): Add k_rem_pio2f.
4957         * sysdeps/generic/math_private.h:
4958         (__kernel_rem_pio2l): Removed.
4960         * math/k_rem_pio2l.c: Removed.
4961         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
4962         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
4963         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
4964         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
4966 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4968         * math/Makefile (gen-libm-calls): Add s_fmin
4969         (libm-calls): Remove above.
4971         * math/s_fmin.c: Refactor into ...
4972         * math/s_fmin_template.c: New file.
4974         * math/s_fminf.c: Removed.
4975         * math/s_fminl.c: Removed.
4976         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4977         (LDOUBLE_fmin_libm_version): New macro.
4979         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
4980         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
4982 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4984         * math/Makefile: (gen-libm-calls): Add s_fmax.
4985         (libm-calls): Remove above.
4987         * math/s_fmax.c: Refactor into ...
4988         * math/s_fmax_template.c: New file.
4989         * math/s_fmaxf.c: Removed.
4990         * math/s_fmaxl.c: Removed.
4992         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4993         (LDOUBLE_fmaxl_libm_version): New macro.
4995         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
4996         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
4998         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
4999         s_fmin.c to pick the aarch64 version of the file.
5000         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
5001         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
5003 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5005         * math/Makefile: (gen-libm-calls): Add s_nextdown.
5006         (libm-calls): Remove above.
5008         * math/s_nextdown.c: Refactor into ...
5009         * math/s_nextdown_template.c: New file.
5010         * math/s_nextdownf.c: Removed.
5011         * math/s_nextdownl.c: Removed.
5013         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
5015 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5017         * math/Makefile (gen-libm-calls): Add s_fdim.
5018         (libm-calls): Move to above.
5020         * math/s_fdim.c: Renamed and refactored into to ...
5021         * math/s_fdim_template.c: New file.
5022         * math/s_fdiml.c: Removed.
5023         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
5024         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
5026         * sysdeps/generic/math-type-macros-double.h:
5027         (declare_mgen_alias): Don't declare if already declared.
5028         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
5029         Likewise.
5031         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
5032         (declare_mgen_alias): Don't declare if already declared.
5033         (M_LIBM_NEED_COMPAT): Likewise.
5034         (declare_mgen_libm_compat): Likewise.
5035         (LDOUBLE_fdiml_libm_version): New macro.
5037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
5038         Include math/s_fdim.c now that ldbl-opt version is not needed.
5039         (declare_mgen_alias): New macro to disable aliasing.
5041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
5042         (declare_mgen_alias): Likewise.
5043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
5044         (declare_mgen_alias): Likewise.
5045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
5046         (declare_mgen_alias): Likewise.
5047         (M_LIBM_NEED_COMPAT): Likewise.
5049 2016-09-01  Florian Weimer  <fweimer@redhat.com>
5051         [BZ #20525]
5052         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
5053         Include <linux/quota.h>.
5054         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
5055         and btodb.
5056         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
5057         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
5058         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
5059         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
5060         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
5061         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
5062         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
5063         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
5064         types.
5065         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
5066         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
5068 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5070         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
5071         (gammal_positive): Fix spacing.
5072         (__ieee754_gammal_r): Likewise.
5074 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5076         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
5077         (_Float128): Define as long double, always.
5078         (L): Apply long double type suffix, always.
5080         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
5081         _Float128, excepting comments.
5083         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5084         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5085         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5086         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5087         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5088         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5089         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5090         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5091         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5092         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
5093         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5094         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5095         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5096         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5097         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5098         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5099         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5100         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5101         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5102         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5103         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5104         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5105         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5106         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5107         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5108         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5109         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5110         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
5111         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5112         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5113         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5114         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5115         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5116         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5117         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5118         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5119         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5120         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5121         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5122         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
5123         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5124         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5125         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5126         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5127         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5128         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5129         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5130         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5131         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5132         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5133         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5134         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5135         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5136         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5137         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
5138         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5139         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5140         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5141         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5142         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5143         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5144         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5145         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5146         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5147         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5148         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
5149         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5150         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5152         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
5153         _Float128, and include math_private.h.
5154         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5156         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
5157         long double semantics.
5158         (_Float128): Likewise.
5159         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
5160         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
5161         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
5162         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
5164 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5166         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
5167         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
5168         * sysdeps/s390/configure: Regenerated.
5169         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
5170         instruction for raising over-/underflow if z196 zarch is supported
5171         by default.
5172         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
5174 2016-08-30  Svante Signell  <svante.signell@gmail.com>
5176         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
5177         it point to a dumb buffer for RPC to fill it.
5179 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5181         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
5182         instead of if/else.
5183         (do_sin_slow): Likewise.
5184         (do_sincos_1): Use fabs instead of if/else.
5185         (do_sincos_2): Likewise.
5186         (__sin): Likewise.
5187         (__cos): Likewise.
5188         (slow2): Likewise.
5189         (sloww): Likewise.
5190         (sloww1): Likewise.  Drop argument M.
5191         (sloww2): Use fabs instead of if/else.
5192         (bsloww): Likewise.
5193         (bsloww1): Likewise.
5194         (bsloww2): Likewise.
5196         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
5197         fall through comment.
5198         (do_sincos_1): Likewise.
5200         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
5201         Consolidate switch cases 0 and 2.
5203 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5205         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
5206         (libm-calls): Remove the above.
5208         * math/s_cexp_template.c: Update using type-generic macros.
5209         * math/s_clog10_template.c: Likewise.
5210         * math/s_cpow_template.c: Likewise.
5211         * math/s_clog_template.c: Likewise.
5212         * math/s_cproj_template.c: Likewise.
5213         * math/s_csqrt_template.c: Likewise.
5215         * math/s_cexp.c: Removed.
5216         * math/s_cexpf.c: Removed.
5217         * math/s_cexpl.c: Removed.
5218         * math/s_clog10.c: Removed.
5219         * math/s_clog10f.c: Removed.
5220         * math/s_clog10l.c: Removed.
5221         * math/s_cpow.c: Removed.
5222         * math/s_cpowf.c: Removed.
5223         * math/s_cpowl.c: Removed.
5224         * math/s_clog.c: Removed.
5225         * math/s_clogf.c: Removed.
5226         * math/s_clogl.c: Removed.
5227         * math/s_cproj.c: Removed.
5228         * math/s_cprojf.c: Removed.
5229         * math/s_cprojl.c: Removed.
5230         * math/s_csqrt.c: Removed.
5231         * math/s_csqrtf.c: Removed.
5232         * math/s_csqrtl.c: Removed.
5234         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
5235         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
5236         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
5237         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
5238         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
5239         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
5241         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
5242         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
5243         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
5244         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
5245         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
5246         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
5247         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
5248         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
5249         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
5250         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
5251         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
5253         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
5254         version.
5256         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
5257         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
5258         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
5259         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
5261 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5263         * s_cexp_template.c: Copy of s_cexp.c.
5264         * s_clog_template.c: Copy of s_clog.c.
5265         * s_clog10_template.c: Copy of s_clog10.c.
5266         * s_cpow_template.c: Copy of s_cpow.c.
5267         * s_cproj_template.c: Copy of s_cproj.c.
5268         * s_csqrt_template.c: Copy of s_csqrt.c.
5270 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5272         [BZ #20517]
5273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
5274         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
5275         exported.
5277 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
5279         * math/fetestexceptflag.c: New file.
5280         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
5281         Stefan Liebler.
5282         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5283         (fetestexceptflag): New function declaration.
5284         * manual/arith.texi (fetestexceptflag): Document function.
5285         * math/Versions (fetestexceptflag): New libm symbol at version
5286         GLIBC_2.25.
5287         * math/Makefile (libm-support): Add fetestexceptflag.
5288         (tests): Add test-fetestexceptflag.
5289         * math/test-fetestexceptflag.c: New file.
5290         * sysdeps/nacl/libm.abilist: Update.
5291         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5292         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5293         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5294         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5295         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5296         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5297         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5298         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5299         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5300         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5301         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5302         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5304         Likewise.
5305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5306         Likewise.
5307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5308         Likewise.
5309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5310         Likewise.
5311         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5312         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5313         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5314         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5315         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5317         Likewise.
5318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5319         Likewise.
5320         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5321         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5322         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5324 2016-08-26  Florian Weimer  <fweimer@redhat.com>
5326         [BZ #20432]
5327         Avoid strong references to malloc-internal symbols when linking
5328         statically, to support statically interposed mallocs.
5329         * include/libc-symbols.h (call_function_static_weak): New macro.
5330         * malloc/Makefile (tests): Add tst-interpose-nothread,
5331         tst-interpose-thread, tst-interpose-static-nothread,
5332         tst-interpose-static-thread.
5333         (tests-static): Add tst-interpose-static-nothread,
5334         tst-interpose-static-thread.
5335         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
5336         tst-interpose-aux-thread.o.
5337         (test-extras): Add tst-interpose-aux-nothread,
5338         tst-interpose-aux-thread.
5339         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
5340         tst-interpose-aux-nothread.o.
5341         (tst-interpose-thread, tst-interpose-static-thread): Link with
5342         tst-interpose-aux-thread.o and libthread.
5343         * malloc/tst-interpose-aux-nothread.c: New file.
5344         * malloc/tst-interpose-aux-thread.c: Likewise.
5345         * malloc/tst-interpose-aux.c: Likewise.
5346         * malloc/tst-interpose-aux.h: Likewise.
5347         * malloc/tst-interpose-nothread.c: Likewise.
5348         * malloc/tst-interpose-skeleton.c: Likewise.
5349         * malloc/tst-interpose-static-nothread.c: Likewise.
5350         * malloc/tst-interpose-static-thread.c: Likewise.
5351         * malloc/tst-interpose-thread.c: Likewise.
5352         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
5353         * sysdeps/mach/hurd/fork.c (__fork): Only call
5354         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
5355         __malloc_fork_unlock_child if defined.
5356         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
5358 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5360         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
5361         timespec C99 designated initialization.
5363 2016-08-26  Florian Weimer  <fweimer@redhat.com>
5365         [BZ #19946]
5366         Avoid expected SIGALRM signals.
5367         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
5368         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
5369         (xpthread_create, xpthread_detach, xpthread_join)
5370         (delayed_exit_thread, delayed_exit): New functions.
5371         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
5372         (tf): Use xpthread_cond_wait.
5373         (do_test): Likewise.  Replace alarm with delayed_exit.
5374         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
5375         (do_test): Call delayed_exit.  Report failure.
5376         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
5377         (do_test): Call delayed_exit.
5378         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
5379         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
5380         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
5381         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
5382         error.
5383         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
5384         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
5385         error.
5386         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
5387         (do_test): Call delayed_exit.
5388         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
5389         (do_test): Call delayed_exit.
5390         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
5391         (do_test): Call delayed_exit instead of alarm.  Use
5392         xpthread_mutex_lock.
5393         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
5394         (do_test): Call delayed_exit instead of alarm.  Use
5395         xpthread_mutex_lock.
5396         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
5397         (do_test): Call delayed_exit instead of alarm.
5398         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
5399         (do_test): Call delayed_exit instead of alarm.  Use
5400         xpthread_spin_lock.
5401         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
5402         (do_test): Call delayed_exit instead of alarm.  Use
5403         xpthread_join.
5405 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
5407         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
5408         adjust CFA when allocating register save area on re-aligned
5409         stack.
5411 2016-08-26  Florian Weimer  <fweimer@redhat.com>
5413         * string/tst-cmp.c: New test.
5414         * string/Makefile (tests): Add it.
5416 2016-08-25  Mark Wielaard  <mark@klomp.org>
5418         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
5419         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
5420         (check_tree_recurse): Use newly defined accessors.
5421         (check_tree): Likewise.
5422         (maybe_split_for_insert): Likewise.
5423         (__tfind): Likewise.
5424         (__tdelete): Likewise.
5425         (trecurse): Likewise.
5426         (tdestroy_recurse): Likewise.
5427         (__tsearch): Likewise. And add asserts for malloc alignment.
5428         (__twalk): Cast root to node in case CHECK_TREE is defined.
5430 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5432         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
5434 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5436         * math/Makefile (libm-gen-calls): Add
5437         catan, catanh, ctan, ctanh.
5438         (libm-calls): Remove the above.
5440         * math/s_catan_template.c: Update using type-generic macros.
5441         * math/s_catanh_template.c: Likewise.
5442         * math/s_ctan_template.c: Likewise.
5443         * math/s_ctanh_template.c: Likewise.
5445         * math/s_catanf.c: Removed.
5446         * math/s_catan.c: Removed.
5447         * math/s_catanl.c: Removed.
5448         * math/s_catanhf.c: Removed.
5449         * math/s_catanh.c: Removed.
5450         * math/s_catanhl.c: Removed.
5451         * math/s_ctanf.c: Removed.
5452         * math/s_ctan.c: Removed.
5453         * math/s_ctanl.c: Removed.
5454         * math/s_ctanhf.c: Removed.
5455         * math/s_ctanh.c: Removed.
5456         * math/s_ctanhl.c: Removed.
5458         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
5459         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
5460         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
5461         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
5462         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
5463         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
5465         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
5466         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
5467         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
5468         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
5470 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5472         * s_catan_template.c: Copy of s_catan.c.
5473         * s_catanh_template.c: Copy of s_catanh.c.
5474         * s_ctan_template.c: Copy of s_ctan.c.
5475         * s_ctanh_template.c: Copy of s_ctanh.c.
5477 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5479         * math/Makefile (gen-libm-calls): Move
5480         casin, casinh, csin, csinh here.
5481         (libm-calls): Remove the above.
5483         * math/s_casin_template.c: Update using type-generic macros.
5484         * math/s_casinh_template.c: Likewise.
5485         * math/s_csin_template.c: Likewise.
5486         * math/s_csinh_template.c: Likewise.
5487         * math/k_casinh_template.c: Likewise.
5489         * math/s_casinf.c: Removed.
5490         * math/s_casin.c: Removed.
5491         * math/s_casinl.c: Removed.
5492         * math/s_casinh.c: Removed.
5493         * math/s_casinhf.c: Removed.
5494         * math/s_casinhl.c: Removed.
5495         * math/s_csin.c: Removed.
5496         * math/s_csinf.c: Removed.
5497         * math/s_csinl.c: Removed.
5498         * math/s_csinh.c: Removed.
5499         * math/s_csinhf.c: Removed.
5500         * math/s_csinhl.c: Removed.
5501         * math/k_casinh.c: Removed.
5502         * math/k_casinhf.c: Removed.
5503         * math/k_casinhl.c: Removed.
5505         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
5506         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
5507         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
5508         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
5510         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
5511         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
5512         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
5513         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
5514         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
5515         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
5516         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
5517         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
5519         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
5520         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
5521         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
5522         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
5524         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
5525         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
5526         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
5527         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
5529 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5531         * s_casin_template.c: Copy of s_casin.c.
5532         * s_casinh_template.c: Copy of s_casinh.c.
5533         * s_csin_template.c: Copy of s_csin.c.
5534         * s_csinh_template.c: Copy of s_csinh.c.
5535         * k_casinh_template.c: Copy of k_casinh.c.
5537 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5539         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
5541 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5543         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
5544         (mul_split) Remove, rename as mul_splitl, remove
5545         redundant float.h include, and include via mul_splitl.h
5547         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
5548         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5549         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5550         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
5551         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
5553         * math/mul_splitl.h: New file.
5555         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
5556         Move into mul_split.h, and remove redundant float.h include.
5558         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
5559         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
5560         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5561         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
5563         * math/mul_split.h: New file.
5565 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5567         * math/Makefile (libm-gen-calls): Move
5568         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
5569         (libm-calls): Remove above.
5571         * math/s_cacos_template.c: Update using type-generic macros.
5572         * math/s_cacosh_template.c: Likewise.
5573         * math/s_ccos_template.c: Likewise.
5574         * math/s_ccosh_template.c: Likwise.
5576         * math/s_cacosf.c: Removed.
5577         * math/s_cacos.c: Removed.
5578         * math/s_cacosl.c: Removed.
5579         * math/s_cacoshf.c: Removed.
5580         * math/s_cacosh.c: Removed.
5581         * math/s_cacoshl.c: Removed.
5582         * math/s_ccosf.c: Removed.
5583         * math/s_ccos.c: Removed.
5584         * math/s_ccosl.c: Removed.
5585         * math/s_ccoshf.c: Removed.
5586         * math/s_ccosh.c: Removed.
5587         * math/s_ccoshl.c: Removed.
5589         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
5590         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
5591         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
5592         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
5593         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
5594         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
5596         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
5597         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
5598         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
5599         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
5601         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
5602         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
5603         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
5604         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
5606 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5608         * s_cacos_template.c: Copy of s_cacos.c.
5609         * s_cacosh_template.c: Copy of s_cacosh.c.
5610         * s_ccos_template.c: Copy of s_ccos.c.
5611         * s_ccosh_template.c: Copy of s_ccosh.c.
5613 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5615         * stdlib/tst-strtod-round-skeleton.c:
5616         Refactored from tst-strtod-round.c.
5618         (L_): New macro to apply literal modifier.
5619         (FNPFX): New macro to select str or wcs prefix.
5620         (CHAR): New macro to choose wchar_t or char.
5621         (STRM): New macro to choose printf for tested character type.
5623         (STRTO): New macro to choose appropriate string -> real function.
5624         (FNPFXS): Stringitized version of FNPFX.
5625         (STR): Support for above macro.
5626         (STRX): Likewise.
5628         (TEST): Update with above macros.
5629         (test): Likewise.
5630         (GEN_ONE_TEST): Likewise.
5631         (test_in_one_mode): Likewise.
5633         * stdlib/tst-strtod-round.c: New file.
5634         * wcsmbs/tst-wcstod-round.c: New file.
5636         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
5637         (tst-wcstod-round): Add libm depencency for fesetround.
5639 2016-08-19  Zack Weinberg  <zackw@panix.com>
5641         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
5643 2016-08-18  Torvald Riegel  <triegel@redhat.com>
5645         [BZ #20477]
5646         * resolv/res_hconf.c (do_init): Use atomic access.
5647         * resolv/res_hconf.h: Add comments.
5648         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
5649         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
5650         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5652 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
5654         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
5655         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
5656         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
5657         Likewise.
5659 2016-08-18  Florian Weimer  <fweimer@redhat.com>
5661         [BZ #16907]
5662         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
5663         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
5664         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
5665         (__attribute__): Remove definition.
5667 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5669         * sysdeps/ieee754/ldbl-128/e_asinl.c:
5670         Remove unused sqrtl declaration.
5672 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5674         * math/Makefile: (gen-libm-templates.stmp): New rule.
5675         (libm-calls): Move carg conj cimag and cabs into ...
5676         (gen-libm-calls): New variable.
5677         (generated): Inform Make objects from gen-libm-calls
5678         may be generated.
5680         * sysdeps/generic/math-type-macros.h: New file.
5681         * sysdeps/generic/math-type-macros-float.h: Likewise.
5682         * sysdeps/generic/math-type-macros-double.h: Likewise.
5683         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
5684         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
5685         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
5687         * math/cabs.c: Refactor into
5688         * math/cabs_template.c: new file.
5689         * math/cabsf.c: Removed.
5690         * math/cabsl.c: Removed.
5691         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
5692         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
5694         * math/carg.c: Refactor into
5695         * math/carg_template.c: new file.
5696         * math/cargf.c: Removed.
5697         * math/cargl.c: Removed.
5698         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
5699         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
5701         * math/conj.c: Refactor into
5702         * math/conj_template.c: new file.
5703         * math/conjf.c: Removed.
5704         * math/conjl.c: Removed.
5705         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
5706         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
5708         * math/cimag.c: Refactor into
5709         * math/cimag_template.c: new file.
5710         * math/cimagf.c: Removed.
5711         * math/cimagl.c: Removed.
5712         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
5713         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
5715         * math/cimag.c: Refactor into
5716         * math/cimag_template.c: new file.
5717         * math/cimagf.c: Removed.
5718         * math/cimagl.c: Removed.
5719         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
5720         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
5722 2016-08-17  Florian Weimer  <fweimer@redhat.com>
5724         Reduce time to expected nptl/tst-once5 failure.
5725         * nptl/tst-once5.cc (TIMEOUT): Define.
5727 2016-08-17  Florian Weimer  <fweimer@redhat.com>
5729         [BZ #20452]
5730         Avoid additional copies of objects in libc.a in static libraries.
5731         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
5732         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
5733         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
5734         rt-sysdep.
5735         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
5736         Add nptl-sysdep.
5737         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
5738         Add ptw-sysdep.
5739         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
5740         rt-sysdep.
5741         * sysdeps/unix/sysv/linux/alpha/Makefile
5742         (libpthread-shared-only-routines): Add ptw-sysdep,
5743         ptw-sigprocmask, ptw-rt_sigaction.
5744         * sysdeps/unix/sysv/linux/ia64/Makefile
5745         (librt-shared-only-routines): Add rt-sysdep.
5746         * sysdeps/unix/sysv/linux/i386/Makefile
5747         (libpthread-shared-only-routines): Add libc-do-syscall.
5748         * sysdeps/unix/sysv/linux/microblaze/Makefile
5749         (libpthread-shared-only-routines): Add sysdep.
5750         * sysdeps/unix/sysv/linux/powerpc/Makefile
5751         (librt-shared-only-routines): Add rt-sysdep.
5752         (libpthread-shared-only-routines): Add sysdep.
5753         * sysdeps/unix/sysv/linux/s390/Makefile
5754         (librt-shared-only-routines): Add rt-sysdep.
5755         * sysdeps/unix/sysv/linux/sparc/Makefile
5756         (librt-shared-only-routines): Add rt-sysdep.
5757         (libpthread-shared-only-routines): Add sysdep.
5758         * sysdeps/unix/sysv/linux/tile/Makefile
5759         (libpthread-shared-only-routines): Likewise.
5761 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
5763         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
5764         Mask implicit bit out of unpacked value.
5765         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
5766         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
5767         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
5769         * sysdeps/sparc/fpu/fesetexcept.c: New file.
5771         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
5773         * sysdeps/s390/fpu/fesetexcept.c: New file.
5775         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
5776         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
5777         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
5779         * sysdeps/mips/fpu/fesetexcept.c: New file.
5781         * sysdeps/m68k/fpu/fesetexcept.c: New file.
5783         * sysdeps/ia64/fpu/fesetexcept.c: New file.
5785         * sysdeps/hppa/fpu/fesetexcept.c: New file.
5787         * sysdeps/arm/fesetexcept.c: New file.
5789         * sysdeps/alpha/fpu/fesetexcept.c: New file.
5791         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
5793         * math/fesetexcept.c: New file.
5794         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
5795         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
5796         * math/fenv.h: Define
5797         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5798         <bits/libc-header-start.h> instead of including <features.h>.
5799         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
5800         declaration.
5801         * manual/arith.texi (fesetexcept): Document function.
5802         * math/Versions (fesetexcept): New libm symbol at version
5803         GLIBC_2.25.
5804         * math/Makefile (libm-support): Add fesetexcept.
5805         (tests): Add test-fesetexcept and test-fesetexcept-traps.
5806         * math/test-fesetexcept.c: New file.
5807         * math/test-fesetexcept-traps.c: Likewise.
5808         * sysdeps/nacl/libm.abilist: Update.
5809         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5810         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5811         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5812         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5813         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5814         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5815         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5816         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5817         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5818         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5819         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5820         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5822         Likewise.
5823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5824         Likewise.
5825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5826         Likewise.
5827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5828         Likewise.
5829         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5830         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5831         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5832         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5833         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5835         Likewise.
5836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5837         Likewise.
5838         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5839         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5840         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5842 2016-08-16  Florian Weimer  <fweimer@redhat.com>
5844         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
5845         New.
5846         (do_test): Apply default_stack_size_in_mb if not set.
5847         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
5849 2016-08-15  Andreas Schwab  <schwab@suse.de>
5851         [BZ #20435]
5852         CVE-2016-6323
5853         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
5854         as .cantunwind.
5856 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
5858         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
5859         comment from fraiseexcpt.c.
5861         * math/test-fexcept.c (feraiseexcept_exact): New function.
5862         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
5863         (test_except): Likewise.
5865 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
5867         [BZ #20455]
5868         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
5869         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
5870         to be restored.
5872         * math/test-fexcept-traps.c: New file.
5873         * math/test-fexcept.c: Likewise.
5874         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
5875         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
5876         macro.
5877         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
5878         (EXCEPTION_SET_FORCES_TRAP): Likewise.
5880 2016-08-09  Torvald Riegel  <triegel@redhat.com>
5882         * include/atomic.h (atomic_fetch_and_relaxed,
5883         atomic_fetch_and_release, atomic_fetch_or_release,
5884         atomic_fetch_xor_release): New.
5886 2016-08-06  Christian Seiler  <christian@iwakd.de>
5888         [BZ #20444]
5889         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
5890         MACH_PORT_NULL.
5892 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5894         * math/s_fdim.c: Avoid alias renamed.
5895         * math/s_fdimf.c: Likewise.
5896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5897         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5898         Add s_fdimf-vis3, s_fdim-vis3.
5899         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
5900         (CFLAGS-s_fdim-vis3.c): Likewise.
5901         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
5902         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
5904 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5907         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5908         Remove s_fdimf-vis3, s_fdim-vis3.
5909         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
5910         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
5911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
5912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
5913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
5914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
5915         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
5916         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
5917         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
5918         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
5920 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5922         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
5923         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
5924         -Wa,-Av9a -mvis.
5926 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5928         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
5929         LIT() to individual constants in simple expressions
5930         after splitting on spaces.
5931         (_apply_lit): Rename replaced version, and use it to
5932         apply to what appears to be a token.
5934         * math/libm-test.inc: Fix many, many issues with
5935         spacing.
5937 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
5939         * math/math.h: Move comment about <bits/mathdef.h> definitions
5940         above inclusion of <bits/mathdef.h>.  Do not mention
5941         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
5943 2016-08-05  Torvald Riegel  <triegel@redhat.com>
5945         * include/atomic.h (atomic_exchange_relaxed): New.
5947 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
5949         * math/e_scalb.c: Do not include <fenv.h>.
5950         (invalid_fn): Do calculation resulting in NaN instead of raising
5951         FE_INVALID and returning a NaN explicitly.
5952         * math/e_scalbf.c: Do not include <fenv.h>.
5953         (invalid_fn): Do calculation resulting in NaN instead of raising
5954         FE_INVALID and returning a NaN explicitly.
5955         * math/e_scalbl.c: Do not include <fenv.h>.
5956         (invalid_fn): Do calculation resulting in NaN instead of raising
5957         FE_INVALID and returning a NaN explicitly.
5959 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
5961         * po/de.po: Updated from Translation Project.
5962         * po/fi.po: Likewise.
5963         * po/sv.po: Likewise.
5965 2016-08-04  Florian Weimer  <fweimer@redhat.com>
5967         [BZ #20452]
5968         Use sysdep.o from libc.a in static libraries.
5969         * sysdeps/unix/sysv/linux/i386/Makefile
5970         (libpthread-shared-only-routines): Add sysdep.
5971         (librt-shared-only-routines): Likewise.
5973 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5975         * math/tgmath.h (nextdown): Define if
5976         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
5977         (nextup): Likewise.
5979         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
5980         macro.
5981         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
5982         Document.
5983         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
5984         Document macro.
5985         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
5986         (exp10f): Likewise.
5987         (exp10l): Likewise.
5988         * math/bits/mathcalls.h (exp10): Declare if
5989         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
5991         * manual/arith.texi (nextup): Fix typo in last change.
5993 2016-08-03  Zack Weinberg  <zackw@panix.com>
5995         [BZ #19239]
5996         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
5997         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
5998         define major, minor, and makedev to issue deprecation warnings on use.
5999         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
6000         previously-activated deprecation warnings for these macros and prevent
6001         subsequent inclusions of this header from having any effect.
6002         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
6003         including <sys/sysmacros.h>, and undefine it again afterward.
6005 2016-08-03  Zack Weinberg  <zackw@panix.com>
6007         * sysdeps/generic/sys/sysmacros.h: Delete file.
6008         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
6009         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
6010         * bits/sysmacros.h: ... here; this encoding is now the generic
6011         encoding.  Now defines only the following macros:
6012         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
6013         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
6014         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
6016         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
6017         bits/sysmacros.h and the above new macros to generate the
6018         public implementations of major, minor, and makedev.
6019         * misc/tst-makedev.c: New test.
6020         * include/sys/sysmacros.h: New wrapper.
6022         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
6023         (routines): Add makedev.
6024         (tests): Add tst-makedev.
6025         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
6026         gnu_dev_makedev.
6027         * posix/Makefile (headers): Remove sys/sysmacros.h.
6028         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
6030         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
6031         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
6032         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
6033         * sysdeps/unix/sysv/linux/alpha/libc.abilist
6034         * sysdeps/unix/sysv/linux/arm/libc.abilist
6035         * sysdeps/unix/sysv/linux/hppa/libc.abilist
6036         * sysdeps/unix/sysv/linux/i386/libc.abilist
6037         * sysdeps/unix/sysv/linux/ia64/libc.abilist
6038         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
6039         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
6040         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
6041         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6042         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6043         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6044         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6045         * sysdeps/unix/sysv/linux/nios2/libc.abilist
6046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6050         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
6051         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
6052         * sysdeps/unix/sysv/linux/sh/libc.abilist
6053         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
6054         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
6055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
6056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
6057         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
6058         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
6059         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
6060         Add GLIBC_2.25.
6062         * include/features.h (__glibc_clang_prereq): New macro.
6063         * misc/sys/cdefs.h (__glibc_clang_has_extension)
6064         (__attribute_deprecated_msg__): New macros.
6066 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
6068         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
6069         macro.
6070         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
6071         * manual/arith.texi (issignaling): Document as ISO from TS
6072         18661-1:2014.
6073         (nextup): Likewise.
6074         (nextupf): Likewise.
6075         (nextupl): Likewise.
6076         (nextdown): Likewise.
6077         (nextdownf): Likewise.
6078         (nextdownl): Likewise.
6079         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
6080         macro.
6081         * math/math.h: Define
6082         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6083         <bits/libc-header-start.h> instead of including <features.h>.
6084         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
6085         [__USE_GNU].
6086         * math/bits/mathcalls.h (nextdown): Declare if
6087         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
6088         (nextup): Likewise.
6089         (__issignaling): Likewise.
6091 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6093         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
6094         check, and remove __glibc_likely hint
6095         from FP_INFINITE check.
6096         * s_csinhf.c (__csinhf): Likewise.
6098         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
6099         hint from FP_INFINITE check.
6100         * s_csinhl.c (__csinhl): Likewise.
6102 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6104         * math/Makefile (libm-calls): Insert F placeholder into
6105         object names.  Move w_lgamma_compat* routines into
6106         (libm-compat-calls): New variable.
6107         (libm-compat-calls-ldouble-yes): New variable.
6108         (calls): Insert F placeholder.
6109         (generated): Redefine using new type-foreach macro call.
6110         (routines): Likewise.
6112         (types): New variable to hold a list of symbolic names
6113         for each type supported by the target machine.
6114         (libm-routines): Redefine using new types variable.
6115         (type-foreach): macro to replace fooF with the
6116         appropriately suffixed foo for each types.
6118         (type-ldouble-suffix): New variable.
6119         (type-ldouble-routines): Likewise.
6120         (type-ldouble-yes): Likewise.
6121         (type-double-suffix): Likewise.
6122         (type-double-routines): Likewise.
6123         (type-float-suffix): Likewise.
6124         (type-float-routines): Likewise.
6126         (dbl-only-routines): Remove.
6127         (long-c-yes): Likewise.
6128         (long-m-routines): Likewise.
6129         (long-m-support): Likewise.
6130         (long-m-yes): Likewise.
6131         (test-longdouble-yes): Likewise.
6133         (test-float.o): Simplify by increasing the scope of the
6134         recipe which adds libm-test.stmp to the vector types.
6135         (test-ifloat.o): Likewise.
6136         (test-float-finite.o): Likewise.
6137         (test-double.o): Likewise
6138         (test-idouble.o): Likewise.
6139         (test-double-finite.o): Likewise.
6140         (test-ldouble.o): Likewise
6141         (test-ildoubl.o): Likewise.
6142         (test-ldouble-finite.o): Likewise.
6144         (libm-tests): Redefine type tests using foreach and the
6145         list of types in types.
6147         (CPPFLAGS-test-ildoubl.c): Rename to
6148         (CPPFLAGS-test-ildouble.c): New variable
6150         * math/test-ildoubl.c: Rename to
6151         * math/test-ildouble.c: New file.
6153 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6155         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
6156         Use fabsl instead of fabs.
6157         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
6158         Likewise.
6159         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
6160         Add long double suffix to constant to ensure proper
6161         promotion to long double.
6163 2016-08-03  Tom Tromey  <tom@tromey.com>
6165         [BZ #20311]
6166         * nptl_db/Makefile (headers): Add proc_service.h.
6167         * nptl_db/proc_service.h: Add include guard.  Use
6168         __BEGIN/__END_DECLS.
6169         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
6170         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
6171         arguments.
6174 2016-08-03  Florian Weimer  <fweimer@redhat.com>
6176         [BZ #17730]
6177         Avoid using memalign for TCB allocations.
6178         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
6179         (_dl_allocate_tls_storage): Use malloc and manual alignment.
6180         Avoid alignment gap in the TLS_DTV_AT_TP case.
6181         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
6182         determine the pointer to free.
6183         * nptl/tst-tls3-malloc.c: New test.
6184         * nptl/Makefile (tests): Add it.
6185         (tst-tls3-malloc): Link with libdl, libpthread.
6186         (LDFLAGS-tst-tls3-malloc): Set.
6187         (tst-tls3-malloc.out): Depend on DSO used in test.
6189 2016-08-03  Florian Weimer  <fweimer@redhat.com>
6191         [BZ #17730]
6192         Avoid using memalign for TLS allocations.
6193         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
6194         is_static member with to_free member.
6195         (union dtv): Use struct dtv_pointer.
6196         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
6197         dtv_pointer instead of is_static.
6198         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
6199         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
6200         instead of val.
6201         (allocate_dtv_entry): New function.
6202         (allocate_and_init): Return struct dtv_pointer.  Call
6203         allocate_dtv_entry instead of __libc_memalign.
6204         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
6205         instead of val.
6206         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
6207         instead of is_static.  Adjust call to allocate_and_init.
6208         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
6209         struct dtv_pointer instead of val.
6211 2016-08-03  Florian Weimer  <fweimer@redhat.com>
6213         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
6214         (MALLOC_ALIGN_MASK): Move ...
6215         * malloc/malloc-internal.h: ... to here.
6216         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
6218 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
6220         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
6221         (UDP_ENCAP_GTP1U): Likewise.
6223         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
6224         (PF_MAX): Update value.
6225         (AF_QIPCRTR): New macro.
6227 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
6229         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
6230         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6231         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6232         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
6233         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
6234         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
6235         s_truncf-vis3, s_trunc-vis3.
6236         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
6237         (CFLAGS-s_ceil-vis3.c): Likewise.
6238         (CFLAGS-s_floorf-vis3.c): Likewise.
6239         (CFLAGS-s_floor-vis3.c): Likewise.
6240         (CFLAGS-s_truncf-vis3.c): Likewise.
6241         (CFLAGS-s_trunc-vis3.c): Likewise.
6242         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
6243         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
6244         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
6245         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
6246         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
6247         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
6248         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
6249         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
6250         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
6251         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
6252         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
6253         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
6255 2016-08-02  David S. Miller  <davem@davemloft.net>
6257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
6258         (__nearbyint_vis3): Don't check for sNaN before float register is
6259         loaded with the incoming argument.
6260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
6261         (__nearbyintf_vis3): Likewise.
6262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
6263         Likewise.
6264         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
6265         Likewise.
6267         * string/test-strncmp.c (do_test_limit): Make sure the test data
6268         stream is aligned as required for the type "CHAR".
6269         (do_test): Likewise.
6271 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
6273         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
6274         by beq instructions jumping to the end of the function.
6275         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
6276         clobber list. Use "i" constraint instead of "X".
6277         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
6278         of "X".
6280 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
6282         * bits/libc-header-start.h: New file.
6283         * Makefile (headers): Add bits/libc-header-start.h.
6284         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
6285         (__GLIBC_USE): New macro.
6286         * libio/stdio.h: Define
6287         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6288         <bits/libc-header-start.h> instead of including <features.h>.
6289         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
6290         (open_memstream): Likewise.
6291         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
6292         (__asprintf): Likewise.
6293         (asprintf): Likewise.
6294         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
6295         (getdelim): Likewise.
6296         (getline): Likewise.
6297         * string/string.h: Define
6298         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6299         <bits/libc-header-start.h> instead of including <features.h>.
6300         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
6301         (strndup): Likewise.
6302         * wcsmbs/wchar.h: Define
6303         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6304         <bits/libc-header-start.h> instead of including <features.h>.
6305         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
6306         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
6308 2016-08-02  Florian Weimer  <fweimer@redhat.com>
6310         Support linking against compatibility symbols, for use in tests.
6311         * include/libc-symbols.h (symbol_version_reference): New macro.
6312         (symbol_version): Use it.
6313         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
6314         (compat_symbol): Use compat_symbol_reference.
6315         (compat_symbol_1, compat_symbol_2): Remove.
6316         (compat_symbol_reference, compat_symbol_reference_1)
6317         (compat_symbol_reference_2): New macro.  Use
6318         symbol_version_reference.
6320 2016-08-02  Florian Weimer  <fweimer@redhat.com>
6322         [BZ #19469]
6323         * malloc/Makefile (CPPFLAGS): Compile tests with
6324         -DTEST_NO_MALLOPT.
6325         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
6327 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
6329         [BZ #20033]
6330         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
6331         finite version.
6332         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
6333         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
6334         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
6335         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
6336         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
6337         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
6338         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
6339         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
6340         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
6341         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
6342         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
6343         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
6344         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
6345         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
6346         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
6347         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
6348         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
6349         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
6350         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
6351         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
6352         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
6353         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
6354         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
6355         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
6356         in zero power.
6358 2016-08-02  Florian Weimer  <fweimer@redhat.com>
6360         [BZ #20370]
6361         * malloc/arena.c (get_free_list): Update comment.  Assert that
6362         arenas on the free list have no attached threads.
6363         (remove_from_free_list): New function.
6364         (reused_arena): Call it.
6366 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
6368         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
6369         when it is a NaN.
6370         [_IEEE_FP_INEXACT] Remove.
6371         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
6372         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
6373         when it is a NaN.
6374         [_IEEE_FP_INEXACT] Remove.
6375         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
6376         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
6377         when it is a NaN.
6378         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
6379         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
6380         when its absolute value is greater than 0x1.0p52.
6381         [_IEEE_FP_INEXACT] Remove.
6382         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
6383         when its absolute value is greater than 0x1.0p23.
6384         [_IEEE_FP_INEXACT] Remove.
6386 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
6388         * version.h (RELEASE): Set to "development"
6389         (VERSION): Set to 2.24.90.
6390         * NEWS: Add 2.25 section.
6392         * version.h (RELEASE): Set to "stable"
6393         (VERSION): Set to 2.24.
6394         * include/features.h (__GLIBC_MINOR__): Set to 24.
6396         * NEWS: Add 2.24 fixed bugs.
6397         * po/libc.pot: Regenerate.
6399 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
6401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6402         [$(subdir) = math] (libm-sysdep_routines): Remove.
6403         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
6404         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
6405         s_truncf-vis3, s_trunc-vis3.
6406         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
6408         file.
6409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
6410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
6411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
6412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
6415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
6416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
6418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
6419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
6420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
6421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
6422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
6423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
6424         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6425         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6426         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6427         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
6428         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
6429         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
6430         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
6431         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
6432         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6433         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
6434         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6435         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6436         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
6437         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
6438         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6439         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
6440         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
6441         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6442         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
6443         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
6444         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
6445         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
6446         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6447         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6448         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
6449         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
6450         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
6451         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
6453 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
6455         [BZ #20384]
6456         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
6457         test-double-libmvec-sincos-avx-main.o,
6458         test-double-libmvec-sincos-avx2-main.o,
6459         test-double-libmvec-sincos-main.o,
6460         test-float-libmvec-sincosf-avx-main.o,
6461         test-float-libmvec-sincosf-avx2-main.o and
6462         test-float-libmvec-sincosf-main.o.
6463         test-float-libmvec-sincosf-avx512-main.o.
6464         ($(objpfx)test-double-libmvec-sincos): Also link with
6465         $(objpfx)test-double-libmvec-sincos-main.o.
6466         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
6467         $(objpfx)test-double-libmvec-sincos-avx-main.o.
6468         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
6469         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
6470         ($(objpfx)test-float-libmvec-sincosf): Also link with
6471         $(objpfx)test-float-libmvec-sincosf-main.o.
6472         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
6473         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
6474         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
6475         test-double-libmvec-sincos-avx512-main.o and
6476         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
6477         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
6478         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
6479         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
6480         (CFLAGS-test-double-libmvec-sincos.c): Removed.
6481         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
6482         (CFLAGS-test-double-libmvec-sincos-main.c): New.
6483         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
6484         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
6485         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
6486         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
6487         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
6488         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
6489         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
6490         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
6491         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
6492         -DREQUIRE_AVX2.
6493         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
6494         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
6495         -DREQUIRE_AVX512F.
6496         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
6497         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
6498         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
6499         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
6500         file.
6501         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
6502         Likewise.
6503         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
6504         Likewise.
6505         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
6506         Likewise.
6507         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
6508         Likewise.
6509         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
6510         Likewise.
6511         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
6512         Likewise.
6513         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
6514         Likewise.
6516 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
6518         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
6520 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
6522         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
6523         and typo in a comment about AT_HWCAP entry.
6525 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6527         * sysdeps/aarch64/libm-test-ulps: Updated.
6529 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6531         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
6532         of r13 as it is not restored in mvcle case.
6534 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
6536         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
6537         Rename "ret" to "__ret".
6538         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
6539         inline_syscall5, inline_syscall6): Likewise.
6541 2016-07-19   Will Newton  <will.newton@gmail.com>
6543         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
6544         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
6545         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
6546         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
6547         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
6549 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
6551         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
6552         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
6553         -mfpmath=387 with $(rtld-CFLAGS).
6554         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
6555         $(rtld-CFLAGS).
6557 2016-07-18   Ross Burton  <ross.burton@intel.com>
6558              Khem Raj  <raj.khem@gmail.com>
6560         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
6561         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
6562         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
6563         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
6564         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
6565         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
6566         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
6567         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
6568         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
6569         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
6570         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
6571         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
6572         R_METAG_TLS_DTPOFF): New.
6574 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6575             Matt Clay  <mclay@lycos.com>
6577         [BZ #20357]
6578         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
6579         to call __mpsin/__mpcos and to negate values.
6580         * math/auto-libm-test-in: Add test.
6581         * math/auto-libm-test-out: Regenerate.
6583 2016-07-18  Zack Weinberg  <zackw@panix.com>
6585         * grp/Makefile: Don't install the internal header grp-merge.h.
6587 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6589         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6591 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6593         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
6595 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6597         [BZ #15368]
6598         * sysdeps/unix/sysv/linux/nptl-signals.h
6599         (__nptl_clear_internal_signals): New function.
6600         (__libc_signal_block_all): Likewise.
6601         (__libc_signal_block_app): Likewise.
6602         (__libc_signal_restore_set): Likewise.
6603         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
6604         implementation.
6605         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
6606         the cached pid/tid value in pthread structure.
6608 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
6610         [BZ #20347]
6611         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
6613 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
6615         [BZ #20348]
6616         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
6617         preadv64, pwrite64 and pwritev64.
6619 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
6621         [BZ #20350]
6622         * posix/tst-preadwrite.c: Renamed to ...
6623         * posix/tst-preadwrite-common.c: This.
6624         (PREAD): Removed.
6625         (PWRITE): Likewise.
6626         (STRINGIFY): Likewise.
6627         (STRINGIFY2): Likewise.
6628         (do_prepare): Make it static and remove function arguments.
6629         (do_test): Likewise.
6630         (PREPARE): Updated.
6631         (TEST_FUNCTION): New.
6632         (name): Make it static.
6633         (fd): Likewise.
6634         (do_prepare): Use create_temp_file.
6635         (do_test): Renamed to ...
6636         (do_test_with_offset): This.  Make it static and accept offset.
6637         Properly check return value of PWRITE and PREAD.  Return bytes
6638         read.  Don't close fd nor unlink name.
6639         * posix/tst-preadwrite.c: Rewrite.
6640         * posix/tst-preadwrite64.c: Likewise.
6642 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
6644         [BZ #20309]
6645         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
6646         -mtls-dialect=gnu2 works.
6647         * configure: Regenerated.
6648         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
6649         (tests): Add tst-gnu2-tls1.
6650         (modules-names): Add tst-gnu2-tls1mod.
6651         ($(objpfx)tst-gnu2-tls1): New.
6652         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
6653         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
6654         * elf/tst-gnu2-tls1.c: New file.
6655         * elf/tst-gnu2-tls1mod.c: Likewise.
6656         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
6657         bytes for push in the PLT entry to align the stack.
6659 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
6661         [BZ #20349]
6662         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
6664 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6666         [BZ #18707]
6667         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
6668         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
6670 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6672         * sysdeps/unix/sysv/linux/sysdep.h
6673         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
6674         guards.
6675         * misc/tst-preadvwritev-common.c: New file.
6676         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
6677         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
6678         a check for files larger than 2GB.
6680         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6681         (__ASSUME_OFF_DIFF_OFF64): Remove define.
6682         * sysdeps/unix/sysv/linux/pread.c
6683         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
6684         __OFF_T_MATCHES_OFF64_T.
6685         * sysdeps/unix/sysv/linux/pread64.c
6686         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
6687         * sysdeps/unix/sysv/linux/preadv.c
6688         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
6689         * sysdeps/unix/sysv/linux/preadv64.c
6690         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
6691         * sysdeps/unix/sysv/linux/pwrite.c
6692         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
6693         * sysdeps/unix/sysv/linux/pwrite64.c
6694         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
6695         * sysdeps/unix/sysv/linux/pwritev.c
6696         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
6697         * sysdeps/unix/sysv/linux/pwritev64.c
6698         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
6700 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
6702         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6703         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
6705 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
6707         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
6709 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
6711         [BZ #20240]
6712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
6713         (CFLAGS-s_modf-ppc32.c): New variable.
6714         (CFLAGS-s_modff-ppc32.c): Likewise.
6715         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6716         (CFLAGS-s_modf-ppc64.c): Likewise.
6717         (CFLAGS-s_modff-ppc64.c): Likewise.
6719 2016-07-07  Andreas Schwab  <schwab@suse.de>
6721         [BZ #20263]
6722         * nptl/tst-robust10.c: New test.
6723         * nptl/Makefile (tests): Add tst-robust10.
6725 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
6727         [BZ #20263]
6728         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
6730 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6732         * sysdeps/s390/linkmap.h (struct link_map_machine):
6733         Remove member gotplt and add member jmprel.
6734         * sysdeps/s390/s390-32/dl-machine.h
6735         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
6736         instead of gotplt with &got[3].
6737         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
6738         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6740 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
6742         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
6744 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6746         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
6747         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
6748         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
6749         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
6750         * libio/vtables.c (_IO_vtable_check)
6751         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
6752         * libio/libioP.h (IO_set_accept_foreign_vtables)
6753         [!PTR_MANGLE]: Do not call PTR_MANGLE.
6755 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
6757         [BZ #20314]
6758         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
6759         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
6760         $(common-objpfx)cmath.
6761         ($(common-objpfx)cstdlib): New target.
6762         ($(common-objpfx)cmath): Likewise.
6764 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
6766         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
6768 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6770         [BZ #20327]
6771         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
6772         are not part of the string.
6774 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6776         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
6777         * nptl/tst-cancel4-common.h (fifoname): New variable.
6778         (fifofd): Likewise.
6779         (cl_fifo): New function.
6780         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
6781         SIGINT.
6782         (tf_open): Add early cancel test.
6784 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
6786         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
6788 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
6790         * sysdeps/generic/ldsodefs.h
6791         (dl_symbol_visibility_binds_local_p): New inline function.
6792         * elf/dl-addr.c (determine_info): Treat hidden and internal
6793         symbols as local.
6794         * elf/dl-lookup.c (do_lookup_x): Likewise.
6795         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
6797 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
6799         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
6800         invalid exception for a sNaN input.
6801         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6802         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
6803         (__nearbyint_vis3): Likewise
6804         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
6805         (__nearbyintf_vis3): Likewise
6806         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
6807         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6808         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
6809         Likewise.
6810         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
6811         Likewise.
6813 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
6815         [BZ #20139]
6816         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
6817         (HAVE_AVX512DQ_ASM_SUPPORT): This.
6818         * sysdeps/x86_64/configure.ac: Require assembler from binutils
6819         2.24 or above.
6820         (HAVE_AVX512_ASM_SUPPORT): Removed.
6821         (HAVE_AVX512DQ_ASM_SUPPORT): New.
6822         * sysdeps/x86_64/configure: Regenerated.
6823         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
6824         check unconditional.
6825         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
6826         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6827         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6828         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
6829         Likewise.
6830         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6831         Likewise.
6832         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
6833         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
6834         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6835         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6836         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
6837         Likewise.
6838         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6839         Likewise.
6840         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6841         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6842         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
6843         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
6844         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
6845         Likewise.
6846         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
6847         Likewise.
6848         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
6849         Likewise.
6850         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
6851         Likewise.
6852         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
6853         Likewise.
6854         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
6855         Likewise.
6856         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
6857         Likewise.
6858         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
6859         Likewise.
6860         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
6861         Likewise.
6862         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
6863         Likewise.
6864         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
6865         Likewise.
6867 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
6869         [BZ #20024]
6870         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
6871         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
6872         of this implementation of vector function.
6873         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
6874         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
6875         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
6876         Likewise.
6877         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
6878         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
6879         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
6880         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
6881         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
6882         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
6883         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
6884         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
6885         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
6886         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
6887         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
6888         for testing vector sincos with fixed ABI.
6889         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6890         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6891         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6892         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
6893         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6894         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6895         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6896         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
6897         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
6898         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
6899         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
6900         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
6901         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
6902         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
6903         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
6904         * sysdeps/x86_64/fpu/Makefile: Added new tests.
6906 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
6908         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
6910 2016-06-30  Anton Blanchard  <anton@samba.org>
6912         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6913         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
6914         s_sinf-ppc64.
6915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
6916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
6917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
6918         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
6920 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6922         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6923         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6924         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
6925         e_expf-ppc64.
6926         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
6927         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
6928         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
6929         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
6931 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
6933         [BZ #20277]
6934         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
6935         when SHARED is defined.
6937 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
6939         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
6940         (index_arch_Prefer_ERMS): Likewise.
6941         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
6942         __memcpy_erms for Prefer_ERMS.
6943         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6944         (__memmove_erms): Enabled for libc.a.
6945         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
6946         __memmove_erms or Prefer_ERMS.
6947         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
6948         __mempcpy_erms for Prefer_ERMS.
6949         * sysdeps/x86_64/multiarch/memset.S (memset): Return
6950         __memset_erms for Prefer_ERMS.
6952 2016-06-30  Andreas Schwab  <schwab@suse.de>
6954         [BZ #20262]
6955         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
6956         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
6957         of memory.
6959 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
6961         [BZ #18645]
6962         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
6963         (test-extras): Add tst-cleanupx4aux.
6964         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
6965         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
6966         tst-cleanupx4aux.o.
6967         * nptl/tst-cleanupx4aux.c: New file.
6969 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
6971         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
6973 2016-06-29  Andreas Schwab  <schwab@suse.de>
6975         [BZ #20260]
6976         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
6977         address before the beginning of the string as an integer to avoid
6978         array-bounds warning.
6980 2016-06-28  Richard Henderson  <rth@redhat.com>
6982         * elf/elf.h (EM_BPF): New.
6983         (EM_NUM): Update.
6984         (R_BPF_NONE, R_BPF_MAP_FD): New.
6986         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
6987         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
6988         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
6989         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
6990         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
6991         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
6992         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
6993         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
6994         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
6995         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
6996         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
6997         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
6998         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
6999         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
7000         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
7001         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
7002         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
7003         (EM_NUM): Update.
7005 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
7007         [BZ #18960]
7008         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
7009         Set _nl_current_LC_CATEGORY_used to two instead of one.
7011 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
7013         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
7014         (do_test): ... this.
7015         (TEST_FUNCTION): New macro.
7016          Include test-skeleton.c.
7017         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
7018         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
7020 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
7022         [BZ #15479]
7023         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
7024         floating-point environment rather than just control word.
7025         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7026         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
7027         floating-point environment, with "invalid" exceptions merged in,
7028         rather than just control word.
7029         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
7030         * math/libm-test.inc (trunc_test_data): Do not allow spurious
7031         "inexact" exceptions.
7033         [BZ #15479]
7034         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
7035         floating-point environment rather than just control word.
7036         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7037         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
7038         floating-point environment, with "invalid" exceptions merged in,
7039         rather than just control word.
7040         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
7041         * math/libm-test.inc (floor_test_data): Do not allow spurious
7042         "inexact" exceptions.
7044         [BZ #15479]
7045         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
7046         floating-point environment rather than just control word.
7047         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7048         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
7049         floating-point environment, with "invalid" exceptions merged in,
7050         rather than just control word.
7051         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
7052         * math/libm-test.inc (ceil_test_data): Do not allow spurious
7053         "inexact" exceptions.
7055 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
7057         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
7058         __libc_vfork.
7059         (__vfork) [IS_IN (libc)]: Remove alias.
7060         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
7061         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
7062         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
7064 2016-06-24  Torvald Riegel  <triegel@redhat.com>
7066         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
7067         of atomic_compare_and_exchange_bool_rel.
7068         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7069         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
7070         catomic_compare_and_exchange_bool_rel): Remove.
7071         * sysdeps/aarch64/atomic-machine.h
7072         (atomic_compare_and_exchange_bool_rel): Likewise.
7073         * sysdeps/alpha/atomic-machine.h
7074         (atomic_compare_and_exchange_bool_rel): Likewise.
7075         * sysdeps/arm/atomic-machine.h
7076         (atomic_compare_and_exchange_bool_rel): Likewise.
7077         * sysdeps/mips/atomic-machine.h
7078         (atomic_compare_and_exchange_bool_rel): Likewise.
7079         * sysdeps/microblaze/atomic-machine.h
7080         ( __arch_compare_and_exchange_bool_8_rel,
7081         __arch_compare_and_exchange_bool_16_rel): Likewise.
7082         * sysdeps/powerpc/atomic-machine.h
7083         ( __arch_compare_and_exchange_bool_8_rel,
7084         __arch_compare_and_exchange_bool_16_rel): Likewise.
7085         * sysdeps/powerpc/powerpc32/atomic-machine.h
7086         ( __arch_compare_and_exchange_bool_32_rel,
7087         __arch_compare_and_exchange_bool_64_rel): Likewise.
7088         * sysdeps/powerpc/powerpc64/atomic-machine.h
7089         ( __arch_compare_and_exchange_bool_32_rel,
7090         __arch_compare_and_exchange_bool_64_rel): Likewise.
7091         * sysdeps/tile/atomic-machine.h
7092         (atomic_compare_and_exchange_bool_rel): Likewise.
7094 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
7096         [BZ #20296]
7097         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
7098         when either argument is a NaN.
7099         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7100         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
7102         * math/libm-test.inc (snan_value_ld): New macro.
7103         (isgreater_test_data): Add sNaN tests.
7104         (isgreaterequal_test_data): Likewise.
7105         (isless_test_data): Likewise.
7106         (islessequal_test_data): Likewise.
7107         (islessgreater_test_data): Likewise.
7108         (isunordered_test_data): Likewise.
7109         (nextafter_test_data): Likewise.
7110         (nexttoward_test_data): Likewise.
7111         (remainder_test_data): Likewise.
7112         (remquo_test_data): Likewise.
7113         (significand_test_data): Likewise.
7114         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
7116 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7118         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
7119         environment macros are defined.
7120         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
7122 2016-06-23  Florian Weimer  <fweimer@redhat.com>
7124         [BZ #20191]
7125         Implement vtable verification in libio.
7126         * Makerules (shlib.lds): Place __libc_IO_vtables section.
7127         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
7128         * debug/vdprintf_chk.c (__vdprintf_chk): Call
7129         _IO_new_file_init_internal instead of _IO_file_init.
7130         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
7131         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
7132         * libio/Makefile (routines): Add vtables.
7133         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
7134         (_IO_init): Remove, not for internal use.
7135         (_IO_init_internal): Declare, internal replacement for _IO_init.
7136         (_IO_file_init): Remove, not for internal use.
7137         (_IO_new_file_init): Remove, not for internal use.
7138         (_IO_new_file_init_internal): Declare, internal replacement for
7139         _IO_new_file_init.
7140         (_IO_old_file_init): Remove, not for internal use.
7141         (_IO_old_file_init_internal): Declare, internal replacement for
7142         _IO_old_file_init.
7143         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
7144         internal use.
7145         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
7146         Declare.
7147         (libio_vtable): New macro.
7148         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
7149         functions.
7150         * libio/fileops.c (_IO_new_file_init_internal): Rename from
7151         _IO_new_file_init.
7152         (_IO_new_file_init): New externally visible wrapper which disables
7153         vtable verification.
7154         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
7155         Define as vtables.
7156         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
7157         (_IO_init): New externally visible wrapper which disables
7158         vtable verification.
7159         * libio/iofdopen.c (_IO_new_fdopen): Call
7160         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
7161         comment.
7162         * libio/iofopen.c (__fopen_internal): Call
7163         _IO_new_file_init_internal instead of _IO_file_init.
7164         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
7165         Define as vtables.
7166         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
7167         _IO_new_file_init_internal instead of _IO_file_init.
7168         * libio/iopopen.c (_IO_new_popen): Likewise.
7169         (_IO_proc_jumps): Define as vtable.
7170         * libio/iovdprintf.c (_IO_vdprintf): Call
7171         _IO_new_file_init_internal instead of _IO_file_init.
7172         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
7173         (__open_memstream): Call _IO_init_internal instead of _IO_init.
7174         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
7175         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
7176         _IO_old_file_init.
7177         (_IO_old_file_init): New externally visible wrapper which disables
7178         vtable verification.
7179         (_IO_old_file_jumps): Define as vtable.
7180         * libio/oldiofdopen.c (_IO_old_fdopen): Call
7181         _IO_old_file_init_internal instead of _IO_old_file_init.
7182         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7183         * libio/oldiopopen.c (_IO_old_popen): Likewise.
7184         (_IO_old_proc_jumps): Define as vtable.
7185         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
7186         Define as vtables.
7187         * libio/vtables.c: New file.
7188         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
7189         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
7190         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
7191         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
7192         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
7193         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
7194         instead of _IO_init.
7196 2016-06-23  Florian Weimer  <fweimer@redhat.com>
7198         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
7200 2016-06-23  Florian Weimer  <fweimer@redhat.com>
7202         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
7203         potentially unused.
7205 2016-06-22  Florian Weimer  <fweimer@redhat.com>
7207         * test-skeleton.c (write_message): New function.
7208         * malloc/tst-mallocfork2.c (write_message): Remove.
7209         * debug/tst-longjmp_chk2.c (write_indented): New function.
7210         (write_message): Remove.
7211         (stackoverflow_handler): Call write_indented.
7213 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
7215         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
7216         "inexact" exceptions after fnstenv.
7217         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
7218         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
7219         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
7221 2015-06-22  Zack Weinberg  <zackw@panix.com>
7223         * sysdeps/generic/bits/hwcap.h: Moved to ...
7224         * bits/hwcap.h: Here.
7226 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
7228         * sysdeps/aarch64/memcpy.S (memcpy):
7229         Further tuning for performance.
7231 2016-06-21  Florian Weimer  <fweimer@redhat.com>
7233         [BZ #20284]
7234         * malloc/arena.c (reused_arena): Do not return NULL if we start
7235         out with a non-corrupted arena.
7237 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7239         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
7240         * misc/tst-preadvwritev.c: New file.
7241         * misc/tst-preadvwritev64.c: Likewise.
7242         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
7243         usage.
7244         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
7245         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
7246         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
7247         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
7249 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
7251         [BZ #19654]
7252         * sysdeps/x86_64/fpu/Makefile: Added new tests.
7253         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
7254         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
7255         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
7256         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
7257         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
7258         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
7259         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
7260         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
7261         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
7262         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
7263         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
7264         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
7265         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
7266         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
7267         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
7268         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
7269         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
7270         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
7271         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
7272         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
7273         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
7274         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
7275         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
7276         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
7277         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
7279 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
7281         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
7282         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
7284 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
7286         * sysdeps/aarch64/memcpy.S (memcpy):
7287         Rewrite of optimized memcpy and memmove.
7288         * sysdeps/aarch64/memmove.S (memmove): Remove
7289         memmove code (merged into memcpy.S).
7291 2016-06-20  Florian Weimer  <fweimer@redhat.com>
7293         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
7294         * sysdeps/generic/dl-dtv.h: New file.
7295         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7296         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
7297         (dtv_t): Remove.
7298         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7299         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
7300         (dtv_t): Remove.
7301         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7302         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
7303         (dtv_t): Remove.
7304         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7305         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
7306         (dtv_t): Remove.
7307         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7308         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
7309         (dtv_t): Remove.
7310         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7311         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
7312         (dtv_t): Remove.
7313         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7314         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
7315         (dtv_t): Remove.
7316         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
7317         (dtv_t): Remove.
7318         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7319         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
7320         (dtv_t): Remove.
7321         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7322         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
7323         (dtv_t): Remove.
7324         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7325         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
7326         (dtv_t): Remove.
7327         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7328         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
7329         (dtv_t): Remove.
7330         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7331         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
7332         (dtv_t): Remove.
7333         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7334         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
7335         (dtv_t): Remove.
7336         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7337         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
7338         (dtv_t): Remove.
7339         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7340         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
7341         (dtv_t): Remove.
7343 2016-06-20  Florian Weimer  <fweimer@redhat.com>
7345         Revert symbol poisoning of  __malloc_initialize_hook.
7346         * include/stdc-predef.h (__malloc_initialize_hook): Remove
7347         poisoning.
7348         * malloc/Makefile: Remove un-poisoning.
7349         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
7350         instead of old__malloc_initialize_hook.
7351         * malloc/malloc-hooks.h: Likewise.
7352         * malloc/malloc.c: Likewise.
7353         * malloc/mcheck-init.c: Likewise.
7355 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
7357         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
7359 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
7361         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
7362         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
7363         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
7364         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
7366 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7368         * NEWS: Mention addition of nextup and nextdown.
7369         * manual/arith.texi: Document nextup and nextdown.
7370         * manual/libm-err-tab.pl: Add nextup and nextdown.
7371         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
7372         * math/Versions (libm): Add GLIBC_2.24.
7373         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
7374         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
7375         Add new test.
7376         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
7377         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
7378         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
7379         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
7380         (nextup_test_data): Likewise.
7381         (nextdown_test_data): Likewise.
7382         * math/s_nextdown.c: New file.
7383         * math/s_nextdownf.c: Likewise.
7384         * math/s_nextdownl.c: Likewise.
7385         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
7386         F(nextup): New function.
7387         F(nextdown): Likewise.
7388         * math/tgmath.h: Add nextup and nextdown.
7389         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
7390         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
7391         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
7392         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
7393         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
7394         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
7395         Add nextup and nextdown.
7396         (CFLAGS-nldbl-nextup.c): New variable.
7397         (CFLAGS-nldbl-nextdown.c): Likewise.
7398         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
7399         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
7400         * sysdeps/nacl/libm.abilist: Update.
7401         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7402         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7403         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7404         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7405         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7406         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7407         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7408         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7409         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7410         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7411         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7412         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
7414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7415         Likewise.
7416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
7417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
7418         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7419         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7420         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7421         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7422         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
7424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
7425         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7426         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7427         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
7428         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7430 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7432         * manual/pattern.texi: Fix typos & grammar errors.
7434 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7436         * manual/search.texi: Fix typos & grammar errors.
7438 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7440         * manual/message.texi: Fix typos & grammar errors.
7442 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
7444         * manual/contrib.texi: Fix spelling typos.
7445         * manual/crypt.texi: Likewise.
7446         * manual/filesys.texi: Likewise.
7447         * manual/locale.texi: Likewise.
7448         * manual/message.texi: Likewise.
7449         * manual/nss.texi: Likewise.
7450         * manual/string.texi: Likewise.
7452 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7454         * manual/locale.texi: Fix typos & grammar errors.
7456 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7458         * manual/charset.texi: Fix typos & grammar errors.
7460 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7462         * manual/string.texi: Fix typos.
7464 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7466         * manual/ctype.texi: Fix typos.
7468 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7470         * manual/memory.texi: Fix various typos & grammar errors.
7472 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
7474         [BZ #20255]
7475         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
7476         * math/libm-test.inc (fdim_test_data): Add another test.
7478         [BZ #6796]
7479         [BZ #20255]
7480         [BZ #20256]
7481         * math/s_fdim.c: Include <math_private.h>.
7482         (__fdim): Use math_narrow_eval on result.
7483         * math/s_fdimf.c: Include <math_private.h>.
7484         (__fdimf): Use math_narrow_eval on result.
7485         * sysdeps/i386/fpu/s_fdim.S: Remove file.
7486         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
7487         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
7488         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
7489         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
7490         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
7491         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
7492         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
7493         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
7494         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
7495         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
7496         * math/libm-test.inc (fdim_test_data): Expect errno setting on
7497         overflow.  Add sNaN tests.
7499         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
7500         fpclassify.
7501         * math/s_fdimf.c (__fdimf): Likewise.
7502         * math/s_fdiml.c (__fdiml): Likewise.
7504 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7506         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7507         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
7508         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7509         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
7510         ifunc'ed strcasecmp/strncasecmp.
7511         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
7512         [EALIGN]: Removed.
7513         [END]: Likewise.
7514         [__strcasecmp]: Define instead of the above to control symbol name.
7515         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
7516         for __strcasecmp_power8.
7517         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
7518         for __strncasecmp_power8.
7519         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
7520         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
7521         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
7522         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
7523         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
7524         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
7526 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
7528         [BZ #20252]
7529         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
7530         arguments when second argument is a NaN.
7531         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
7532         qNaN tests.
7534         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
7535         (conj_test_data): Likewise.
7536         (copysign_test_data): Likewise.
7537         (creal_test_data): Likewise.
7538         (fma_test_data): Likewise.
7539         (fmod_test_data): Likewise.
7541         [BZ #20250]
7542         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
7543         itself.
7544         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
7545         zero input to itself.
7546         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
7547         Likewise.
7548         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
7549         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
7550         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
7551         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
7552         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
7554 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7556         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
7557         * nptl/tst-cancel4-common.c: New file.
7558         * nptl/tst-cancel4-common.h: Likewise.
7559         * nptl/tst-cancel4.c: Move common definitions to
7560         tst-cancel4-common.{c,h} file.
7561         * nptl/tst-cancel4_1.c: New test.
7562         * nptl/tst-cancel4_2.c: New test.
7564 2016-06-13  Florian Weimer  <fweimer@redhat.com>
7566         [BZ #20248]
7567         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
7568         (write_message): New function.
7569         (stackoverflow_handler): Call it instead of printf, to avoid
7570         excessive stack usage by printf.
7571         (do_test): Restore SIGSEGV, SIGBUS default handlers.
7573 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7575         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
7576         (prio_inherit_missing): Remove define.
7577         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7578         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7579         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
7580         Likewise.
7581         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7582         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7583         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7584         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7585         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7586         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7588 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7590         [BZ #19670]
7591         [BZ #19672]
7593         * io/test-lfs.c (do_prepare): Use xmalloc.
7594         * io/tst-fcntl.c (do_prepare): Likewise.
7595         * libio/tst-fopenloc.c (do_bz17916): Likewise.
7596         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
7597         * login/tst-utmp.c (do_prepare): Likewise.
7598         * posix/tst-exec.c (do_prepare): Likewise.
7599         * posix/tst-pathconf.c (prepare): Likewise.
7600         * posix/tst-spawn.c (do_prepare): Likewise.
7601         * posix/tst-truncate.c (do_prepare): Likewise.
7602         * rt/tst-aio.c (do_prepare): Likewise.
7603         * rt/tst-aio64.c (do_prepare): Likewise.
7605 2016-06-11  Florian Weimer  <fweimer@redhat.com>
7607         [BZ #20237]
7608         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
7609         (get*ent): Set entidx to NULL during initialization.  If entidx is
7610         NULL, start iteration from the beginning.
7612 2016-06-11  Florian Weimer  <fweimer@redhat.com>
7614         * malloc/malloc.c (musable): Return correct size for dumped fake
7615         mmapped chunk.
7617 2016-06-11  Florian Weimer  <fweimer@redhat.com>
7619         [BZ #20222]
7620         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
7621         (_IO_cookie_write): Likewise.
7622         (_IO_cookie_seek): Likewise.
7623         (_IO_cookie_close): Likewise.
7624         (_IO_old_cookie_seek): Likewise.
7625         (set_callbacks): New function.
7626         (_IO_cookie_init): Call set_callbacks to copy callbacks.
7628 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
7630         * locale/programs/localedef.c (oldstyle_tables): Remove.
7631         * locale/programs/localedef.h (oldstyle_tables): Likewise.
7633 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
7635         [BZ #20240]
7636         * math/Makefile (CFLAGS-s_modf.c): New variable.
7637         (CFLAGS-s_modff.c): Likewise.
7638         (CFLAGS-s_modfl.c): Likewise.
7639         * math/libm-test.inc (modf_test_data): Add sNaN tests.
7641 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
7643         [BZ #20215]
7644         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
7645         [!__GNUC_PREREQ (3,2)]: Likewise.
7647 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
7649         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
7650         (msghdr.msg_controllen): Likewise.
7651         (cmsghdr.cmsg_len): Likewise.
7652         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
7653         ptw-oldsendmsg.
7654         (CFLAGS-oldrecvmsg.c): Remove rule.
7655         (CFLAGS-oldsendmsg.c): Likewise.
7656         (CFLAGS-recvmsg.c): Add rule.
7657         (CFLAGS-sendmsg.c): Likewise.
7658         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
7659         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
7660         (CFLAGS-recvmsg.c): Remove rule.
7661         (CFLAGS-sendmsg.c): Likewise.
7662         (CFLAGS-oldrecvmsg.c): Likewise.
7663         (CFLAGS-oldsendmsg.c): Likewise.
7664         (CFLAGS-recvmmsg.c): Likewise.
7665         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
7666         to kernel defined interfaces.
7667         (msghdr.msg_controllen): Likewise.
7668         (cmsghdr.cmsg_len): Likewise.
7669         (msghdr.__glibc_reserved1): Remove member.
7670         (msghdr.__glibc_reserved2): Likewise.
7671         (cmsghdr.__glibc_reserved1): Likewise.
7672         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
7673         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
7674         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
7675         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
7676         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
7677         version.
7678         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
7679         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
7680         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
7681         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
7682         Remove recvmsg and sendmsg.
7683         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
7684         Likewise.
7685         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
7686         Likewise.
7687         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
7688         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
7689         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
7690         Likewise.
7691         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
7692         Likewise.
7693         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
7694         [libc] (GLIBC_2.24): Likewise.
7695         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
7696         Likewise.
7697         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
7698         Likewise.
7699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7700         [libc] (GLIBC_2.24): Likewise.
7701         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
7702         Likewise.
7703         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
7704         Likewise.
7705         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
7706         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
7707         Likewise.
7708         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
7709         Likewise.
7710         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
7711         Likewise.
7712         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
7713         Likewise.
7714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
7715         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
7716         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
7717         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
7718         version for {recv,send,recm,sendm}msg.
7719         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7720         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7721         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7722         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7723         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7724         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7725         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7726         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7727         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7728         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7729         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7730         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7732         Likewise.
7733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7734         Likewise.
7735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7737         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7738         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7739         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7740         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7741         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7742         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7745         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7746         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7747         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7749 2016-06-10  Florian Weimer  <fweimer@redhat.com>
7751         [BZ #19564]
7752         Remove __malloc_initialize_hook from the API.
7753         * malloc/malloc.h (__malloc_initialize_hook): Remove.
7754         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
7755         #pragma GCC poison.
7756         * malloc/malloc-hooks.h: New file.
7757         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
7758         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
7759         (old__malloc_initialize_hook): Rename from
7760         __malloc_initialize_hook to evade poisoning.  Turn into compat
7761         symbol.
7762         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
7763         __malloc_initialize_hook.
7764         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
7765         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
7766         * manual/memory.texi (Hooks for Malloc): Remove
7767         __malloc_initialize_hook.  Adjust hook example.
7769 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
7771         [BZ #20235]
7772         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
7773         itself.
7774         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7775         * math/libm-test.inc (log2_test_data): Add sNaN tests.
7777         [BZ #20234]
7778         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
7779         infinity or NaN input to itself.
7781         [BZ #20233]
7782         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
7783         to itself.
7785         [BZ #20232]
7786         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
7787         itself.
7789 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
7791         * sysdeps/x86_64/start.S (_start): Always indirect branch to
7792         __libc_start_main via GOT.
7794 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
7796         * sysdeps/x86_64/memcopy.h: New file.
7797         * sysdeps/x86_64/wordcopy.c: Likewise.
7799 2016-06-09  Florian Weimer  <fweimer@redhat.com>
7801         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
7802         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
7803         <cstdlib>.
7804         (optimization_barrier): New.
7805         (do_test): Use it.  Call quick_exit in the global namespace.
7806         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
7807         instead of <cstdlib>, <thread>.
7808         (optimization_barrier): New.
7809         (non_main_thread): Adjust declaration.  Call optimization_barrier.
7810         Call quick_exit in the global namespace.
7811         (do_test): Call optimization_barrier.  Use pthread_create,
7812         pthread_join instead of std::thread.
7814 2016-06-09  Andreas Schwab  <schwab@suse.de>
7816         [BZ #19755]
7817         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
7818         new entries in auto-propagate mode.
7819         * nscd/grpcache.c (cache_addgr): Likewise.
7821 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7823         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
7824         New functions.
7825         (add_temp_file): Use them.
7827 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
7829         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
7831 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
7833         [BZ #20229]
7834         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
7835         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
7836         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
7838         [BZ #20228]
7839         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
7840         itself.
7841         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7842         * math/libm-test.inc (log10_test_data): Add sNaN tests.
7844         [BZ #20227]
7845         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
7846         itself.
7847         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7848         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7849         * math/libm-test.inc (log_test_data): Add sNaN tests.
7851         [BZ #20226]
7852         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
7853         itself.
7854         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7855         * math/libm-test.inc (exp_test_data): Add sNaN tests.
7856         (exp10_test_data): Likewise.
7857         (expm1_test_data): Likewise.
7859         [BZ #20225]
7860         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
7861         itself.
7862         * math/s_ldexpf.c (__ldexpf): Likewise.
7863         * math/s_ldexpl.c (__ldexpl): Likewise.
7864         * math/w_scalbln.c (__w_scalbln): Likewise.
7865         * math/w_scalblnf.c (__w_scalblnf): Likewise.
7866         * math/w_scalblnl.c (__w_scalblnl): Likewise.
7867         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
7868         (scalbln_test_data): Likewise.
7870         [BZ #20224]
7871         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
7872         argument to itself.
7873         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
7875 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
7877         [BZ #19776]
7878         * sysdeps/x86_64/memcpy.S: Make it dummy.
7879         * sysdeps/x86_64/mempcpy.S: Likewise.
7880         * sysdeps/x86_64/memmove.S: New file.
7881         * sysdeps/x86_64/memmove_chk.S: Likewise.
7882         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
7883         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
7884         * sysdeps/x86_64/memmove.c: Removed.
7885         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
7886         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
7887         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
7888         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
7889         Likewise.
7890         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7891         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7892         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7893         memcpy-sse2-unaligned, memmove-avx-unaligned,
7894         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
7895         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7896         (__libc_ifunc_impl_list): Replace
7897         __memmove_chk_avx512_unaligned_2 with
7898         __memmove_chk_avx512_unaligned.  Remove
7899         __memmove_chk_avx_unaligned_2.  Replace
7900         __memmove_chk_sse2_unaligned_2 with
7901         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
7902         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
7903         with __memmove_avx512_unaligned.  Replace
7904         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
7905         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
7906         with __memcpy_chk_avx512_unaligned.  Remove
7907         __memcpy_chk_avx_unaligned_2.  Replace
7908         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
7909         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
7910         Replace __memcpy_avx512_unaligned_2 with
7911         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
7912         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
7913         with __mempcpy_chk_avx512_unaligned.  Remove
7914         __mempcpy_chk_avx_unaligned_2.  Replace
7915         __mempcpy_chk_sse2_unaligned_2 with
7916         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
7917         Replace __mempcpy_avx512_unaligned_2 with
7918         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
7919         Replace __mempcpy_sse2_unaligned_2 with
7920         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
7921         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
7922         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
7923         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
7924         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
7925         (ENTRY): Removed.
7926         (END): Likewise.
7927         (ENTRY_CHK): Likewise.
7928         (libc_hidden_builtin_def): Likewise.
7929         Don't include ../memcpy.S.
7930         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
7931         __memcpy_chk_avx512_unaligned_erms and
7932         __memcpy_chk_avx512_unaligned.  Use
7933         __memcpy_chk_avx_unaligned_erms and
7934         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
7935         Default to __memcpy_chk_sse2_unaligned.
7936         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7937         Change function suffix from unaligned_2 to unaligned.
7938         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
7939         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
7940         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
7941         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
7942         (ENTRY): Removed.
7943         (END): Likewise.
7944         (ENTRY_CHK): Likewise.
7945         (libc_hidden_builtin_def): Likewise.
7946         Don't include ../mempcpy.S.
7947         (mempcpy): New.  Add a weak alias.
7948         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
7949         __mempcpy_chk_avx512_unaligned_erms and
7950         __mempcpy_chk_avx512_unaligned.  Use
7951         __mempcpy_chk_avx_unaligned_erms and
7952         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
7953         Default to __mempcpy_chk_sse2_unaligned.
7955 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
7957         [BZ #19881]
7958         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
7959         into ...
7960         * sysdeps/x86_64/memset.S: This.
7961         (__bzero): Removed.
7962         (__memset_tail): Likewise.
7963         (__memset_chk): Likewise.
7964         (memset): Likewise.
7965         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
7966         defined.
7967         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
7968         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
7969         (__memset_zero_constant_len_parameter): Check SHARED instead of
7970         PIC.
7971         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7972         memset-avx2 and memset-sse2-unaligned-erms.
7973         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7974         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
7975         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
7976         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7977         (__bzero): Enabled.
7978         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
7979         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
7980         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
7981         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
7982         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
7983         (memset): Removed.
7984         (__memset_chk): Likewise.
7985         (MEMSET_SYMBOL): New.
7986         (libc_hidden_builtin_def): Replace __memset_sse2 with
7987         __memset_sse2_unaligned.
7988         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
7989         __memset_chk_sse2 and __memset_chk_avx2 with
7990         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
7991         Use __memset_chk_sse2_unaligned_erms or
7992         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
7993         __memset_chk_avx512_unaligned_erms and
7994         __memset_chk_avx512_unaligned.
7996 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7998         * math/gen-auto-libm-test.c (fp_format_desc): remove
7999         suffix member.
8000         (output_generic_value): Remove usage of suffix member,
8001         and the resulting unuse of the fp_format argument.
8002         (output_for_one_input_case): Remove unused fp_format
8003         parameter.
8005         * math/auto-libm-test-out: Regenerate.
8007         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
8008         usage with TEST_COND_ibm128.
8009         (TEST_COND_flt_32): Remove.
8010         (TEST_COND_dbl_64): Remove.
8011         (TEST_COND_ldbl_96_intel): Remove.
8012         (TEST_COND_ldbl_96_m68k): Remove.
8013         (TEST_COND_ldbl_128): Remove.
8015 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8017         * auto-libm-test-in:
8018         Replace flt-32 usage with binary32.
8019         Replace dbl-64 usage with binary64.
8020         Replace ldbl-intel-96 usage with intel96.
8021         Replace ldbl-m68k-96 usage with m68k96.
8022         Replace ldbl-128ibm usage with ibm128.
8023         Replace ldbl-128 usage with binary128.
8025         * auto-libm-test-out: Regenerate.
8027 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8029         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
8030         (parse_ulps): Dynamically generate type name matching
8031         string from all_floats.
8032         (get_ulps): Generate the ulps as an array instead.
8033         (output_ulps): Dynamically compose the type based
8034         on the number of supported formats, and print
8035         the indices as type specific helper macros.
8037         * math/libm-test.inc: Remove comment about CHOOSE.
8038         (ulp_data): Generate the type in libm-test-ulps.h.
8039         (ULP_IDX): New macro.
8040         (find_ulps): Update usage of max_ulp.
8042         * math/test-double-vlen2.h (CHOOSE): Remove.
8043         * math/test-double-vlen4.h (CHOOSE): Likewise.
8044         * math/test-double-vlen8.h (CHOOSE): Likewise.
8045         * math/test-float.c (CHOOSE): Likewise.
8046         * math/test-float-finite.c (CHOOSE): Likewise.
8047         * math/test-double.c (CHOOSE): Likewise.
8048         * math/test-double-finite.c (CHOOSE): Likewise.
8049         * math/test-idouble.c (CHOOSE): Likewise.
8050         * math/test-ifloat.c (CHOOSE): Likewise.
8051         * math/test-ildoubl.c (CHOOSE): Likewise.
8052         * math/test-ldouble-finite.c (CHOOSE): Likewise.
8053         * math/test-ldouble.c (CHOOSE): Likewise.
8055         * math/test-float.h (TEST_FLOAT): Remove.
8056         * math/test-double.h (TEST_DOUBLE): Likewise.
8057         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
8059 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8061         * math/gen-libm-test.pl: (apply_lit): New subroutine.
8062         (parse_args): Strip C suffix from floating point literals
8063         typed with 'f' and wrap them with LIT().
8065         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
8066         (test_ff_f_data_nexttoward): Rename to
8067         (test_fj_f_data): New struct.
8068         (nexttoward_test_data): Relabel tests as
8069         TEST_fj_f instead of TEST_ff_f.
8071 2016-06-08  Florian Weimer  <fweimer@redhat.com>
8073         Emacs bug 23726.
8074         * malloc/malloc.c (dumped_main_arena_start): Update comment.
8075         (__libc_realloc): Correct size computation for dumped fake mmapped
8076         chunks.
8078 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
8080         [BZ #20219]
8081         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
8082         to itself.
8083         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
8085         [BZ #20218]
8086         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
8087         to itself.
8088         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
8090 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
8092         [BZ #20195]
8093         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
8094         check to ...
8095         (init_cpu_features): Here.
8097 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
8099         [BZ #20214]
8100         * sysdeps/unix/sysv/linux/bits/in.h
8101         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
8102          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
8103         Define to 1.
8104         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
8105          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
8106         Define to 0.
8107         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
8108         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
8110 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
8112         [BZ #20198]
8113         * stdlib/Makefile (tests): Add tst-quick_exit, and
8114         tst-thread-quick_exit.
8115         [ifeq ($(have-cxx-thread_local),yes)]
8116         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
8117         (CFLAGS-tst-thread-quick_exit.o): Likewise.
8118         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
8119         (LDLIBS-tst-thread-quick_exit): Likewise.
8120         [ifneq ($(have-cxx-thread_local),yes)]
8121         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
8122         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
8123         If run_dtors is true call __call_tls_dtors.
8124         (exit): Call __run_exit_handlers with run_dtors set to true.
8125         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
8126         definition.
8127         * stdlib/quick_exit.c (quick_exit): Remove function.
8128         (__new_quick_exit): New function.
8129         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
8130         function.
8131         * stdlib/tst-quick_exit.cc: New file.
8132         * stdlib/tst-thread-quick_exit.cc: New file.
8133         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
8134         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
8135         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
8136         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
8137         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
8138         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
8139         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
8140         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
8141         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
8142         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
8143         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
8144         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
8145         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
8146         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
8147         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
8148         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
8149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
8150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
8151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
8152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
8153         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
8154         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
8155         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
8156         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
8157         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
8158         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
8159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
8160         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
8161         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
8162         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
8164 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
8166         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
8167         a typo in comments.
8169 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
8171         [BZ #20213]
8172         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
8173         argument to itself.
8174         * math/libm-test.inc (asin_test_data): Add sNaN tests.
8176 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8178         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
8179         required flags.
8180         (CFLAGS-pwritev64.c): Likewise.
8181         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
8182         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8183         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
8184         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8185         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
8186         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
8187         syscall from auto-generation.
8188         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
8189         [WORDSIZE == 64] (pwritev64): Remove macro.
8190         [!PWRITEV] (PWRITEV): Likewise.
8191         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
8192         [!PWRITEV] (PWRITE): Likewise.
8193         [!PWRITEV] (OFF_T): Likewise.
8194         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
8195         (LO_HI_LONG): Remove macro.
8196         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
8197         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
8198         (PWRITEV): Remove macro.
8199         (PWRITEV_REPLACEMENTE): Likewise.
8200         (PWRITE): Likewise.
8201         (OFF_T): Likewise.
8202         (pwritev64): New function.
8203         * nptl/tst-cancel4.c (tf_writev): Add test.
8205         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
8206         required flags.
8207         (CFLAGS-preadv64.c): Likewise.
8208         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
8209         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8210         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
8211         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
8212         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
8213         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
8214         syscall from auto-generation.
8215         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
8216         [WORDSIZE == 64] (preadv64): Remove macro.
8217         [!PREADV] (PREADV): Likewise.
8218         [!PREADV] (PREADV_REPLACEMENT): Likewise.
8219         [!PREADV] (PREAD): Likewise.
8220         [!PREADV] (OFF_T): Likewise.
8221         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
8222         (LO_HI_LONG): Remove macro.
8223         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
8224         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
8225         (PREADV): Remove macro.
8226         (PREADV_REPLACEMENTE): Likewise.
8227         (PREAD): Likewise.
8228         (OFF_T): Likewise.
8229         (preadv64): New function.
8230         * nptl/tst-cancel4.c (tf_preadv): Add test.
8232 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
8234         [BZ #20212]
8235         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
8236         argument to itself.
8237         * math/libm-test.inc (acos_test_data): Add sNaN tests.
8239 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8241         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
8242         New symbol defined as libc_hidden_def.
8243         (strcasestr): Became a weak alias to __strcasestr.
8244         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
8245         according to multi-arch support.  Move __stpncpy hidden
8246         definition from here to...
8247         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
8248         symbol stpncpy.
8249         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
8250         libc_hidden_builtin_def.
8251         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
8252         memset symbol to use when multi-arch support is available.
8254 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
8256         * dlfcn/tst-rec-dlopen.c: Include string.h.
8258 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8260         * manual/install.texi: Remove mention of --without-tls
8261         * INSTALL: Regenerate.
8263 2016-06-05  Florian Weimer  <fweimer@redhat.com>
8265         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
8266         Remove.
8267         (call_function, interposed_malloc_called): New variables.
8268         (malloc): New function.
8269         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
8270         and clear call_function as needed.
8272 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
8274         * include/wchar.h (__wmemset): Use __typeof.
8276 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
8278         * include/wchar.h (__wmemset): Declare function without typeof.
8280 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
8282         [BZ #20205]
8283         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
8284         exponent when incrementing negative subnormal with low mantissa
8285         word zero.
8286         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
8287         Add another test.
8289 2016-06-03  Florian Weimer  <fweimer@redhat.com>
8291         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
8292         __wmemset instead of wmemset.
8294 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
8296         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
8297         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
8298         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
8299         __USE_KERNEL_IPV6_DEFS to 0.
8300         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
8301         Update comment.
8303 2016-06-01  Florian Weimer  <fweimer@redhat.com>
8305         [BZ #19861]
8306         Do not use IFUNC resolver with potentially unrelocated symbol.
8307         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
8308         (DEFINE_FORK): Remove macro and inline definition.
8309         (fork_alias): Renamed from fork_ifunc.
8310         (__fork_alias): Renamed from __fork_ifunc.
8312 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
8314         [BZ 19653]
8315         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
8316         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
8318 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8320         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
8321         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
8322         i386-linux-gnu).
8323         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
8324         Set to no.
8325         * sysdeps/mach/hurd/configure: Refresh.
8327 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8329         [BZ #20178]
8330         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
8331         on failure instead of exit.
8333 2016-05-30  Roland McGrath  <roland@hack.frob.com>
8335         [BZ #3629]
8336         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
8337         of POSIX.1-2008.
8339 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8341         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
8342           Use PLT entry for calling _hurd_self_sigstate.
8344 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
8346         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
8347         available logical processors with SMT level type sharing L2
8348         cache for Intel processors.
8350 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
8352         [BZ #20160]
8353         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
8354         argument to itself before returning the result.
8355         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
8356         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
8357         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
8358         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
8359         Likewise.
8360         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
8361         Likewise.
8362         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
8363         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
8364         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
8365         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
8366         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
8367         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
8369         [BZ #20160]
8370         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
8371         argument to itself before returning the result.
8372         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
8373         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
8374         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
8375         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
8376         Likewise.
8377         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8378         Likewise.
8379         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
8380         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
8381         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
8382         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
8383         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
8384         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
8386 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8388         * libm-test.inc: Replace usage of M_El with
8389         (lit_e): New macro.
8391 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8393         * libm-test.inc: Replace usage of M_PI_4l with
8394         (lit_pi_4_d): New macro.
8396 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8398         * libm-test.inc: Replace usage of M_PIl with
8399         (lit_pi): New macro.
8401 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8403         * libm-test.inc: Replace usage of M_PI2l with
8404         (lit_pi_2_d): New macro.
8406         * math/test-double.h (LITM): New macro.
8407         * math/test-float.h (LITM): Likewise.
8408         * math/test-ldouble.h (LITM): Likewise.
8410 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8412         * libm-test.inc (M_PI_34l): Rename to
8413         (lit_pi_3_m_4_d): New Macro.
8414         (M_PI_34_LOG10El): Rename to
8415         (lit_pi_3_m_4_ln10_m_d): New Macro.
8416         (M_PI2_LOG10El): Rename to
8417         (lit_pi_2_ln10_m_d):  New Macro.
8418         (M_PI4_LOG10El): Rename to
8419         (lit_pi_4_ln10_m_d):  New Macro.
8420         (M_PI_LOG10El): Rename to
8421         (lit_pi_ln10_d):  New Macro.
8423 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
8425         [BZ #20157]
8426         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
8427         determine whether to negate low half if [_ARCH_PPCGR], and integer
8428         comparison otherwise.
8429         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
8430         determine whether to negate low half.
8432         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
8433         (NO_TEST_INLINE_DOUBLE): Likewise.
8434         (TEST_COND_x86_64): Likewise.
8435         (TEST_COND_x86): Likewise.
8436         (M_PI_6l): Likewise.
8438 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8440         * math/libm-test.inc:
8441         (TEST_FLOAT): Change usage to TEST_COND_binary32.
8442         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
8443         (TEST_LDOUBLE): Update usage to evaluate as true if
8444         the guarded tests match the property being tested.
8445         (LDBL_MAX_EXP): Change to MAX_EXP.
8446         (LDBL_MIN_EXP): Change to MIN_EXP.
8447         (LDBL_MANT_DIG): Change to MANT_DIG, except for
8448         nexttoward tests.
8450 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8452         * math/libm-test.inc:
8453         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
8454         (TYPE_MIN): Likewise.
8455         (TYPE_TRUE_MIN): Likewise.
8456         (TYPE_MAX): Likewise.
8457         (MIN_EXP): Likewise.
8458         (MAX_EXP): Likewise.
8459         (MANT_DIG): Likewise.
8461         (FSTR_MAX): New macro.
8462         (__CONCATX): Likewise.
8463         (QTYPE_STR): Likewise.
8464         (TEST_COND_binary32): Likewise.
8465         (TEST_COND_binary64): Likewise.
8466         (TEST_COND_binary128): Likewise.
8467         (TEST_COND_ibm128): Likewise.
8468         (TEST_COND_intel96): Likewise.
8469         (TEST_COND_m68k96): Likewise.
8471         (TEST_COND_flt_32): Redefine as equivalent format test macro.
8472         (TEST_COND_dbl_64): Likewise.
8473         (TEST_COND_ldbl_96_intel): Likewise.
8474         (TEST_COND_ldbl_96_m68k): Likewise.
8475         (TEST_COND_ldbl_128): Likewise.
8476         (TEST_COND_ldbl_128ibm): Likewise.
8478         (plus_zero): Redefine using LIT macro.
8479         (minus_zero): Likewise.
8480         (plus_infty): Redefine as (INF).
8481         (minux_infty): Redefine as (-INF).
8482         (max_value): Redefine as TYPE_MAX.
8483         (min_value): Redefine as TYPE_MIN.
8484         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
8486         (print_float): Refactor to use snprintf to convert FLOAT values
8487         to string. This brings it closer to dropin replacement of strtof
8488         for the TS 18661 defined types.
8489         (update_stats): Likewise.
8490         (print_complex_function_ulps): Likewise.
8491         (print_max_error): Likewise.
8492         (print_complex_max_error): Likewise.
8493         (check_float_internal): Likewise.
8495         * math/test-float.h (PREFIX): New macro.
8496         (LIT): Likewise.
8497         (TYPE_STR): Likewise.
8498         (FTOSTR): Likewise.
8500         * math/test-double.h (PREFIX): New macro.
8501         (LIT): Likewise.
8502         (TYPE_STR): Likewise.
8503         (FTOSTR): Likewise.
8505         * math/test-ldouble.h (PREFIX): New macro.
8506         (LIT): Likewise.
8507         (TYPE_STR): Likewise.
8508         (FTOSTR): Likewise.
8510 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
8512         [BZ #20156]
8513         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
8514         to itself when zero or not finite.
8515         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
8516         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8517         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
8518         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8520 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
8522         [BZ #20153]
8523         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
8524         x * x + x for infinities and NaNs.
8526         [BZ #20151]
8527         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
8528         argument to itself before returning result.
8529         (__ieee754_y0l): Likewise.
8530         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8531         (__ieee754_y1l).
8533         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
8534         (atan_test_data): Likewise.
8535         (ceil_test_data): Likewise.
8536         (cos_test_data): Likewise.
8537         (cosh_test_data): Likewise.
8538         (erf_test_data): Likewise.
8539         (exp2_test_data): Likewise.
8540         (fabs_test_data): Likewise.
8541         (floor_test_data): Likewise.
8542         (ilogb_test_data): Likewise.
8543         (j0_test_data): Likewise.
8544         (j1_test_data): Likewise.
8545         (jn_test_data): Likewise.
8546         (lgamma_test_data): Likewise.
8547         (lrint_test_data): Likewise.
8548         (llrint_test_data): Likewise.
8549         (logb_test_data): Likewise.
8550         (lround_test_data): Likewise.
8551         (llround_test_data): Likewise.
8552         (nearbyint_test_data): Likewise.
8553         (rint_test_data): Likewise.
8554         (round_test_data): Likewise.
8555         (sin_test_data): Likewise.
8556         (sincos_test_data): Likewise.
8557         (sinh_test_data): Likewise.
8558         (sqrt_test_data): Likewise.
8559         (tan_test_data): Likewise.
8560         (tanh_test_data): Likewise.
8561         (tgamma_test_data): Likewise.
8562         (trunc_test_data): Likewise.
8563         (y0_test_data): Likewise.
8564         (y1_test_data): Likewise.
8565         (yn_test_data): Likewise.
8567         * math/libm-test.inc: Update comment about NaN testing.
8568         (TEST_SNAN): New macro.
8569         (snan_value): Likewise.
8570         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
8571         (fpclassify_test_data): Add sNaN tests.
8572         (isfinite_test_data): Likewise.
8573         (isinf_test_data): Likewise.
8574         (isnan_test_data): Likewise.
8575         (isnormal_test_data): Likewise.
8576         (issignaling_test_data): Likewise.
8577         (signbit_test_data): Likewise.
8578         * math/gen-libm-test.pl (%beautify): Add snan_value.
8579         (show_exceptions): Add argument $test_snan.
8580         (parse_args): Handle snan_value as non-finite.  Update call to
8581         show_exceptions.
8582         * math/Makefile (libm-test-no-inline-cflags): Add
8583         -fsignaling-nans.
8585 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8587         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
8588         (CFLAGS-oldsendmsg.c): Add rule.
8589         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
8590         Correct recvmsg symbol name.
8591         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
8592         Likewise.
8594 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8596         * sysdeps/unix/sysv/linux/Makefile
8597         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
8598         oldsendmmsg.
8599         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
8600         sendmmsg.
8601         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8602         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8603         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8604         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8606         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8607         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8609         Likewise.
8610         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8611         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
8612         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
8613         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
8614         iovlen and controllen fields to adjust to POSIX specification.
8615         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8617         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
8618         and change to correct expected type.
8619         (msghdr.msg_controllen): Likewise.
8620         (cmsghdr.cmsg_len): Likewise.
8621         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
8622         expected POSIX assumption about the size.
8623         (msghdr.msg_controllen): Likewise.
8624         (msghdr.__glibc_reserved1): Likewise.
8625         (msghdr.__glibc_reserved2): Likewise.
8626         (cmsghdr.cmsg_len): Likewise.
8627         (cmsghdr.__glibc_reserved1): Likewise.
8628         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
8629         Add ptw-oldrecvmsg and ptw-oldsendmsg.
8630         (CFLAGS-sendmsg.c): Remove rule.
8631         (CFLAGS-recvmsg.c): Likewise.
8632         (CFLAGS-oldsendmsg.c): Add rule.
8633         (CFLAGS-oldrecvmsg.c): Likewise.
8634         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
8635         recvmsg and sendmsg.
8636         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
8637         Likewise.
8638         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
8639         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
8640         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
8641         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
8642         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
8643         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
8644         Likewise.
8645         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
8646         Likewise.
8647         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
8648         Likewise.
8649         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
8650         Likewise.
8651         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
8652         Likewise.
8653         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
8654         Likewise.
8655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
8656         (GLIBC_2.24): Likewise.
8657         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
8658         Likewise.
8659         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
8660         Likewise.
8661         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
8662         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
8663         Likewise.
8664         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
8665         Likewise.
8666         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
8667         Likewise.
8668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
8669         (GLIBC_2.24): Likewise.
8670         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
8671         Likewise.
8672         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
8673         Likewise.
8674         * sysdeps/unix/sysv/linux/Makefile
8675         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
8676         (CFLAGS-sendmsg.c): Add rule.
8677         (CFLAGS-recvmsg.c): Likewise.
8678         (CFLAGS-oldsendmsg.c): Likewise.
8679         (CFLAGS-oldrecvmsg.c): Likewise.
8680         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
8681         initialization.
8682         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
8683         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
8684         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
8685         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
8686         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
8687         iovlen and controllen fields to adjust to POSIX specification.
8688         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
8689         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
8690         added recvmsg and sendmsg.
8691         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8692         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8693         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8694         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8695         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8696         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8697         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8698         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8699         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8700         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8701         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8702         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
8703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8704         Likewise.
8705         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
8706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8707         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8708         Likewise.
8709         Likewise.
8710         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8711         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8712         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8713         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8714         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8715         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8717         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8719         Likewise.
8720         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8721         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8723         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
8724         from auto-generation.
8725         (sendmsg): Likewise.
8726         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
8727         (sendmsg): Likewise.
8728         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
8729         (sendmsg): Likewise.
8730         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
8731         (sendmsg): Likewise.
8732         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
8733         (sendmsg): Likewise.
8734         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
8735         (sendmsg): Likewise.
8736         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
8737         Likewise.
8738         (sendmsg): Likewise.
8739         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
8740         (sendmsg): Likewise.
8741         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8742         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8743         Remove.
8744         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8745         Likewise.
8746         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8747         Undefine.
8748         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8749         Likewise.
8750         * sysdeps/unix/sysv/linux/kernel-features.h
8751         (__ASSUME_SENDMSG_SYSCALL): Define.
8752         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8753         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8754         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8755         Remove.
8756         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8757         Likewise.
8758         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8759         Undefine.
8760         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8761         Likewise.
8762         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8763         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8764         Remove.
8765         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8766         Likewise.
8767         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8768         Undefine.
8769         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8770         Likewise.
8771         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8772         (__ASSUME_SENDMSG_SYSCALL): Undefine.
8773         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8774         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8775         (__ASSUME_SENDMSG_SYSCALL): Likewise.
8776         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8777         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8778         (__ASSUME_SENDMSG_SYSCALL): Likewise.
8779         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8781 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8783         * stdlib/gen-tst-strtod-round.c: Add backslash to
8784         compile command in comment.
8785         (printfp): Remove the literal suffix, and define an infinite
8786         value as INF to avoid expansion clash with INFINITY.
8787         (round_str): Remove the literal suffix.
8788         (round_for_all): Likewise, remove the now duplicate ldbl-64
8789         entry, and remove some magic constants.
8791         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
8792         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
8793         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
8794         (_CONCAT): New macro.
8795         (CONCAT): Likewise.
8796         (CHOOSE_ld): Likewise.
8797         (CHOOSE_f): Likewise.
8798         (CHOOSE_d): Likewise.
8799         (FTYPE_MEMBER): Likewise.
8800         (BOOL_MEMBER): Likewise.
8801         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
8802         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
8803         (_XNTRY): Likewise.
8804         (XNTRY): Likewise.
8805         (_ENTRY): Likewise.
8806         (ENTRY): Likewise.
8807         (test_exactness): Generate members via macro.
8808         (test_results): Likewise.
8809         (test): Update members.
8810         (TEST): Redefine using new macros.
8811         (INF): New macro.
8812         (fetestmodes): New structure.
8813         (do_test): Refactor to be type generic.
8814         (test_in_one_mode): Refactor duplicate code into
8815         (GEN_ONE_TEST): New macro.
8817         * stdlib/tst-strtod-round-data.h: Regenerate.
8819         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
8820         Extend to pass additional arbitrary parameters to
8821         generators.
8823 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
8825         [BZ #15479]
8826         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
8827         floating-point state after first floating-point operation on
8828         input.  Restore full floating-point state instead of just rounding
8829         mode.
8830         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
8831         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
8832         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
8833         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
8834         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
8836         [BZ #15479]
8837         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
8838         floating-point state after first floating-point operation on
8839         input.  Restore full floating-point state instead of just rounding
8840         mode.
8841         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
8842         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
8843         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
8844         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
8845         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
8847 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8849         [BZ #19727]
8850         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
8851         valid high surrogate.
8852         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
8853         of an utf16 surrogate.
8854         * iconv/gconv_simple.c (BODY): Likewise.
8855         * iconvdata/bug-iconv12.c: New file.
8856         * iconvdata/Makefile (tests): Add bug-iconv12.
8858 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8860         [BZ #19726]
8861         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
8862         outptrp in case of an illegal input.
8863         * iconv/tst-iconv6.c: New file.
8864         * iconv/Makefile (tests): Add tst-iconv6.
8866 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8868         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
8869         an error in case of a value in range of an utf16 low surrogate.
8871 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8873         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
8874         an error in case of a value in range of an utf16 low surrogate.
8876 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8878         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
8879         Move to ...
8880         * sysdeps/s390/Makefile: ... here.
8881         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
8882         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
8883         (BRANCH_ON_COUNT): New define.
8884         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
8885         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
8886         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
8887         run on s390-32, too.
8888         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
8889         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
8890         run on s390-32, too.
8891         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
8892         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
8893         run on s390-32, too.
8895 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8897         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
8898         etf3eh or new vector loop-variant.
8900 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8902         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
8903         etf3eh or new vector loop-variant.
8905 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8907         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
8908         or new vector loop-variant.
8910 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8912         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
8913         Rename to TR_LOOP and usage of tr instead of troo instruction.
8915 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8917         * sysdeps/s390/multiarch/gconv_simple.c: New File.
8918         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
8920 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8922         * sysdeps/s390/multiarch/8bit-generic.c: New File.
8923         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
8924         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
8925         New override define.
8926         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
8928 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8930         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
8931         * sysdeps/s390/configure.ac: Add test for S390 vector register
8932         support in gcc.
8933         * sysdeps/s390/configure: Regenerated.
8935 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8937         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
8938         Install file from $(objpfx)gconv-modules.
8939         ($(objpfx)gconv-modules): Concatenate architecture specific file
8940         in variable sysdeps-gconv-modules and gconv-modules in src dir.
8941         * sysdeps/s390/gconv-modules: New file.
8942         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
8943         Deleted.
8944         ($(objpfx)gconv-modules-s390): Deleted.
8945         (sysdeps-gconv-modules): New variable.
8947 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
8949         [BZ #15479]
8950         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
8951         of immediate operand to rounding instruction.
8952         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
8953         Likewise.
8954         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
8955         Likewise.
8956         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
8957         Likewise.
8959 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8961         * math/libm-test.inc (MIN_EXP): Directly define as
8962         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
8964 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8966         * math/libm-test.inc (MANT_DIG): Directly define as
8967         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
8969 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8971         * stdlib/gen-tst-strtod-round.c (main):
8972           Change usage to more closely match the generated
8973           output.  Add usage and compilation instructions.
8974           (string_to_fp): Add and use FILE* parameter as
8975           output target.
8976           (print_fp): Likewise.
8977           (round_str): Likewise.
8978           (round_for_all): Likewise.
8979         * stdlib/tst-strtod-round.c (tests): Move into
8980         * stdlib/tst-strtod-round-data.h: New file.
8982 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
8984         [BZ #15479]
8985         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
8986         (__round): Do not force "inexact" exception.
8987         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
8988         variable.
8989         (__round): Do not force "inexact" exception.
8990         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
8991         (__roundf): Do not force "inexact" exception.
8992         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
8993         (__roundl): Do not force "inexact" exception.
8994         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
8995         (__roundl): Do not force "inexact" exception.
8996         * math/libm-test.inc (round_test_data): Do not allow spurious
8997         "inexact" exceptions.
8999         [BZ #15479]
9000         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
9001         exception in comment.
9002         (huge): Remove variable.
9003         (__floor): Do not force "inexact" exception.
9004         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
9005         "inexact" exception in comment.
9006         (huge): Remove variable.
9007         (__floor): Do not force "inexact" exception.
9008         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
9009         exception in comment.
9010         (huge): Remove variable.
9011         (__floorf): Do not force "inexact" exception.
9012         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
9013         exception in comment.
9014         (huge): Remove variable.
9015         (__floorl): Do not force "inexact" exception.
9017         [BZ #15479]
9018         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
9019         exception in comment.
9020         (huge): Remove variable.
9021         (__ceil): Do not force "inexact" exception.
9022         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
9023         "inexact" exception in comment.
9024         (huge): Remove variable.
9025         (__ceil): Do not force "inexact" exception.
9026         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
9027         (__ceilf): Do not force "inexact" exception.
9028         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
9029         exception in comment.
9030         (huge): Remove variable.
9031         (__ceill): Do not force "inexact" exception.
9033 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
9035         * config.h.in (BIND_NOW): New.
9036         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
9037         * configure: Regenerated.
9038         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
9039         indirect branch via the GOT slot.
9041 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
9043         [BZ #19765]
9044         * sysdeps/s390/mempcpy.S: New File.
9045         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
9046         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
9047         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9048         Add mempcpy variants.
9049         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
9050         (memcpy): Adjust to be usable from mempcpy entry point.
9051         (__memcpy_mvcle): Likewise.
9052         * sysdeps/s390/s390-64/memcpy.S: Likewise.
9053         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
9054         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
9055         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
9056         (__memcpy_z10): Likewise.
9057         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
9059 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
9061         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
9062         Remove __GI_ symbol.
9063         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
9064         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
9065         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
9066         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
9067         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
9068         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
9070 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
9072         * sysdeps/s390/s390-64/memcpy.S (memcpy):
9073         Use cghi instead of chi to compare 64bit value.
9075 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
9077         * sysdeps/s390/s390-32/memcpy.S (memcpy):
9078         Jump to 1MB check before executing mvc-loop.
9080 2016-05-24  Florian Weimer  <fweimer@redhat.com>
9082         [BZ #6527]
9083         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
9084         unconditionally.
9085         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
9087 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9089         * stdlib/tst-strtod6.c (do_test): Use new type generic
9090         invocation of the test function.
9091         (test): Refactor into ...
9092         (TEST_STRTOD): New macro base function.
9094 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9096         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
9097         (TEST_STRTOD): New macro.
9098         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
9100 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9102         * stdlib/tst-strtod6.c (do_test): Use new type generic
9103         invocation of the test function.
9104         (test): Refactor into ...
9105         (TEST_STRTOD): New macro base function.
9107 2016-05-23  Florian Weimer  <fweimer@redhat.com>
9109         CVE-2016-4429
9110         [BZ #20112]
9111         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
9112         payload.
9114 2016-05-23  Florian Weimer  <fweimer@redhat.com>
9116         [BZ #20111]
9117         * bits/sockaddr.h (_SS_SIZE): Define.
9118         * bits/socket.h (_SS_SIZE): Remove.
9119         (_SS_PADSIZE): Adjust to account for all padding.
9120         (struct sockaddr_storage): Update comment.  Avoid implicit
9121         padding.
9122         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
9123         (_SS_PADSIZE): Adjust to account for all padding.
9124         (struct sockaddr_storage): Update comment.  Avoid implicit
9125         padding.
9126         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
9127         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
9128         (_SS_PADSIZE): Adjust to account for all padding.
9129         (struct sockaddr_storage): Update comment.  Avoid implicit
9130         padding.
9131         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
9132         __SS_SIZE is 126 in this version.
9133         * inet/tst-sockaddr.c: New file.
9134         * inet/Makefile (tests): Add tst-sockaddr.c
9135         (tst-sockaddr.c): Compile with non-strict aliasing.
9137 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
9139         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
9140         [XPG3 || XPG4].
9141         (NL_ARGMAX): Also expect for [XPG3].
9142         (NL_LANGMAX): Likewise.
9143         (NL_MSGMAX): Likewise.
9144         (NL_NMAX): Likewise.
9145         (NL_SETMAX): Likewise.
9146         (NL_TEXTMAX): Likewise.
9147         (NZERO): Likewise.
9148         (TMP_MAX): Likewise.
9149         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
9150         variable.
9152         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
9153         (PF_MAX): Update value.
9154         (AF_KCM): New macro.
9155         (SOL_NETBEUI): Likewise.
9156         (SOL_LLC): Likewise.
9157         (SOL_DCCP): Likewise.
9158         (SOL_NETLINK): Likewise.
9159         (SOL_TIPC): Likewise.
9160         (SOL_RXRPC): Likewise.
9161         (SOL_PPPOL2TP): Likewise.
9162         (SOL_BLUETOOTH): Likewise.
9163         (SOL_PNPIPE): Likewise.
9164         (SOL_RDS): Likewise.
9165         (SOL_IUCV): Likewise.
9166         (SOL_CAIF): Likewise.
9167         (SOL_ALG): Likewise.
9168         (SOL_NFC): Likewise.
9169         (SOL_KCM): Likewise.
9170         (MSG_BATCH): New enum value and macro.
9172 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
9174         [BZ #18185]
9175         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
9176         sharing L2 cache to 2 for Knights Landing.
9178 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
9180         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
9181         (FTW_DP): Do not expect for [XPG3 || XPG4].
9182         (FTW_SL): Do not expect for [XPG3].
9183         (FTW_SLN): Likewise.
9184         (FTW_PHYS): Likewise.
9185         (FTW_MOUNT): Likewise.
9186         (FTW_DEPTH): Likewise.
9187         (FTW_CHDIR): Likewise.
9188         (nftw): Likewise.
9189         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
9190         variable.
9192 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
9194         * manual/errno.texi: Fix various typos & grammar errors.
9196 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
9198         * manual/intro.texi: Fix duplicated typo.
9200 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
9202         [BZ #13304]
9203         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
9204         <float.h>, <math_private.h> and <stdlib.h>.
9205         (add_split): New function.
9206         (mul_split): Likewise.
9207         (ext_val): New typedef.
9208         (store_ext_val): New function.
9209         (mul_ext_val): New function.
9210         (compare): New function.
9211         (add_split_ext): New function.
9212         (__fmal): After checking for Inf, NaN and zero, compute result as
9213         an exact sum of scaled double values in round-to-nearest before
9214         adding those up and adjusting for other rounding modes.
9215         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
9216         tests of fma.
9217         * math/auto-libm-test-out: Regenerated.
9219 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
9221         [BZ #20119]
9222         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
9223         processor level type mask for CPUID with EAX == 11.
9225 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
9227         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
9228         logical threads if the HTT bit is 0.
9229         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
9230         (index_cpu_HTT): Likewise.
9231         (reg_HTT): Likewise.
9233 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
9235         [BZ #20115]
9236         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
9237         Remove alignments on jump targets.
9239 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
9241         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
9242         (getpwent): Likewise.
9243         (setpwent): Likewise.
9244         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
9245         variable.
9247         * conform/data/search.h-data (insque): Do not expect for [XPG3].
9248         (remque): Likewise.
9249         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
9250         variable.
9252 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
9254         * math/libm-test.inc: Update comment not to refer to signs of NaNs
9255         not being tested.
9257 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9259         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
9260         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
9261         call.
9262         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
9263         (__condvar_cleanup1): Likewise.
9265 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9267         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
9268         New
9269         (__pthread_unwind): Renamed to ...
9270         (PTHREAD_UNWIND): This.
9271         (__pthread_enable_asynccancel): Replace
9272         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
9274 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
9276         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
9277         (CLONE_NEWCGROUP): New macro.
9279         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
9280         (Q_GETNEXTQUOTA): New macro.
9282 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9284         [BZ #19907]
9285         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
9286         buffer updated by the previous run.
9287         * string/test-memcpy.c (do_one_test): Likewise.
9288         * benchtests/bench-memmove.c (do_one_test): Add a comment.
9289         * string/test-memmove.c (do_one_test): Likewise.
9291 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
9293         [BZ #20094]
9294         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
9295         not [__USE_XOPEN].
9296         (unlockpt): Likewise.
9297         (ptsname): Likewise.
9298         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
9299         variable.
9301         [BZ #20076]
9302         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
9303         instead of [__USE_UNIX98].
9304         (S_ISSOCK): Likewise.
9305         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
9306         variable.
9308         [BZ #20074]
9309         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
9310         [__USE_POSIX].
9311         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
9312         variable.
9314         [BZ #20051]
9315         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
9316         (ttyslot): Do not declare.
9317         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
9318         (ttyslot): New prototype.
9319         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
9320         variable.
9321         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9323 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9325         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
9327 2016-05-13  Florian Weimer  <fweimer@redhat.com>
9329         Fix race condition in tst-mallocfork2, use fewer resources.
9330         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
9331         to current process group.
9332         (signal_sender): Yield in the non-sleeping case.
9334 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
9336         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
9337         (ecvt): Likewise.
9338         (fcvt): Likewise.
9339         (gcvt): Likewise.
9340         (getsubopt): Likewise.
9341         (grantpt): Likewise.
9342         (initstate): Likewise.
9343         (l64a): Likewise.
9344         (mktemp): Likewise.
9345         (mkstemp): Likewise.
9346         (ptsname): Likewise.
9347         (random): Likewise.
9348         (realpath): Likewise.
9349         (setstate): Likewise.
9350         (srandom): Likewise.
9351         (ttyslot): Likewise.
9352         (unlockpt): Likewise.
9353         (valloc): Likewise.
9355         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
9356         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
9357         variable.
9359 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
9361         [BZ #20072]
9362         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
9363         init_cpu_features only if SHARED is defined.
9364         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
9366 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
9368         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
9369         non-inclusive caches on Intel processors.
9371 2016-05-13  Florian Weimer  <fweimer@redhat.com>
9373         * malloc/malloc.c (dumped_main_arena_start)
9374         (dumped_main_arena_end): New variables.
9375         (DUMPED_MAIN_ARENA_CHUNK): New macro.
9376         (do_check_chunk): Skip dumped fake mmapped chunks.
9377         (munmap_chunk): Likewise.
9378         (__libc_free): Do not adjust statistics for fake mmapped chunks.
9379         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
9380         mmapped chunks.
9381         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
9382         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
9383         and dumped_main_arena_end to cover the dumped heap.
9385 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
9387         * conform/data/time.h-data (getdate_err): Do not expect for
9388         [XPG3].
9389         (getdate): Likewise.
9390         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
9391         variable.
9393         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
9394         (F_ULOCK): Likewise.
9395         (F_TEST): Likewise.
9396         (F_TLOCK): Likewise.
9397         (useconds_t): Likewise.
9398         (intptr_t): Do not expect for [XPG3] or [XPG4].
9399         (brk): Do not expect for [XPG3]
9400         (fchown): Likewise.
9401         (fchdir): Likewise.
9402         (ftruncate): Likewise.
9403         (getdtablesize): Likewise.
9404         (gethostid): Likewise.
9405         (getpagesize): Likewise.
9406         (getpgid): Likewise.
9407         (getsid): Likewise.
9408         (getwd): Likewise.
9409         (lchown): Likewise.
9410         (lockf): Likewise.
9411         (readlink): Likewise.
9412         (sbrk): Likewise.
9413         (setpgrp): Likewise.
9414         (setregid): Likewise.
9415         (setreuid): Likewise.
9416         (symlink): Likewise.
9417         (sync): Likewise.
9418         (truncate): Likewise.
9419         (ualarm): Likewise.
9420         (usleep): Likewise.
9421         (vfork): Likewise.
9422         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
9423         variable.
9425         [BZ #20054]
9426         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
9427         not [__USE_UNIX98].
9428         * conform/data/unistd.h-data (gethostname): Do not expect for
9429         [XPG3].
9431         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
9432         [!POSIX] (S_IFBLK): Likewise.
9433         [!POSIX] (S_IFCHR): Likewise.
9434         [!POSIX] (S_IFIFO): Likewise.
9435         [!POSIX] (S_IFREG): Likewise.
9436         [!POSIX] (S_IFDIR): Likewise.
9437         [!POSIX] (S_IFLNK): Likewise.
9438         [!POSIX] (S_IFSOCK): Likewise.
9439         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
9440         variable.
9441         (test-xfail-XPG4/fcntl.h/conform): Likewise.
9443 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
9445         * sysdeps/aarch64/memset.S (__memset):
9446         Rewrite of optimized memset.
9448 2016-05-12  Florian Weimer  <fweimer@redhat.com>
9450         [BZ #19703]
9451         Partially async-signal-safe fork for single-threaded processes.
9452         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
9453         variable.  Do not acquire and reset/release malloc and libio locks
9454         in single-threaded processes.
9455         * malloc/tst-mallocfork2.c: New file.
9456         * malloc/Makefile (tests): Add it.
9458 2016-05-12  Florian Weimer  <fweimer@redhat.com>
9460         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
9461         argument.  Use scratch buffer instead of extend_alloca.
9462         (gethosts): Use scratch buffer instead of extend_alloca.
9463         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
9464         extend_alloca.
9465         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
9467 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
9469         [BZ #20055]
9470         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
9471         instead of [__USE_UNIX98].
9472         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
9473         [__USE_UNIX98].
9474         * conform/data/termios.h-data (tcgetsid): Do not expect for
9475         [XPG3].
9476         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
9477         variable.
9478         (test-xfail-XPG4/termios.h/conform): Likewise.
9480 2016-05-11  Florian Weimer  <fweimer@redhat.com>
9482         Do not use mcheck in localedef.
9483         * locale/programs/localedef.c (turn_on_mcheck)
9484         (__malloc_initialize_hook): Remove.
9486 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9488         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
9489         * sysdeps/s390/s390-64/Makefile: Likewise.
9491 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
9493         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
9494         Remove ifunc-defines.sym.
9495         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
9496         Likewise.
9497         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
9498         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
9499         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
9500         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
9501         rtld-global-offsets.sym.
9502         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
9503         * sysdeps/x86/cpu-features-offsets.sym: This.
9504         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
9505         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
9507 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
9509         [BZ #20073]
9510         * io/sys/stat.h (fchmod): Declare for
9511         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
9512         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
9513         variable.
9515         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
9516         [XPG3] (S_IFSOCK): Likewise.
9517         [XPG3] (S_ISVTX): Likewise.
9518         [XPG3] (S_ISLNK): Likewise.
9519         [XPG3] (S_ISSOCK): Likewise.
9520         [XPG3] (fchmod): Likewise.
9521         [XPG3] (lstat): Likewise.
9522         [XPG3] (mknod): Likewise.
9524         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
9525         [XPG3].  Expect type long and XFAIL for [XPG4].
9526         (st_blocks): Likewise.
9528         [BZ #20044]
9529         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
9530         (pthread_atfork): New prototype.
9531         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
9532         variable.
9534         [BZ #20043]
9535         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
9536         prototype.
9538 2016-05-10  Florian Weimer  <fweimer@redhat.com>
9540         [BZ #20017]
9541         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
9542         gmtime.
9544 2016-05-10  Florian Weimer  <fweimer@redhat.com>
9546         [BZ #19994]
9547         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
9548         flag in _res.options.
9550 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
9552         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
9553         [XPG3 || XPG4].
9554         (blksize_t): Likewise.
9555         (clockid_t): Likewise.
9556         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
9557         variable.
9558         (test-xfail-XPG4/sys/types.h/conform): Likewise.
9560 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
9562         * sysdeps/unix/sysv/linux/s390/init-first.c:
9563         Add VDSO_SYMBOL(getcpu).
9564         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
9565         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
9566         Add VDSO_SYMBOL(getcpu).
9567         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
9568         New define HAVE_GETCPU_VSYSCALL.
9569         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9571 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
9573         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
9574         instead of <sysdeps/x86_64/cacheinfo.c>.
9575         * sysdeps/x86_64/cacheinfo.c: Moved to ...
9576         * sysdeps/x86/cacheinfo.c: Here.
9578 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9580         * malloc/malloc-internal.h: Adjust header file guard.
9582 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9584         [BZ #19787]
9585         * inet/getnameinfo.c (check_sprintf_result): New function.
9586         (CHECKED_SNPRINTF): New macro.
9587         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
9588         to the host buffer.
9589         (gni_host_local): Use checked_copy to copy the host name.
9590         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
9591         (gni_serv_local): Use checked_copy to copy the service name.
9592         (getnameinfo): Remove unnecessary truncation of result buffers.
9594 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9596         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
9597         in case of inet_ntop failure.
9599 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9601         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
9602         avoid long lines.
9603         (gni_host_inet_numeric): Likewise.  Reduce scope of local
9604         variables.
9605         (gni_host_inet, gni_host_local): Add comment.
9606         (gni_host): Add comment.  Use temporary to avoid long lines.
9608 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9610         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
9611         registers specifiers where general purpose registers specifiers should
9612         have been used.
9614 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9616         [BZ #19779]
9617         CVE-2016-1234
9618         Avoid copying names of directory entries.
9619         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
9620         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
9621         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
9622         (struct readdir_result): New type.
9623         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
9624         (GL_READDIR): New macros.
9625         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
9626         (convert_dirent, convert_dirent64): New functions.
9627         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
9628         convert_dirent64.  Adjust references to the readdir result.
9629         * sysdeps/unix/sysv/linux/i386/glob64.c:
9630         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
9631         * posix/bug-glob2.c (LONG_NAME): Define.
9632         (filesystem): Add LONG_NAME.
9633         (my_DIR): Increase the size of room_for_dirent.
9635 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
9637         [BZ #20041]
9638         * misc/sys/select.h (__need_timespec): Only define if
9639         [__USE_XOPEN2K].
9640         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
9641         variable.
9642         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9643         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9644         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9646 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9647             Segher Boessenkool  <segher@gcc.gnu.org>
9649         [BZ #20004]
9650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
9651         (__novec_swapcontext): Add missing load.
9653 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
9655         [BZ #20023]
9656         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
9657         <time.h>.
9658         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
9659         variable.
9660         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9662 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
9665         flags CLONE_VM compare.
9667 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9669         [BZ #20031]
9670         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
9671         completely empty.
9673 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9675         [BZ #19573]
9676         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
9677         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
9678         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
9679         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
9680         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
9681         (hesiod_free_list): Mark as hidden.
9682         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
9683         res_set, res_get.
9684         * hesiod/hesiod.c: Remove unnecessary forward declarations.
9685         (init, __hesiod_res_get, __hesiod_res_set): Remove.
9686         (hesiod_init): Remove obsolete res_ninit call.
9687         (hesiod_end): Do not free resolver state.  Do not invoke callback.
9688         (hesiod_bind): Do not call init.
9689         (get_txt_records): Use res_mkquery, res_send instead of
9690         res_nmkquery, res_nsend.
9691         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
9692         instead of _nss_hesiod_init.
9693         (_nss_hesiod_initgroups_dyn): Likewise.
9694         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
9695         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
9696         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
9698 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9700         * hesiod/hesiod_p.h (DEF_RHS): Remove.
9701         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
9703 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9705         * hesiod/hesiod.h: Remove RCS keyword.
9706         * hesiod/hesiod_p.h: Likewise.
9708         * hesiod/hesiod.c: Likewise.
9710 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
9712         [BZ #12450]
9713         * locale/iso-639.def: Add Samogitian/sgs.
9715 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
9717         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
9719         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
9721 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
9722             Carlos O'Donell  <carlos@redhat.com>
9724         [BZ #19072]
9725         * grp/Makefile (headers): Add grp-merge.h
9726         (routines): Add grp-merge.
9727         * grp/getgrgid_r.c: Include grp-merge.h.
9728         (DEEPCOPY_FN): Define.
9729         (MERGE_FN): Define.
9730         * grp/getgrname_r.c: Include grp-merge.h.
9731         (DEEPCOPY_FN): Define.
9732         (MERGE_FN): Define.
9733         * grp/grp-merge.c: New file.
9734         * grp/grp-merge.h: New file.
9735         * include/grp-merge.h: New file.
9736         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
9737         __copy_grp@GLIBC_PRIVATE.
9738         * manual/nss.texi (Actions in the NSS configuration): Describe
9739         return, continue, and merge.
9740         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
9741         (DEEPCOPY_FN): Define.
9742         (MERGE_FN): Define.
9743         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
9744         (DEEPCOPY_FN): Define.
9745         (MERGE_FN): Define.
9746         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
9747         [!MERGE_FN]: Define __merge_einval.
9748         (CHECK_MERGE): Define.
9749         (REENTRANT_NAME): Process merge if do_merge is true.
9750         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
9751         (__nss_getent_r): Likewise.
9752         * nss/nsswitch.c (nss_parse_service_list): Likewise.
9753         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
9755 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9757         [BZ #20012]
9758         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
9759         length to calculate the buffer to read.
9760         (fmemopen_write): Set the buffer position based on bytes written.
9761         (fmemopen_seek): Return EINVAL for invalid whence modes.
9763         [BZ #19957]
9764         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
9765         tst-getpid2.
9766         (test): Add tst-clone2.
9767         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
9768         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
9769         pid/tid fields for CLONE_VM.
9770         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
9771         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
9772         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
9773         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
9774         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
9775         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
9776         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
9777         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
9778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
9779         Likewise.
9780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9781         Likewise.
9782         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
9783         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
9784         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
9785         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
9786         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
9787         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
9788         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
9789         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
9791 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9793         [BZ #19642]
9794         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
9795         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
9796         (gni_serv_local, gni_serv): New functions extracted from
9797         getnameinfo.
9798         (getnameinfo): Call gni_host and gni_serv to perform the
9799         processing.  Always free scratch buffer.
9801 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9803         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
9804         remaining bytes in the dest string, with zeros.
9806 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9808         [BZ #20010]
9809         CVE-2016-3706
9810         * sysdeps/posix/getaddrinfo.c
9811         (convert_hostent_to_gaih_addrtuple): New function.
9812         (gethosts): Call convert_hostent_to_gaih_addrtuple.
9813         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
9814         AF_INET data.
9816 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9818         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
9819         callback function gl_readdir.
9820         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
9821         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
9822         (glob_in_dir): Remove len.  Use strdup instead of malloc and
9823         memcpy to copy the name.
9824         * manual/pattern.texi (Calling Glob): Document requirements for
9825         implementations of the gl_readdir callback function.
9826         * manual/examples/mkdirent.c: New example.
9827         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
9828         per the manual guidance.
9829         * posix/tst-gnuglob.c (my_readdir): Likewise.
9831 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
9833         [BZ #20014]
9834         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
9835         not [__USE_POSIX].
9836         (getchar_unlocked): Likewise.
9837         (putc_unlocked): Likewise.
9838         (putchar_unlocked): Likewise.
9839         (flockfile): Likewise.
9840         (ftrylockfile): Likewise.
9841         (funlockfile): Likewise.
9842         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
9843         variable.
9844         (test-xfail-XPG4/stdio.h/conform): Likewise.
9846         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
9847         Expect constant.
9848         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
9849         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
9850         variable.
9851         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9852         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9854         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
9855         [__USE_LARGEFILE64] (off64_t): Likewise.
9856         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
9857         variable.
9859 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9861         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
9863 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9865         * resolv/inet_addr.c: Reindent preprocessor conditionals.
9866         * resolv/res_init.c: Likewise.
9867         * resolv/res_mkquery.c: Likewise.
9869 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9871         * resolv/res_init.c (isascii): Do not define.  Use definition in
9872         <ctype.h>.
9873         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
9874         (LOG_AUTH): Remove.
9875         (SPRINTF): Remove, adjust caller.
9876         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
9878 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9880         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
9881         SUNSECURITY conditional.
9882         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
9884 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9886         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
9887         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
9888         Remove BSD-related preprocessor conditionals.
9889         * conf/portability.h: Remove.
9891 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9893         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
9894         * resolv/res_data.c: Likewise.
9896 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9898         * resolv/res_comp.c: Remove code conditional on __ultrix__.
9899         * resolv/res_data.c: Remove code conditional on ultrix.
9901 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9903         * resolv/res_init.c (RFC1535): Do not define.  Remove
9904         RFC1535 preprocessor conditionals.
9905         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
9906         because there configuration options which make the resolver
9907         behavior different.
9909 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9911         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
9912         RESOLVSORT preprocessor conditionals.
9913         * resolv/nss_dns/dns-host.c: Likewise.
9914         * resolv/res_init.c: Likewise.
9916 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9918         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
9919         is never defined.
9921 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9923         * inet/inet_lnaof.c: Remove SCSS keyword.
9924         * inet/inet_mkadr.c: Likewise.
9925         * inet/inet_net.c: Likewise.
9926         * inet/inet_netof.c: Likewise.
9927         * inet/rcmd.c: Likewise.
9928         * inet/rexec.c: Likewise.
9929         * inet/ruserpass.c: Likewise.
9931 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9933         * resolv/inet_addr.c: Remove _LIBC conditionals.
9934         * resolv/res_data.c: Likewise.
9935         * resolv/res_init.c: Likewise.
9936         * resolv/res_mkquery.c: Likewise.
9937         * resolv/res_libc.c: Update comment.
9938         * resolv/README: Update.
9940 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9942         * resolv/gethnamaddr.c: Remove SCSS keyword.
9943         * resolv/herror.c: Likewise.
9944         * resolv/inet_addr.c: Likewise.
9945         * resolv/inet_net_ntop.c: Likewise.
9946         * resolv/inet_net_pton.c: Likewise.
9947         * resolv/inet_neta.c: Likewise.
9948         * resolv/inet_ntop.c: Likewise.
9949         * resolv/inet_pton.c: Likewise.
9950         * resolv/ns_date.c: Remove RCS keyword.
9951         * resolv/ns_name.c: Likewise.
9952         * resolv/ns_netint.c: Likewise.
9953         * resolv/ns_parse.c: Likewise.
9954         * resolv/ns_print.c: Likewise.
9955         * resolv/ns_samedomain.c: Likewise.
9956         * resolv/ns_ttl.c: Likewise.
9957         * resolv/nsap_addr.c: Likewise.
9958         * resolv/res_comp.c: Remove SCSS and RCS keyword.
9959         * resolv/res_data.c: Remove RCS keyword.
9960         * resolv/res_debug.c: Remove SCSS and RCS keyword.
9961         * resolv/res_init.c: Likewise.
9962         * resolv/res_mkquery.c: Likewise.
9963         * resolv/res_query.c: Likewise.
9964         * resolv/res_send.c: Likewise.
9966 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
9968         * conform/data/stdio.h-data (fdopen): Expect also for
9969         [XPG3 || XPG4].
9971         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
9972         (fseeko): Likewise.
9973         (ftello): Likewise.
9974         (ftrylockfile): Likewise.
9975         (funlockfile): Likewise.
9976         (getc_unlocked): Likewise.
9977         (getchar_unlocked): Likewise.
9978         (putc_unlocked): Likewise.
9979         (putchar_unlocked): Likewise.
9981 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9983         [BZ #19868]
9984         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
9985         DNS packet syntax checks (which were not needed before).  Skip
9986         over non-PTR records.
9988 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9990         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
9991         definition.  Include <stddef.h> instead.
9993 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9995         [BZ #19831]
9996         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
9997         function.
9998         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
9999         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
10001 2016-04-27  Florian Weimer  <fweimer@redhat.com>
10003         [BZ #19862]
10004         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
10005         (getanswer_r): Do not call syslog.
10006         (gaih_getanswer_slice): Likewise.
10007         * resolv/gethnamaddr.c (AskedForGot): Remove.
10008         (getanswer): Do not call syslog.
10009         (gethostbyaddr): Likewise.
10011 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
10013         * conform/data/signal.h-data (union sigval): Expect also if
10014         [XOPEN2K].
10015         (struct sigevent): Likewise.
10016         (SIGEV_NONE): Likewise.
10017         (SIGEV_SIGNAL): Likewise.
10018         (SIGEV_THREAD): Likewise.
10019         (SIGRTMIN): Likewise.
10020         (SIGRTMAX): Likewise.
10021         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
10022         variable.
10023         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
10025 2016-04-27  Florian Weimer  <fweimer@redhat.com>
10027         [BZ #19830]
10028         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
10029         (gaih_getanswer_slice): Likewise.
10030         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
10031         Also check for availability of RR metadata.
10033 2016-04-27  Florian Weimer  <fweimer@redhat.com>
10035         [BZ #19825]
10036         * resolv/res_send.c (send_vc): Remove early *resplen2
10037         initialization.  Set *resplen2 on socket error.  Call
10038         close_and_return_error for other errors.
10040 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
10042         * sysdeps/unix/sysv/linux/netiucv/iucv.h
10043         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
10044         (SCM_IUCV_TRGCLS): New define.
10046 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10048         [BZ #20005]
10049         * libio/fmemopen.c (fmemopen_write): Update internal position after
10050         write.
10051         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
10052         * stdio-common/tst-fmemopen4.c: New file..
10054 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
10056         [BZ #19996]
10057         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
10058         not [__USE_XOPEN2K].
10059         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
10060         variable.
10062         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
10063         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
10064         variable.
10066         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
10067         [__USE_XOPEN2K8].
10068         [__USE_LARGEFILE64] (off64_t): Likewise.
10069         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
10070         variable.
10072 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
10074         [BZ #19989]
10075         * libio/stdio.h (cuserid): Do not declare if
10076         [__USE_XOPEN2K && !__USE_GNU].
10077         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
10078         variable.
10080 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10082         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
10083         (sysdep_routines): Add P8 and PPC64 strcspn targets.
10084         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10085         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
10086         ifunc'ed strcspn.
10087         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
10088         [EALIGN]: Removed.
10089         [END]: Likewise
10090         [STRSPN]: Define instead of the above to control symbol name.
10091         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
10092         New file.
10093         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
10094         Likewise.
10095         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
10096         Likewise.
10097         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
10098         Likewise.
10099         * sysdeps/powerpc/powerpc64/power8/strspn.S:
10100         [INITIAL_MASK]: New macro.
10101         [STRCSPN]: Likewise.
10102         [UPDATE_MASK]: Likewise.
10103         [USE_AS_STRCSPN]: Lisewise.
10105 2016-04-25  Florian Weimer  <fweimer@redhat.com>
10107         [BZ #19931]
10108         * stdio-common/tst-vfprintf-width-prec.c: New file.
10109         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
10110         (tests-special): Add tst-vfprintf-width-prec-mem.out.
10111         (generated): Add mtrace-related files.
10112         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
10113         (tst-%-mem.out): New pattern rule, replaces
10114         tst-printf-bz18872-mem.out.
10115         * stdio-common/vfprintf.c (vfprintf): When handling a precision
10116         specifier, deallocate any previously allocated work buffer.
10118 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
10120         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
10121         Add nop before __startcontext, add explaining comments.
10123 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
10125         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
10126         any more. Notably since IPV6_PKTINFO has been reintroduced with a
10127         completely different API.
10129         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
10130         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
10131         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
10132         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
10133         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
10134         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
10135         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
10136         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
10137         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
10138         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
10140 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
10142         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
10144 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
10146         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
10147         when it is the default of 0.
10149 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10151         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
10152         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
10153         (sysdep_routines): Add new strcasestr targets.
10154         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10155         (__libc_ifunc_impl_list): Likewise.
10156         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
10157         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
10158         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
10159         * sysdeps/powerpc/powerpc64/power8/Makefile:
10160         New file to add strcasestr-ppc64 to sysdep_routines.
10161         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
10162         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
10164 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
10166         * benchtests/Makefile (wcsmbs-benchset): Include only for
10167         native builds and runs.
10168         (LOCALES): Likewise.
10169         (bench-build): Build timing-type here instead of the bench
10170         target.  Generate locale only for native builds.
10171         * benchtests/README: Add note for cross-building.
10173         * benchtests/Makefile (bench-clean): Clean up extra-objs.
10175         * benchtests/README: Update README to include instructions on
10176         using bench-build.
10178         * Makefile.in (bench-build): New target.
10179         * Rules (PHONY): Add bench-build target.
10180         * benchtests/Makefile (bench): Depend on bench-build.
10181         (bench-build): New target.
10183 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10185         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
10186         profil_reply_port.
10187         (profile_waiter): Do not initialize profil_reply_port.
10188         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
10189         frequency instead of tick length in us.
10191 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
10193         [BZ #18712]
10194         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
10195         (__old_mempcpy_small): Likewise.
10196         (__old_strcpy_small): Likewise.
10197         (__old_stpcpy_small): Likewise.
10198         (__old_strpbrk_c2): Fix compat symbol name.
10199         (__old_strpbrk_c3): Likewise.
10200         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
10201         (__mempcpy_small): Remove.
10202         (__strcpy_small): Remove.
10203         (__stpcpy_small): Remove.
10205 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
10207         [BZ #19400]
10208         * locale/iso-639.def: Add the Talossan/tzl language.
10210 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
10212         [BZ #16983]
10213         * locale/programs/ld-address.c (address_finish): Update postal_fmt
10214         comment.  Add "ln" to strchr check on postal_fmt.
10216 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
10218         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
10219         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
10220         tel_dom_fmt.
10222 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10224         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
10225         (sysdep_routines): Added __strlen_power8.
10226         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
10227         __strlen_power8 entry.
10228         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
10229         Implementation for POWER8.
10230         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
10231         for __strlen_power8.
10232         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
10233         Implementation for POWER8.
10235 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
10237         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
10239 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
10241         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
10242         Goldmont and Airmont processors.
10244 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
10246         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
10247         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
10248         (__STRING2_SMALL_GET32): Remove.
10249         (memset): Remove.
10250         (__memset_1): Remove.
10251         (__memset_gc): Remove.
10252         (__mempcpy): Remove.
10253         (mempcpy): Remove.
10254         (__mempcpy_args): Remove.
10255         (strchr): Remove.
10256         (strcpy): Remove.
10257         (strcpy_args): Remove.
10258         (__stpcpy_args): Remove.
10259         (__strcmp_cc): Remove.
10260         (__strcmp_gc): Remove.
10261         (strstr): Remove.
10263 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
10265         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
10266         * nis/nis_call.c (nis_server_cache_add): Likewise.
10268 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10270         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
10272 2016-04-14  Florian Weimer  <fweimer@redhat.com>
10274         * malloc/arena.c (__malloc_fork_lock_parent)
10275         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
10276         internal_function attribute.
10278 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
10280         * stdio-common/printf_fp.c (__printf_fp_l):
10281         Rename ___printf_fp_l to __printf_fp_l and
10282         remove strong alias. Use libc_hidden_def instead
10283         of ldbl_hidden_def macro.
10285 2016-04-14  Florian Weimer  <fweimer@redhat.com>
10287         Remove malloc hooks from fork handler.  They are no longer needed
10288         because malloc runs right before fork, and no malloc calls from
10289         other fork handlers are not possible anymore.
10290         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
10291         declarations.
10292         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
10293         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
10294         (atfork_recursive_cntr): Remove.
10295         (__malloc_fork_lock_parent): Do not override malloc hooks and
10296         thread_arena.
10297         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
10298         thread_arena.
10299         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
10300         thread_arena instead of save_arena.
10302 2016-04-14  Florian Weimer  <fweimer@redhat.com>
10304         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
10305         (thread_atfork, thread_atfork_static): Remove.
10306         * sysdeps/mach/hurd/malloc-machine.h:
10307         (thread_atfork, thread_atfork_static): Remove.
10309 2016-04-14  Florian Weimer  <fweimer@redhat.com>
10311         [BZ #19431]
10312         Run the malloc fork handler as late as possible to avoid deadlocks.
10313         * malloc/malloc-internal.h: New file.
10314         * malloc/malloc.c: Include it.
10315         * malloc/arena.c (ATFORK_MEM): Remove.
10316         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
10317         Update comment.
10318         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
10319         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
10320         Remove outdated comment.
10321         (ptmalloc_init): Do not call thread_atfork.  Remove
10322         thread_atfork_static.
10323         * malloc/tst-malloc-fork-deadlock.c: New file.
10324         * Makefile (tests): Add tst-malloc-fork-deadlock.
10325         (tst-malloc-fork-deadlock): Link against libpthread.
10326         * manual/memory.texi (Aligned Memory Blocks): Update safety
10327         annotation comments.
10328         * sysdeps/nptl/fork.c (__libc_fork): Call
10329         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
10330         __malloc_fork_unlock_child.
10331         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
10333 2016-04-14  Florian Weimer  <fweimer@redhat.com>
10335         [BZ #19613]
10336         Remove union wait.
10337         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
10338         (w_stopsig, w_stopval): Remove.
10339         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
10340         stat_loc argument.
10341         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
10342         (__WAIT_STATUS_DEFN): Remove.
10343         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
10344         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
10345         (wait, wait3, wait4): Use int * for the stat_loc argument.
10346         * posix/wait.c (__wait): Likewise.
10347         * posix/wait3.c (__wait3): Likewise.
10348         * posix/wait4.c (__wait4): Likewise.
10349         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
10350         (__WAIT_STATUS_DEFN): Remove.
10351         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
10352         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
10353         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
10354         argument.
10355         * sysdeps/posix/wait.c (__libc_wait): Likewise.
10356         * sysdeps/posix/wait3.c (__wait3): Likewise.
10357         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
10358         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
10359         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
10360         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
10361         stat_loc argument.
10362         * manual/process.texi (BSD Wait Functions): Remove union wait.
10364 2016-04-13  Andreas Schwab  <schwab@suse.de>
10366         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
10367         (test-extras): Add tst-tlsalign-vars.
10368         * math/Makefile: Wrap long lines.
10369         (libm-vec-test-wrappers): Define.
10370         (test-extras): Add $(libm-vec-test-wrappers).
10371         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
10372         * nss/Makefile (extra-test-objs): Add nss_test1.os.
10373         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
10374         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
10375         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
10376         (extra-test-objs): Add corresponding objects.
10378 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
10380         [BZ #19928]
10381         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
10382         New.
10383         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
10384         times of shared cache size.
10385         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
10386         (VMOVNT): New.
10387         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
10388         (VMOVNT): Likewise.
10389         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
10390         (VMOVNT): Likewise.
10391         (VMOVU): Changed to movups for smaller code sizes.
10392         (VMOVA): Changed to movaps for smaller code sizes.
10393         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
10394         comments.
10395         (PREFETCH): New.
10396         (PREFETCH_SIZE): Likewise.
10397         (PREFETCHED_LOAD_SIZE): Likewise.
10398         (PREFETCH_ONE_SET): Likewise.
10399         Rewrite to use forward and backward loops, which move 4 vector
10400         registers at a time, to support overlapping addresses and use
10401         non temporal store if size is above the threshold and there is
10402         no overlap between destination and source.
10404 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
10406         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
10407         Include dl-vdso.
10408         * sysdeps/unix/sysv/linux/mips/Versions: Add
10409         __vdso_clock_gettime.
10410         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
10411         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
10412         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
10413         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
10414         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
10415         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
10416         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
10417         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
10418         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
10420 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10422         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
10423         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
10424         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10425         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10426         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10427         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10430         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
10431         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
10432         syscalls generation.
10433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10434         [__NR_pwrite64] (__NR_write): Remove define.
10435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10436         [__NR_pwrite64] (__NR_write): Remove define.
10437         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
10438         Remove define.
10439         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
10440         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
10441         Remove define.
10442         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
10443         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
10444         Linux implementation as base.
10445         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10447         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
10448         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
10449         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10450         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
10452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10453         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
10454         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
10455         syscall generation.
10456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10457         [__NR_pread64] (__NR_pread): Remove define.
10458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10459         [__NR_pread64] (__NR_pread): Likewise.
10460         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
10461         define.
10462         (__libc_pread): Use SYSCALL_LL macro on offset argument.
10463         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
10464         Remove define.
10465         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
10466         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
10467         Linux implementation as base.
10468         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10469         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10470         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10472         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
10473         definition.
10474         (__ALIGNMENT_COUNT): Likewise.
10475         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
10476         (__ALIGNMENT_COUNT): Likewise.
10477         (SYSCALL_LL): New define.
10478         (SYSCALL_LL64): Likewise.
10479         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
10480         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
10481         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
10482         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
10484         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10485         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
10486         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10487         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
10488         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10489         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
10491 2016-04-11  Florian Weimer  <fweimer@redhat.com>
10493         [BZ #19865]
10494         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
10495         original buffer before retry.
10497 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10499         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
10500         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
10501         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
10502         GLRO(dl_auxv) list.
10503         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
10504         including <ldsodefs.h>.
10505         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
10507 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
10509         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
10510         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
10511         $(CPPFLAGS).
10513 2016-04-09  Khem Raj  <raj.khem@gmail.com>
10515         [BZ #17950]
10516         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
10517         Add -mfpmath=387.
10519 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
10521         * sysdeps/i386/configure.ac: Change == to = when calling test.
10522         * sysdeps/x86_64/configure.ac: Likewise.
10523         * sysdeps/i386/configure: Regenerated.
10524         * sysdeps/x86_64/configure: Likewise.
10526 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
10528         [BZ #16137]
10529         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
10530         * benchtests/bench-strcoll.c (input_files): Likewise.
10531         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
10532         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
10533         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
10535 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
10537         [BZ #19929]
10538         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
10539         [__USE_XOPEN2K8 && !__USE_GNU].
10540         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
10541         variable.
10543         [BZ #19925]
10544         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
10545         define if [!__USE_MISC && __USE_XOPEN2K].
10546         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
10547         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
10548         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
10549         Likewise.
10550         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
10551         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
10552         variable.
10553         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10555 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10557         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
10558         (sysdep_routines): Add new strspn targets.
10559         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10560         (__libc_ifunc_impl_list): Add strspn.
10561         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
10562         New file.
10563         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
10564         Likewise.
10565         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
10566         Likewise.
10567         * sysdeps/powerpc/powerpc64/power8/strspn.S:
10568         Likewise.
10570 2016-04-07  Florian Weimer  <fweimer@redhat.com>
10572         * misc/hsearch_r.c: Include <limits.h>.
10574 2016-04-07  Florian Weimer  <fweimer@redhat.com>
10576         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
10578 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
10580         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10581         (MEMCPY_SYMBOL): New.
10582         (MEMPCPY_SYMBOL): Likewise.
10583         (MEMMOVE_CHK_SYMBOL): Likewise.
10584         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
10585         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
10586         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
10587         Provide alias for memcpy in libc.a and ld.so.
10589 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
10591         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10592         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
10593         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
10594         Disabled fro now.
10595         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
10596         symbols.  Properly check USE_MULTIARCH on __memset symbols.
10598 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
10600         * benchtests/Makefile (string-benchset): Add memcpy-large,
10601         memmove-large and memset-large.
10602         * benchtests/bench-memcpy-large.c: New file.
10603         * benchtests/bench-memmove-large.c: Likewise.
10604         * benchtests/bench-memmove-large.c: Likewise.
10605         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
10607 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
10609         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
10610         32-bit displacement to avoid long nop between instructions.
10612 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
10614         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
10615         a comment on VMOVU and VMOVA.
10617 2016-04-04  Florian Weimer  <fweimer@redhat.com>
10619         [BZ #19633]
10620         Use specified locale for number formatting in strfmon_l.
10621         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
10622         (__nl_lookup_word): New inline functions.
10623         * include/printf.h (__print_fp_l): Declare.
10624         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
10625         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
10626         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
10627         (___printf_fp): New function.
10628         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
10629         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
10630         * stdlib/tst-strfmon_l.c (do_test): New test.
10631         * stdlib/Makefile (tests): Add kt.
10632         (LOCALES): Build additional locales.
10633         (tst-strfmon_l.out): Require locales.
10635 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
10637         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
10638         if not in libc.
10639         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
10640         Likewise.
10641         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
10642         Likewise.
10643         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
10644         Likewise.
10646 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
10648         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
10649         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
10650         with unaligned_erms.
10651         (__memmove_erms): Skip if source == destination.
10652         (__memmove_unaligned_erms): Don't check source == destination
10653         first.
10655 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10657         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
10658         bit_arch_Fast_Copy_Backward for Intel Core proessors.
10660 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10662         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
10663         * string/strspn.c (strspn): Likewise.
10665 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10667         * benchtests/bench-memset.c (do_test): Support 64-byte
10668         alignment.
10669         (test_main): Test 64-byte alignment.
10671 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10673         * benchtests/bench-memmove.c (test_main): Test 64-byte
10674         alignment.
10676 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10678         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
10680 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10682         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
10683         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
10684         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
10686         * string/strpbrk.c (strpbrk): Rewrite function.
10687         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
10688         (__strpbrk_c2): Likewise.
10689         (__strpbrk_c3): Likewise.
10690         * string/string-inlines.c
10691         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
10692         Likewise.
10693         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
10694         Likewise.
10696         * string/strspn.c (strcspn): Rewrite function.
10697         * string/bits/string2.h (strspn): Use __builtin_strcspn.
10698         (__strspn_c1): Remove inline function.
10699         (__strspn_c2): Likewise.
10700         (__strspn_c3): Likewise.
10701         * string/string-inlines.c
10702         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
10703         compatibility symbol.
10704         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
10705         Likewise.
10706         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
10707         Likewise.
10708         * string/string-inlines.c: Include generic version.
10710 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
10711             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10713         * string/Version (libc): Add GLIBC_2.24.
10714         * string/strcspn.c (strcspn): Rewrite function.
10715         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
10716         (__strcspn_c1): Remove inline function.
10717         (__strcspn_c2): Likewise.
10718         (__strcspn_c3): Likewise.
10719         * string/string-inline.c
10720         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
10721         compatibility symbol.
10722         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
10723         Likewise.
10724         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
10725         Likewise.
10726         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
10728 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
10730         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10731         Use ahi instead of aghi to adjust stack pointer.
10733 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10735         [BZ #19853]
10736         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
10737         TEST to take significant digits as second parameter.
10738         [TEST]: Redefine in terms of TEST_N taking 30
10739         significant digits.
10740         (do_test): Add test case to demonstrate precision
10741         failure in the ldbl-128ibm printf.
10742         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
10743         (__mpn_extract_long_double): Carry 7 extra intermediate
10744         bits of precision to aide computing difference when
10745         signs differ.
10747 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
10749         [BZ #19881]
10750         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10751         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
10752         memset-avx512-unaligned-erms.
10753         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10754         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
10755         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
10756         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
10757         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
10758         __memset_sse2_unaligned_erms, __memset_erms,
10759         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
10760         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
10761         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
10762         file.
10763         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
10764         Likewise.
10765         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
10766         Likewise.
10767         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
10768         Likewise.
10770 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
10772         [BZ #19776]
10773         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10774         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
10775         memmove-avx512-unaligned-erms.
10776         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10777         (__libc_ifunc_impl_list): Test
10778         __memmove_chk_avx512_unaligned_2,
10779         __memmove_chk_avx512_unaligned_erms,
10780         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
10781         __memmove_chk_sse2_unaligned_2,
10782         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
10783         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
10784         __memmove_avx512_unaligned_erms, __memmove_erms,
10785         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
10786         __memcpy_chk_avx512_unaligned_2,
10787         __memcpy_chk_avx512_unaligned_erms,
10788         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
10789         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
10790         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
10791         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
10792         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
10793         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
10794         __mempcpy_chk_avx512_unaligned_erms,
10795         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
10796         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
10797         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
10798         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
10799         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
10800         __mempcpy_erms.
10801         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
10802         file.
10803         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
10804         Likwise.
10805         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
10806         Likwise.
10807         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
10808         Likwise.
10810 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10812         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
10813         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
10814         (La_s390_64_regs): Likewise.
10815         (La_s390_32_retval): Append vector register lrv_v24.
10816         (La_s390_64_retval): Likeweise.
10817         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10818         Handle extended structs La_s390_32_regs and La_s390_32_retval.
10819         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10820         Handle extended structs La_s390_64_regs and La_s390_64_retval.
10822 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10824         [BZ #19916]
10825         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
10826         to create a non-vector/vector version for _dl_runtime_resolve and
10827         _dl_runtime_profile. Move implementation to ...
10828         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
10829         (_dl_runtime_resolve) Save and restore fpr/vrs.
10830         (_dl_runtime_profile) Save and restore vrs and fix some issues
10831         if _dl_call_pltexit is called.
10832         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
10833         Choose the correct resolver function if running on a machine with vx.
10834         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
10835         to create a non-vector/vector version for _dl_runtime_resolve and
10836         _dl_runtime_profile. Move implementation to ...
10837         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
10838         (_dl_runtime_resolve) Save and restore fpr/vrs.
10839         (_dl_runtime_profile) Save and restore vrs and fix some issues
10840         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
10841         Choose the correct resolver function if running on a machine with vx.
10843 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10845         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
10847 2016-03-31  Florian Weimer  <fweimer@redhat.com>
10849         [BZ #19509]
10850         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
10851         skip_map != NULL.
10852         * elf/tst-dlsym-error.c: New file.
10853         * elf/Makefile (tests): Add tst-dlsym-error.
10854         (tst-dlsym-error): Link against libdl.
10856 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
10858         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10859         (__ASSUME_FUTIMESAT): Remove macro.
10860         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
10862 2016-03-29  Florian Weimer  <fweimer@redhat.com>
10864         [BZ #19879]
10865         CVE-2016-3075
10866         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
10867         copy name.
10869 2016-03-29  Florian Weimer  <fweimer@redhat.com>
10871         [BZ #19837]
10872         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
10873         error if parse_line fails.
10875 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10877         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
10878         (index_cpu_ERMS): Likewise.
10879         (reg_ERMS): Likewise.
10881 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
10883         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
10884         PER_LINUX_FDPIC): Add.
10886 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10888         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10889         memcpy-avx512-no-vzeroupper.
10890         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
10891         to ...
10892         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
10893         (MEMCPY): Don't define.
10894         (MEMCPY_CHK): Likewise.
10895         (MEMPCPY): Likewise.
10896         (MEMPCPY_CHK): Likewise.
10897         (MEMPCPY_CHK): Renamed to ...
10898         (__mempcpy_chk_avx512_no_vzeroupper): This.
10899         (MEMPCPY_CHK): Renamed to ...
10900         (__mempcpy_chk_avx512_no_vzeroupper): This.
10901         (MEMCPY_CHK): Renamed to ...
10902         (__memmove_chk_avx512_no_vzeroupper): This.
10903         (MEMCPY): Renamed to ...
10904         (__memmove_avx512_no_vzeroupper): This.
10905         (__memcpy_avx512_no_vzeroupper): New alias.
10906         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
10908 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10910         [BZ #18858]
10911         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10912         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
10913         and mempcpy-avx512-no-vzeroupper.
10914         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
10915         New.
10916         (MEMPCPY): Likewise.
10917         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
10918         (MEMPCPY_CHK): New.
10919         (MEMPCPY): Likewise.
10920         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
10921         (MEMPCPY): Likewise.
10922         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
10923         (MEMPCPY): Likewise.
10924         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
10925         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
10926         Likewise.
10927         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
10928         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
10930 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10931              Amit Pawar  <Amit.Pawar@amd.com>
10933         [BZ #19583]
10934         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
10935         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
10936         processors.  Set Fast_Copy_Backward for AMD Excavator
10937         processors.
10938         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
10939         New.
10940         (index_arch_Fast_Unaligned_Copy): Likewise.
10941         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
10942         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
10944 2016-03-25  Florian Weimer  <fweimer@redhat.com>
10946         [BZ #19791]
10947         * resolv/res_send.c (close_and_return_error): New function.
10948         (send_dg): Initialize *resplen2 after reopen failure.  Call
10949         close_and_return_error for error returns.  On error paths without
10950         __res_iclose, initialze *resplen2 explicitly.  Update comment for
10951         successful return.
10953 2016-03-25  Florian Weimer  <fweimer@redhat.com>
10955         [BZ# 19860]
10956         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
10957         zero if the compiler does not provide the AVX512F bit.
10959 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
10961         [BZ #19848]
10962         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
10963         from 8 to 4.
10964         (__ieee754_powl): Compare integer exponent against 4 not 8.
10965         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
10966         from 8 to 4.
10967         (__ieee754_powl): Compare integer exponent against 4 not 8.
10968         * math/auto-libm-test-in: Add more tests of pow.
10969         * math/auto-libm-test-out: Regenerated.
10970         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
10971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10973 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
10975         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
10976         Make code unconditional.
10977         [!__NR_utimensat]: Remove conditional code.
10978         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
10979         Make code unconditional.
10980         [!__NR_utimensat]: Remove conditional code.
10981         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
10982         Make code unconditional.
10983         [!__NR_utimensat]: Remove conditional code.
10985 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
10987         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
10988         Make code unconditional.
10990 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
10992         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
10993         call-clobbered %eax on retry path.
10994         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
10996 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10998         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
10999         Don't set %rcx twice before "rep movsb".
11001 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
11003         [BZ #19583]
11004         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
11005         inline.  Check family before setting family, model and
11006         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
11007         bits here.
11008         (init_cpu_features): Replace HAS_CPU_FEATURE and
11009         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
11010         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
11011         for Intel processors with usable AVX2.  Call get_common_indeces
11012         for other processors with family == NULL.
11013         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
11014         (CPU_FEATURES_ARCH_P): Likewise.
11015         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
11016         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
11018 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11020         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
11021         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
11022         $(shared-thread-library) instead of hardcoding the path to libpthread.
11024 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
11026         * sysdeps/unix/sysv/linux/kernel-features.h
11027         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
11028         * sysdeps/unix/sysv/linux/getdents.c
11029         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
11030         [!have_no_getdents64_defined]: Likewise.
11031         (__GETDENTS): Remove __have_no_getdents64 conditional.
11033 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
11035         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
11036         Remove macro.
11037         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
11038         <kernel-features.h>.
11039         (signalfd) [__NR_signalfd4]: Make code unconditional.
11040         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
11042 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11044         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
11045         style.
11047 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
11049         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
11050         (__pthread_enable_asynccancel): Use JUMPTARGET to call
11051         __pthread_unwind.
11052         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
11053         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
11054         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
11055         (__condvar_cleanup1): Likewise.
11057 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
11059         [BZ #19822]
11060         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
11061         move it to the final $@ location.
11063 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11065         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
11066         access where posix_spawn success and pid argument is null.
11067         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
11068         success case.
11070 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
11072         * sysdeps/mach/hurd/i386/c++-types.data: New file.
11074         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
11076         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
11077         and __fcntl.
11078         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
11079         __fcntl only.
11080         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
11081         adding attribute_hidden to __open and __fcntl.
11083         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
11084         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
11085         depend on libc-modules.h,
11086         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
11088 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
11090         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
11091         Remove macro.
11092         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
11093         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
11094         entry.
11096         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
11097         Remove macro.
11098         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
11099         include <kernel-features.h>.
11100         [!__ASSUME_FALLOCATE]: Remove conditional code.
11101         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
11103 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
11105         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
11106         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
11107         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
11108         (_ZGVdN4v_cos_avx2): Likewise.
11109         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
11110         (_ZGVdN4v_cos): Likewise.
11111         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
11112         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
11113         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
11114         (_ZGVdN4v_exp_avx2): Likewise.
11115         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
11116         (_ZGVdN4v_exp): Likewise.
11117         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
11118         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
11119         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
11120         (_ZGVdN4v_log_avx2): Likewise.
11121         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
11122         (_ZGVdN4v_log): Likewise.
11123         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
11124         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
11125         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
11126         (_ZGVdN4vv_pow_avx2): Likewise.
11127         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
11128         (_ZGVdN4vv_pow): Likewise.
11129         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
11130         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
11131         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
11132         (_ZGVdN4v_sin_avx2): Likewise.
11133         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
11134         (_ZGVdN4v_sin): Likewise.
11135         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
11136         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
11137         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
11138         (_ZGVdN4vvv_sincos_avx2): Likewise.
11139         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
11140         (_ZGVdN4vvv_sincos): Likewise.
11141         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
11142         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
11143         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
11144         (_ZGVbN4v_cosf_sse4): Likewise.
11145         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
11146         (_ZGVdN8v_cosf_avx2): Likewise.
11147         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
11148         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
11149         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
11150         (_ZGVbN4v_expf_sse4): Likewise.
11151         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
11152         (_ZGVdN8v_expf_avx2): Likewise.
11153         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
11154         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
11155         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
11156         (_ZGVbN4v_logf_sse4): Likewise.
11157         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
11158         (_ZGVdN8v_logf_avx2): Likewise.
11159         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
11160         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
11161         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
11162         (_ZGVbN4vv_powf_sse4): Likewise.
11163         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
11164         (_ZGVdN8vv_powf_avx2): Likewise.
11165         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
11166         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
11167         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
11168         (_ZGVbN4vvv_sincosf_sse4): Likewise.
11169         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
11170         (_ZGVdN8vvv_sincosf_avx2): Likewise.
11171         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
11172         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
11173         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
11174         (_ZGVbN4v_sinf_sse4): Likewise.
11175         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
11176         (_ZGVdN8v_sinf_avx2): Likewise.
11177         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
11178         Use JUMPTARGET to call callee.
11179         (WRAPPER_IMPL_SSE2_ff): Likewise.
11180         (WRAPPER_IMPL_SSE2_fFF): Likewise.
11181         (WRAPPER_IMPL_AVX): Likewise.
11182         (WRAPPER_IMPL_AVX_ff): Likewise.
11183         (WRAPPER_IMPL_AVX_fFF): Likewise.
11184         (WRAPPER_IMPL_AVX512): Likewise.
11185         (WRAPPER_IMPL_AVX512_ff): Likewise.
11186         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
11187         Likewise.
11188         (WRAPPER_IMPL_SSE2_ff): Likewise.
11189         (WRAPPER_IMPL_SSE2_fFF): Likewise.
11190         (WRAPPER_IMPL_AVX): Likewise.
11191         (WRAPPER_IMPL_AVX_ff): Likewise.
11192         (WRAPPER_IMPL_AVX_fFF): Likewise.
11193         (WRAPPER_IMPL_AVX512): Likewise.
11194         (WRAPPER_IMPL_AVX512_ff): Likewise.
11195         (WRAPPER_IMPL_AVX512_fFF): Likewise.
11197 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11199         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
11200         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
11201         qualifier.
11202         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
11203         internal_function qualifiers.
11205 2016-03-15  Carlos O'Donell <carlos@redhat.com>
11207         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
11208         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
11209         * math/atest-exp.c (exp_mpn): Mark chk unused.
11210         * math/atest-exp2.c (exp_mpn): Likwise.
11211         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
11212         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
11214 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
11216         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
11217         Remove macro.
11218         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
11219         <kernel-features.h>.
11220         [__NR_ppoll]: Make code unconditional.
11221         [!__ASSUME_PPOLL]: Remove conditional code.
11223         * sysdeps/unix/sysv/linux/kernel-features.h
11224         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
11225         (__ASSUME_ACCEPT4): Likewise.
11226         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11227         Define.
11228         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
11229         Likewise.
11230         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11231         Likewise.
11232         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
11233         Likewise.
11234         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
11235         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
11236         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11237         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
11238         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11239         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11240         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11241         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11242         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11243         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11244         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11245         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11246         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11247         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11248         * sysdeps/unix/sysv/linux/i386/kernel-features.h
11249         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11250         Likewise.
11251         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11252         Likewise.
11253         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
11254         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
11255         0x040300].
11256         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11257         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
11258         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11259         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
11260         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
11261         0x030300].
11262         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
11263         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11264         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
11265         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
11266         0x040300].
11267         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11268         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11269         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11270         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11271         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11272         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
11273         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
11274         0x030300].
11275         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11276         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11277         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11278         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11279         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11280         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11281         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11282         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11283         * sysdeps/unix/sysv/linux/s390/kernel-features.h
11284         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
11285         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
11286         0x040300].
11287         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11288         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11289         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11290         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11291         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11292         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11293         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11294         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11295         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11296         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11297         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11298         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11299         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11300         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11301         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
11302         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11303         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11304         Likewise.
11305         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11306         Likewise.
11308 2016-03-15  Andreas Schwab  <schwab@suse.de>
11310         [BZ #19257]
11311         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
11312         statp->_u._ext.nscount as loop count.
11314 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
11316         * math/test-signgam-finite-c99.c: Also #undef
11317         __LIBC_INTERNAL_MATH_INLINES.
11318         * math/test-signgam-main.c: Likewise.
11320 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
11322         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
11323         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11324         (MADV_FREE): Likewise.
11325         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
11326         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
11327         EPOLLEXCLUSIVE.
11329 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
11331         * timezone/README: Remove mention of checktab.awk. Mention wiki
11332         SharedSourceFiles.
11334 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
11336         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
11337         WUNTRACED.
11339 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11341         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
11342         order to match the type of p when calling atomic_exchange_acq().
11344 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11346         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
11347         cfi_offset calls.
11348         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
11349         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
11350         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
11351         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
11352         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
11354 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
11356         * timezone/checktab.awk: Removed.
11358 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
11360         * manual/math.texi (Errors in Math Functions): Document relaxed
11361         accuracy goals for IBM long double.
11362         * math/libm-test.inc (test_exceptions): Always allow spurious
11363         "underflow" and "inexact" exceptions for IBM long double.
11365 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
11367         [BZ #19762]
11368         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
11369         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
11370         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
11371         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
11372         (bit_arch_*): This for feature array.
11373         (bit_*): Renamed to ...
11374         (bit_cpu_*): This for cpu array.
11375         (index_*): Renamed to ...
11376         (index_arch_*): This for feature array.
11377         (index_*): Renamed to ...
11378         (index_cpu_*): This for cpu array.
11379         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
11380         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
11381         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
11382         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
11383         bit_##name with index_cpu_##name and bit_cpu_##name.
11384         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
11385         bit_##name with index_arch_##name and bit_arch_##name.
11387 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
11389         [BZ #19792]
11390         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
11391         Terminate FDE before return label.
11393 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
11395         [BZ #19790]
11396         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
11397         (rintl): Define as macro.
11398         [USE_AS_NEARBYINTL] (__rintl): Likewise.
11399         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
11400         of fesetround.  Ensure results are evaluated before end of scope.
11401         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
11402         USE_AS_NEARBYINTL and include s_rintl.c.
11403         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
11404         Disable exception traps in new environment.
11405         (libc_feholdsetround_ppc_ctx): Likewise.
11407 2016-03-08  Roland McGrath  <roland@hack.frob.com>
11409         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
11410         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
11411         (tst_audit10_aux) [__AVX512F__]: ... here.
11413 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
11415         * include/sys/auxv.h: New file.
11417 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
11419         [BZ #19759]
11420         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
11422 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11424         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
11425         operand modifier.
11426         (feclearexcept): Likewise.
11428 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11430         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
11431         to reflect the entire 32-bit HWCAP.
11432         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
11433         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
11435 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
11437         [BZ #19783]
11438         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
11439         $(test-via-rtld-prefix).
11440         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
11442 2016-03-08  Florian Weimer  <fweimer@redhat.com>
11444         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
11445         union wait.  Report any non-zero exit status as error.
11447 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11449         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
11450         configured with --enable-hardcoded-path-in-tests.
11452 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
11454         [BZ #19677]
11455         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
11456         (__ieee754_remainderl): Put zero low parts in canonical form.
11457         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
11458         file.  Based on
11459         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
11460         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
11461         with wrapper round test-fmodrem-ldbl-128ibm.c.
11462         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
11463         file.
11464         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
11465         Likewise.
11466         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
11467         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
11469 2016-03-07  Florian Weimer  <fweimer@redhat.com>
11471         [BZ #19610]
11472         * elf/ldconfig.c (opt_link): Update comment.
11473         (options): Update help string for option -X.
11474         (search_dir): Unlink stale symbolic link only if updating symbolic
11475         links.
11476         * elf/tst-ldconfig-X.sh: New file.
11477         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
11478         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
11480 2016-03-07  Andreas Schwab  <schwab@suse.de>
11482         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
11483         needed arguments.
11485 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
11487         [BZ #15333]
11488         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
11489         to lstat64.
11491 2016-03-07  Florian Weimer  <fweimer@redhat.com>
11493         * libio/filedoalloc.c (isatty): Remove.
11494         (local_isatty): Add comment.  Call __isatty directly.
11495         (_IO_file_doallocate): Update comment.  Assume _LIBC.
11496         * libio/wfiledoalloc.c (isatty): Remove.
11497         (_IO_wfile_doallocate): Update comment.
11499 2016-03-07  Florian Weimer  <fweimer@redhat.com>
11501         [BZ #19269]
11502         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
11503         tst-audit4-aux.o.
11504         (tst-audit10): Depend on tst-audit10-aux.o.
11505         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
11506         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
11507         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
11508         instead of inline AVX code.
11509         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
11510         instead of inline AVX512 code.
11511         * sysdeps/x86_64/tst-audit4-aux.c: New file
11512         * sysdeps/x86_64/tst-audit10-aux.c: New file
11514         [BZ #19648]
11515         * test-skeleton.c (main): Do not set RLIMIT_DATA.
11517 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11519         [BZ #14750]
11520         [BZ #10354]
11521         [BZ #18433]
11522         * include/sched.h (__clone): Add hidden prototype.
11523         (__clone2): Likewise.
11524         * include/unistd.h (__dup): Likewise.
11525         * posix/Makefile (tests): Add tst-spawn2.
11526         * posix/tst-spawn2.c: New file.
11527         * sysdeps/posix/dup.c (__dup): Add hidden definition.
11528         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
11529         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
11530         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
11531         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
11532         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
11533         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
11534         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
11535         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
11536         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
11537         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
11538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
11539         Likewise.
11540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11541         Likewise.
11542         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
11543         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
11544         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
11545         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
11546         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
11547         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
11548         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
11549         * sysdeps/unix/sysv/linux/nptl-signals.h
11550         (____nptl_is_internal_signal): New function.
11551         * sysdeps/unix/sysv/linux/spawni.c: New file.
11553         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
11554         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
11555         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
11556         * posix/tst-execvp2.c (do_test): Likewise.
11557         * posix/tst-execvp3.c (do_test): Likewise.
11558         * posix/tst-execvp4.c (do_test): Likewise.
11559         * posix/tst-execvpe1.c: New file.
11560         * posix/tst-execvpe2.c: Likewise.
11561         * posix/tst-execvpe3.c: Likewise.
11562         * posix/tst-execvpe4.c: Likewise.
11563         * posix/tst-execvpe5.c: Likewise.
11564         * posix/tst-execvpe6.c: Likewise.
11566         [BZ #19534]
11567         * posix/execl.c (execl): Remove dynamic memory allocation.
11568         * posix/execle.c (execle): Likewise.
11569         * posix/execlp.c (execlp): Likewise.
11571 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
11573         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
11574         Replace .text with .text.avx512.
11575         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
11576         Likewise.
11578 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
11580         * sysdeps/generic/libnsl.abilist: New file.
11581         * sysdeps/generic/libutil.abilist: New file.
11583 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
11585         [BZ #19762]
11586         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
11587         HAS_ARCH_FEATURE with Fast_Rep_String.
11588         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
11589         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
11590         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
11591         Likewise.
11592         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
11593         Likewise.
11594         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
11595         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
11596         Likewise.
11597         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
11598         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
11599         Likewise.
11601 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
11603         [BZ #19745]
11604         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
11605         with *%rax in call.
11607 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
11609         [BZ #19745]
11610         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
11611         with *__libc_start_main@GOTPCREL(%rip) in call.
11613 2016-03-04  Roland McGrath  <roland@hack.frob.com>
11615         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
11616         inside conditional for nonempty $(CXX).
11618         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
11619         nonempty.
11621         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
11622         to test for empty $(CXX) rather than $(CXX) of "no".
11624 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
11626         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
11628 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
11629             H.J. Lu  <hongjiu.lu@intel.com>
11631         [BZ #18880]
11632         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
11633         instead of Slow_BSF, and also check for Fast_Copy_Backward to
11634         enable __memcpy_ssse3_back.
11636 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
11638         [BZ #19758]
11639         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
11640         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
11642 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
11644         [BZ #19490]
11645         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
11646         (__fentry__): Likewise.
11648 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
11650         * gmon/Makefile (noprof): Add $(sysdep_noprof).
11651         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
11653 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
11655         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
11656         __mcount_internal directly.
11657         (C_LABEL(__fentry__)): Likewise.
11658         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
11659         directly.
11661 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
11663         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11664         (__start_context): Call __setcontext directly.
11666 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
11668         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11669         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11670         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
11671         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
11672         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11673         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11674         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
11675         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11676         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11677         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
11678         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
11679         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
11680         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11681         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11682         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11683         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11684         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
11685         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11686         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11687         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
11688         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
11689         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11690         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11691         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
11692         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
11693         Remove conditional code.
11694         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11695         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
11696         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11697         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11698         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
11699         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11700         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
11701         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11702         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11703         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11704         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11705         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11707 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
11709         * NEWS (2.23): Fix typo in bug 19048 text.
11711 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
11713         [BZ #14259]
11714         * Makeconfig: Rename msgcatdir to localedir.
11715         Rename inst_msgcatdir to inst_localedir.
11716         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
11717         * config.make.in: Add localedir.
11718         * elf/Makefile ($(objpfx)sotruss): Use localedir.
11719         (ldd-rewrite): Likewise.
11720         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
11721         (install-others): Use inst_localedir.
11722         (CPPFLAGS): Use localedir.
11723         * locale/Makefile (locale-CPPFLAGS): Likewise.
11724         * po/Makefile (mo-installed): Use inst_localedir.
11726         [BZ #19575]
11727         * localedata/charmaps/GB18030: Update comments regarding PAU to
11728         non-PUA mappings.
11730 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
11732         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
11733         test for header.
11734         * sysdeps/unix/sysv/linux/configure: Regenerated.
11735         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
11736         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
11737         Remove conditional code.
11738         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
11740         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11741         Define to 3.2.0.
11742         (arch_minimum_kernel): Likewise.
11743         * sysdeps/unix/sysv/linux/configure: Regenerated.
11744         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
11745         Define to 2.6.32.
11746         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
11747         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
11748         (arch_minimum_kernel): Define to 2.6.32.
11749         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
11750         * README: Document Linux 3.2 requirement.
11751         * manual/install.texi (Linux): Document Linux 3.2 headers
11752         requirement.
11753         * INSTALL: Regenerated.
11755 2016-02-24  Andreas Schwab  <schwab@suse.de>
11757         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
11758         if !NO_LONG_DOUBLE.
11760 2016-02-22  Roland McGrath  <roland@hack.frob.com>
11762         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
11763         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
11765 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
11767         [BZ #19512]
11768         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
11770 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
11772         * posix/tst-dir.c: Include libc-internal.h.
11774 2016-02-20  Florian Weimer  <fweimer@redhat.com>
11776         [BZ #19056]
11777         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
11778         * manual/filesys.texi (Reading/Closing Directory): Mention
11779         deprecaion.
11780         * posix/tst-dir.c (main): Disable deprecation warning in test.
11782 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
11784         [BZ #19679]
11785         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
11786         Renamed to ...
11787         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
11788         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11789         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
11790         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11791         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
11792         * sysdeps/x86_64/dl-trampoline.h
11793         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11794         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
11796 2016-02-19  Mark Wielaard  <mjw@redhat.com>
11798         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
11800 2016-02-19  Mark Wielaard  <mjw@redhat.com>
11802         * elf/elf.h (R_386_GOT32X): New.
11803         (R_386_NUM): Update.
11804         (R_X86_64_GOTPCRELX: New.
11805         (R_X86_64_REX_GOTPCRELX): New.
11806         (R_X86_64_NUM): Update.
11808 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
11810         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
11812 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
11814         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
11815         assign attr->stackaddr to it, and adjust it down when
11816         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
11817         [_STACK_GROWS_UP]: Delete assert.
11818         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
11819         Implement stack grows up logic.
11820         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
11821         stack grows up logic.
11823 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11825         * NEWS: Update with 2.24 template.
11827 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
11829         [BZ #19678]
11830         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11831         Ensure +0.0 is returned when taking the next value below the least
11832         positive value.
11834 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11836         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
11837         available.  Do not define NO_THREADS.
11838         * malloc/malloc.c: Do not check NO_THREADS.
11839         * malloc/arena.c: Likewise.
11841 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11843         * malloc/malloc.c (__libc_mallinfo): Update comment.
11844         (struct malloc_par): Remove max_total_mem member, it was always 0.
11845         (int_mallinfo): Store 0 into usmblks (no functional change).
11846         * malloc/hooks.c (struct malloc_state): Document that
11847         max_total_mem is always 0.
11848         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
11849         always 0.
11850         * manual/memory.texi (Statistics of Malloc): Likewise.
11852 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11854         * malloc/malloc.c (sysmalloc): Do not update arena_max.
11855         * malloc/arena.c (arena_max): Remove.
11856         (heap_trim, _int_new_arena): Do not update arena_max.
11858 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11860         * resolv/res_init.c (res_ninit): Update comment.
11862 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11864         [BZ #19505]
11865         * posix/spawn_int.h: Add headers and include guard.
11866         (__spawn_valid_fd): New function.
11867         * posix/spawn_faction_addopen.c
11868         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
11869         * posix/spawn_faction_addclose.c
11870         (posix_spawn_file_actions_addclose): Likewise.
11871         * posix/spawn_faction_adddup2.c
11872         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
11873         second file descriptor.
11874         * posix/spawn_valid_fd.c: New file.
11875         * posix/tst-posix_spawn-fd.c: New file.
11876         * posix/Makefile (routines): Add spawn_valid_fd.
11877         (tests): Add tst-posix_spawn-fd.
11879 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11881         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
11882         (do_test): Limit the number of arenas, so that we can use fewer
11883         outer threads.  Limit timeout to 3 seconds, in preparation for a
11884         larger TIMEOUT value.
11886 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
11888         [BZ #19674]
11889         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
11890         sign in overflowing and underflowing results when overflow or
11891         underflow is detected early.  Include sign in result before rather
11892         than after scaling.
11894         [BZ #19603]
11895         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
11896         (__ieee754_remainderl): Adjust sign of integer version of low part
11897         when taking absolute value of high part.
11898         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11899         * math/libm-test.inc (remainder_test_data): Add another test.
11900         (remquo_test_data): Likewise.
11902 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
11904         [BZ #19602]
11905         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
11906         equal high parts and both low parts zero specially.
11907         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
11908         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
11909         Add test-fmodl-ldbl-128ibm.
11911         [BZ #19595]
11912         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
11913         common logic for all cases of shifting subnormal results.  Do not
11914         insert sign bit in shifted mantissa.  Always pass -1023 as biased
11915         exponent to ldbl_insert_mantissa in subnormal case.
11917         [BZ #19594]
11918         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
11919         on high and low parts then adjust result and use
11920         ldbl_canonicalize_int if needed.
11922         [BZ #19593]
11923         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
11924         on high part and __floor or __ceil on low part then use
11925         ldbl_canonicalize_int if needed.
11927         [BZ #19592]
11928         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
11929         high and low parts then use ldbl_canonicalize_int if needed.
11931         [BZ #17899]
11932         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
11933         New function.
11934         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
11935         on high and low parts then use ldbl_canonicalize_int if needed.
11937 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11939         * configure: Regenerated.
11941         * po/libc.pot: Regenerated.
11943         * po/be.po: Updated translation.
11944         * po/bg.po: Likewise.
11945         * po/ca.po: Likewise.
11946         * po/cs.po: Likewise.
11947         * po/da.po: Likewise.
11948         * po/el.po: Likewise.
11949         * po/eo.po: Likewise.
11950         * po/es.po: Likewise.
11951         * po/fi.po: Likewise.
11952         * po/fr.po: Likewise.
11953         * po/gl.po: Likewise.
11954         * po/hr.po: Likewise.
11955         * po/hu.po: Likewise.
11956         * po/ia.po: Likewise.
11957         * po/id.po: Likewise.
11958         * po/it.po: Likewise.
11959         * po/ja.po: Likewise.
11960         * po/lt.po: Likewise.
11961         * po/nb.po: Likewise.
11962         * po/nl.po: Likewise.
11963         * po/pt_BR.po: Likewise.
11964         * po/rw.po: Likewise.
11965         * po/sk.po: Likewise.
11966         * po/sl.po: Likewise.
11967         * po/sv.po: Likewise.
11968         * po/tr.po: Likewise.
11969         * po/zh_CN.po: Likewise.
11970         * po/zh_TW.po: Likewise.
11972         * version.h (RELEAES): Set to "development".
11973         (VERSION): Set to 2.23.90.
11975         * version.h (RELEASE): Set to "stable".
11976         (VERSION): Set to 2.23.
11977         * include/feature.h (__GLIBC_MINOR__): Set to 23.
11979         * NEWS: Updated fixed bugs.
11981 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
11982             Wilco Dijkstra  <wdijkstr@arm.com>
11984         [BZ #19462]
11985         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
11986         (_STRING_INLINE_unaligned): This.
11987         * include/string.h: Include <string_private.h>.
11988         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
11989         _STRING_INLINE_unaligned.
11990         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
11991         (_STRING_INLINE_unaligned): New.
11992         * sysdeps/aarch64/string_private.h: New file.
11993         * sysdeps/generic/string_private.h: Likewise.
11994         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
11995         * sysdeps/s390/string_private.h: Likewise.
11996         * sysdeps/x86/string_private.h: Likewise.
11997         * sysdeps/m68k/m680x0/m68020/bits/string.h
11998         (_STRING_ARCH_unaligned): Renamed to ...
11999         (_STRING_INLINE_unaligned): This.
12000         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
12001         to ...
12002         (_STRING_INLINE_unaligned): This.
12003         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
12004         to ...
12005         (_STRING_INLINE_unaligned): This.
12006         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
12007         to ...
12008         (_STRING_INLINE_unaligned): This.
12010 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
12011             H.J. Lu  <hongjiu.lu@intel.com>
12013         [BZ #19590]
12014         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
12015         relocation.
12017 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
12019         [BZ #18665]
12020         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
12021         *herrno_p.
12022         (gaih_getanswer): Document functional behviour. Return tryagain
12023         if any result is tryagain.
12024         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
12025         when freed.
12026         * resolv/res_send.c: Add copyright text.
12027         (__libc_res_nsend): Document that MAXPACKET is expected.
12028         (send_vc): Document. Remove buffer reuse.
12029         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
12030         size of the buffer. Add Dprint for truncated UDP buffer.
12032 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
12034         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
12035         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
12036         * INSTALL: Regenerate.
12038 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
12039             Jonathan Wakely  <jwakely@redhat.com>
12040             Carlos O'Donell  <carlos@redhat.com>
12042         [BZ 19439]
12043         * math/Makefile (tests): Add test-math-isinff.
12044         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
12045         * math/bits/mathcalls.h [__USE_MISC]: Use
12046         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
12047         functions not in C++11 and which don't conflict e.g. isinff,
12048         isinfl etc.
12049         * math/test-math-isinff.cc: New file.
12051 2016-02-12  Florian Weimer  <fweimer@redhat.com>
12053         * misc/bug18240.c (do_test): Set RLIMIT_AS.
12055 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12057         [BZ #19529]
12058         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
12060 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12062         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
12064 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
12066         [BZ #19550]
12067         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
12068         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
12069         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
12070         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
12071         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
12072         New syscall entry.
12073         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
12074         New syscall entry.
12075         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
12076         syscall entry.
12078 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
12080         [BZ #18240]
12081         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
12082         unsigned int wraparound.
12084 2016-01-27  Florian Weimer  <fweimer@redhat.com>
12086         [BZ #18240]
12087         * misc/bug18240.c: New test.
12088         * misc/Makefile (tests): Add it.
12090 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
12091             Joseph Myers  <joseph@codesourcery.com>
12093         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
12094         load in branch delay slot when less than a word of input left.
12096 2016-01-27  Andreas Schwab  <schwab@suse.de>
12098         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
12099         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
12100         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
12101         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
12103 2016-01-26  David S. Miller  <davem@davemloft.net>
12105         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
12107 2016-01-25  David S. Miller  <davem@davemloft.net>
12109         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
12110         __sqrtl_finite.
12111         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
12112         instead using versioned_symbol.
12113         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
12114         of entries.
12116         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
12117         __sqrtl_finite to GLIBC_2.23
12119 2016-01-25  Ricchard Henderson  <rth@redhat.com>
12121         * sysdeps/alpha/fpu/libm-test-ulps: Update.
12123 2016-01-25  Andreas Schwab  <schwab@suse.de>
12125         [BZ #17514]
12126         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
12127         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
12128         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
12129         * nptl/tst-mutex-errorcheck.c: New file.
12131 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12133         [BZ #18560]
12134         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
12135         (IPCOP_semop): Likewise.
12136         (IPCOP_semget): Likewise.
12137         (IPCOP_semctl): Likewise.
12138         (IPCOP_msgsnd): Likewise.
12139         (IPCOP_msgrcv): Likewise.
12140         (IPCOP_msgget): Likewise.
12141         (IPCOP_msgctl): Likewise.
12142         (IPCOP_shmat): Likewise.
12143         (IPCOP_shmdt): Likewise.
12144         (IPCOP_shmget): Likewise.
12145         (IPCOP_shmctl): Likewise.
12147 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
12149         * string/tst-endian.c: Include <libc-internal.h>.
12150         (do_test): Ignore tautological-compare warnings around
12151         "htobeXX (beXXtoh (i)) != i" and
12152         "htoleXX (leXXtoh (i)) != i" if-statements.
12154 2016-01-24  David S. Miller  <davem@davemloft.net>
12156         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
12157         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
12158         alias.
12159         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
12160         __sqrtl_finite.
12162         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12164 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
12166         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
12167         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
12168         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12170 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12172         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
12173         (thread_func): Use new function to simplify barrier check.
12174         (do_test): Use new function to simplify checking barrier exit
12175         code, and actually join the child thread.
12177 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12179         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
12180         semicolon.
12181         (__libc_tend): Likewise.
12182         (__libc_tabort): Likewise.
12184 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
12186         * sysdeps/nios2/libm-test-ulps: Update.
12187         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
12188         (__gtsf2): Likewise.
12189         (__unorddf2): Likewise.
12190         (__unordsf2): Likewise.
12191         (__ledf2): Likewise.
12193 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
12195         * nis/nis_table.c (__follow_path): Disable diagnostic for
12196         uninitialized variable that is a false positive for gcc 4.7.
12197         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
12199 2016-01-20  Roland McGrath  <roland@hack.frob.com>
12201         * sysdeps/nacl/lowlevellock-futex.h
12202         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
12203         Always evaluate PRIVATE argument.
12205 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
12207         [BZ #19490]
12208         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
12209         (pthread_cond_broadcast): Use ENTRY/END
12210         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
12211         (pthread_cond_signal): Likewise.
12212         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
12213         Likewise.
12214         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
12215         Likewise.
12216         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
12217         Likewise.
12219 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
12221         * sysdeps/ieee754/dbl-64/s_finite.c
12222         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
12223         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
12224         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
12225         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
12226         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
12228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
12229         (__gtsf2): Add as optional for libc.so.
12230         (__unordsf2): Likewise.
12231         (__signbit): Remove for libc.so.
12232         (__signbitl): Likewise.
12234 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
12236         * iconvdata/bug-iconv11.c (test_ibm93x):
12237         Use %zu printf format specifier for size_t argument.
12239 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
12241         * math/gen-libm-test.pl (parse_ulps): Do not reduce
12242         already-recorded ulps.
12243         * sysdeps/arm/libm-test-ulps: Regenerated.
12244         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12245         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12246         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12248 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12249             Paul Pluzhnikov  <ppluzhnikov@google.com>
12251         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
12252         assembler not supporting AVX-512.
12254 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
12256         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12258 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
12260         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12261         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12263         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12265         * sysdeps/arm/libm-test-ulps: Regenerated.
12267 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
12269         [BZ #19451]
12270         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
12272 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
12274         [BZ #19486]
12275         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
12276         * sysdeps/generic/fix-fp-int-convert-overflow.h
12277         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
12278         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
12279         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
12280         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
12281         Likewise.
12282         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
12283         Avoid conversions to long int where inexact exceptions
12284         could be raised.
12285         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
12286         Likewise.
12287         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
12288         Avoid conversions to long long int where inexact exceptions
12289         could be raised.
12290         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
12291         Likewise.
12293 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
12295         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
12296         * configure: Regenerated.
12298 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
12300         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
12302 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
12304         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
12305         outside of comment.
12307 2016-01-15  Torvald Riegel  <triegel@redhat.com>
12309         * nptl/tst-barrier1.c: Add description on first line.
12310         * nptl/tst-barrier2.c: Likewise.
12311         * nptl/tst-barrier3.c: Likewise.
12312         * nptl/tst-barrier4.c: Likewise.
12313         * nptl/tst-barrier5.c: Likewise.
12315 2016-01-15  Torvald Riegel  <triegel@redhat.com>
12317         [BZ #18868]
12318         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
12320 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
12322         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
12323         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
12324         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
12325         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
12326         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
12327         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
12328         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12329         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12330         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12331         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12332         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12334 2016-01-15  Torvald Riegel  <triegel@redhat.com>
12336         [BZ #13065]
12337         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
12338         new implementation.
12339         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
12340         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
12341         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
12342         (BARRIER_IN_THRESHOLD): New macro.
12343         * nptl/pthread_barrierattr_setpshared.c
12344         (pthread_barrierattr_setpshared): Clean up.
12345         * nptl/tst-barrier4.c: Correct comment.
12346         * nptl/tst-barrier5.c: New file.
12347         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
12348         (gen-as-const-headers): Remove lowlevelbarrier.sym.
12349         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
12350         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
12351         * nptl/lowlevelbarrier.sym: Remove.
12352         * nptl/DESIGN-barrier.txt: Remove.
12353         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
12354         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
12355         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
12356         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
12357         error.
12358         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
12359         implementation.
12361 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12363         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
12364         (do_child): Mask SIGRTMIN while thr is running.
12366 2016-01-15  Martin Sebor  <msebor@redhat.com>
12368         [BZ #19432]
12369         * iconvdata/Makefile: Add bug-iconv11.
12370         * iconvdata/bug-iconv11.c: New test.
12371         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
12372         * iconvdata/ibm933.c: Same.
12373         * iconvdata/ibm935.c: Same.
12374         * iconvdata/ibm937.c: Same.
12375         * iconvdata/ibm939.c: Same.
12377 2016-01-15  Martin Sebor  <msebor@redhat.com>
12379         [BZ #19443]
12380         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
12381         [DEBUG] (_ufc_set_bits): Declare used.
12382         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
12383         [DEBUG] (print_all): Declare used.
12384         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
12385         operands of the ternary ?: expression to target type.
12386         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
12387         calling the undeclared abort.
12388         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
12390 2016-01-15  Martin Sebor  <msebor@redhat.com>
12392         [BZ #18755]
12393         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
12394         warnings.
12395         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
12396         (__gai_create_helper_thread): Same.
12397         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
12398         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
12399         to suppress -Wmaybe-uninitialized warnings.
12401 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
12403         [BZ #19465]
12404         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
12405         inside if.
12406         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12407         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12408         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12410 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
12412         [BZ #19466]
12413         * time/tst-mktime2.c (time_t_max): Removed.
12414         (time_t_min): Likewise.
12415         (TYPE_SIGNED): New.
12416         (TYPE_MINIMUM): Likewise.
12417         (TYPE_MAXIMUM): Likewise.
12418         (TIME_T_MIN): Likewise.
12419         (TIME_T_MAX): Likewise.
12420         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
12421         and TIME_T_MIN.
12422         (do_test): Likewise.
12424 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
12426         [BZ #19467]
12427         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
12428         index_Fast_Unaligned_Load flag for Excavator family CPUs.
12430 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
12432         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
12434 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
12436         * benchtests/Makefile (PYTHON): Define.
12437         (bench-func): Use $(PYTHON) to run python scripts.
12438         ($(objpfx)bench-%.c): Likewise.
12440 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
12442         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
12443         leading slash when `file_name' is "/".
12445 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
12447         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
12448         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
12449         Likewise.
12450         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
12451         Likewise.
12452         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
12453         Likewise.
12454         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
12455         enum constant and macro.
12456         (PTRACE_SETSIGMASK): Likewise.
12457         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12458         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
12459         (PTRACE_GETSIGMASK): Likewise.
12460         (PTRACE_SETSIGMASK): Likewise.
12461         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12462         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
12463         Likewise.
12464         (PTRACE_SETSIGMASK): Likewise.
12465         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12466         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12467         (PTRACE_GETSIGMASK): Likewise.
12468         (PTRACE_SETSIGMASK): Likewise.
12469         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12470         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
12471         Likewise.
12472         (PTRACE_SETSIGMASK): Likewise.
12473         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12474         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
12475         Likewise.
12476         (PTRACE_SETSIGMASK): Likewise.
12477         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12478         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
12479         Likewise.
12480         (PTRACE_SETSIGMASK): Likewise.
12481         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12483 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
12484             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12486         [BZ #19439]
12487         * math/bits/mathcalls.h
12488         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
12489         prototype.
12490         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
12492 2016-01-11  Andreas Schwab  <schwab@suse.de>
12494         [BZ #19253]
12495         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
12496         cache when TZDEFRULES was used.
12497         * time/tst-tzname.c: New file.
12498         * time/Makefile (test): Add tst-tzname.
12499         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
12500         * timezone/Makefile (test-zones): Add $(posixrules-file).
12501         ($(testdata)/$(posixrules-file)): New rule.
12503 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
12505         Fix doc quoting problems with Texinfo 5
12506         Without this change, in the info file output, Texinfo 5 quotes code
12507         in text with undirected single quotes 'like this' and generates
12508         code examples that with many PDF readers cannot be cut out of PDFs
12509         and pasted into code.
12510         * manual/libc.texinfo: Configure the libc manual like the GNU
12511         Emacs manual, by using @documentencoding and setting
12512         txicodequoteundirected and txicodequotebacktick.  This way,
12513         Texinfo 5 quotes code in text with directed single quotes ‘like
12514         this’ and produces examples that can be cut out of PDFs.  This
12515         change causes Texinfo 5 to generate info files that contain UTF-8
12516         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
12517         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
12519 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12521         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
12522         __libc_tabort, __libc_tend): New wrappers that enforce compiler
12523         barriers to their respective compiler built-ins.
12524         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
12525         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
12526         * sysdeps/powerpc/sysdep.h: Likewise.
12527         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
12528         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
12529         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
12531 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
12533         * scripts/config.guess: Revert previous shebang change.
12534         * scripts/config.sub: Likewise.
12535         * scripts/mkinstalldirs: Likewise.
12537 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12539         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
12540         PPC_FEATURE2_HAS_IEEE128.
12541         * sysdeps/powerpc/dl-procinfo.c:
12542         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
12544 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
12546         [BZ #19415]
12547         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
12548         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
12549         (_dl_lookup_address): Rewrite using function resolver trampoline.
12550         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
12551         two bits in address.
12553 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
12555         * longlong.h: Change !__SHMEDIA__ to
12556         (!defined (__SHMEDIA__) || !__SHMEDIA__).
12557         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
12559 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
12560             Joseph Myers  <joseph@codesourcery.com>
12561             Mark Shinwell  <shinwell@codesourcery.com>
12562             Andrew Stubbs  <ams@codesourcery.com>
12563             Rich Felker <dalias@libc.org>
12565         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
12567 2016-01-07  Richard Henderson  <rth@redhat.com>
12569         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
12571 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
12573         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
12574         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
12575         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12576         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12577         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
12579 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
12580             Joseph Myers  <joseph@codesourcery.com>
12582         * timezone/private.h: Update from tzcode 2015g.
12583         * timezone/tzfile.h: Likewise.
12584         * timezone/tzselect.ksh: Likewise.
12585         * timezone/zdump.c: Likewise.
12586         * timezone/zic.c: Likewise.
12587         * timezone/ialloc.c: Remove file.
12588         * timezone/scheck.c: Likewise.
12589         * timezone/Makefile (extra-objs): Remove variable.
12590         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
12591         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
12592         -Wno-maybe-uninitialized.
12593         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
12594         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
12595         (CFLAGS-ialloc.c): Remove variable.
12596         (CFLAGS-scheck.c): Likewise.
12597         * timezone/README: Update list of files from tzcode.
12599 2016-01-07  Khem Raj  <raj.khem@gmail.com>
12601         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
12602         instead of __fxprintf when _LIBC is undefined.
12604 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
12606         * catgets/test-gencat.sh: Remove space after shebang.
12607         * conform/GlibcConform.pm: Likewise.
12608         * conform/check-header-lists.sh: Likewise.
12609         * conform/conformtest.pl: Likewise.
12610         * conform/linknamespace.pl: Likewise.
12611         * conform/list-header-symbols.pl: Likewise.
12612         * debug/catchsegv.sh: Likewise.
12613         * elf/genrtldtbl.awk: Likewise.
12614         * elf/tst-pathopt.sh: Likewise.
12615         * elf/tst-rtld-load-self.sh: Likewise.
12616         * grp/tst_fgetgrent.sh: Likewise.
12617         * iconvdata/gen-8bit-gap-1.sh: Likewise.
12618         * iconvdata/gen-8bit-gap.sh: Likewise.
12619         * iconvdata/gen-8bit.sh: Likewise.
12620         * iconvdata/run-iconv-test.sh: Likewise.
12621         * intl/tst-gettext.sh: Likewise.
12622         * intl/tst-gettext2.sh: Likewise.
12623         * intl/tst-gettext4.sh: Likewise.
12624         * intl/tst-gettext6.sh: Likewise.
12625         * intl/tst-translit.sh: Likewise.
12626         * io/ftwtest-sh: Likewise.
12627         * libio/test-freopen.sh: Likewise.
12628         * locale/gen-translit.pl: Likewise.
12629         * malloc/tst-mtrace.sh: Likewise.
12630         * manual/check-safety.sh: Likewise.
12631         * manual/libc-texinfo.sh: Likewise.
12632         * manual/tsort.awk: Likewise.
12633         * manual/xtract-typefun.awk: Likewise.
12634         * nptl/tst-cancel-wrappers.sh: Likewise.
12635         * nptl/tst-tls6.sh: Likewise.
12636         * posix/globtest.sh: Likewise.
12637         * posix/tst-getconf.sh: Likewise.
12638         * posix/wordexp-tst.sh: Likewise.
12639         * scripts/check-c++-types.sh: Likewise.
12640         * scripts/check-local-headers.sh: Likewise.
12641         * scripts/config.guess: Likewise.
12642         * scripts/config.sub: Likewise.
12643         * scripts/cpp: Likewise.
12644         * scripts/cross-test-ssh.sh: Likewise.
12645         * scripts/documented.sh: Likewise.
12646         * scripts/evaluate-test.sh: Likewise.
12647         * scripts/gen-libc-abis: Likewise.
12648         * scripts/gen-sorted.awk: Likewise.
12649         * scripts/list-fixed-bugs.py: Likewise.
12650         * scripts/merge-test-results.sh: Likewise.
12651         * scripts/mkinstalldirs: Likewise.
12652         * scripts/rellns-sh: Likewise.
12653         * scripts/test-installation.pl: Likewise.
12654         * scripts/update-copyrights: Likewise.
12655         * stdio-common/tst-printf.sh: Likewise.
12656         * stdio-common/tst-unbputc.sh: Likewise.
12657         * stdlib/tst-fmtmsg.sh: Likewise.
12658         * stdlib/tst-setcontext3.sh: Likewise.
12659         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
12660         * sysdeps/unix/make-syscalls.sh: Likewise.
12662 2016-01-06  John David Anglin  <dave.anglin@bell.net>
12664         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
12665         asm stw with atomic_exchange_rel.  Add explanatory comment.
12666         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
12667         Likewise.
12669 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
12671         [BZ #19122]
12672         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
12673         * sysdeps/generic/dl-unistd.h: New file.
12674         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
12676 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
12678          [BZ #19122]
12679          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
12680          * sysdeps/generic/dl-mman.h: New file.
12681          * sysdeps/mach/hurd/dl-mman.h: Likewise.
12683 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
12685         * manual/texinfo.tex: Update to version 2016-01-04.21 with
12686         trailing whitespace removed.
12687         * scripts/config.guess: Update to version 2016-01-01.
12688         * scripts/config.sub: Update to version 2016-01-01.
12689         * scripts/move-if-change: Update from gnulib.
12691 2016-01-04  Anton Blanchard  <anton@samba.org>
12693         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
12694         for array indices.
12695         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
12697 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
12699         * NEWS: Update copyright dates.
12700         * catgets/gencat.c (print_version): Likewise.
12701         * csu/version.c (banner): Likewise.
12702         * debug/catchsegv.sh: Likewise.
12703         * debug/pcprofiledump.c (print_version): Likewise.
12704         * debug/xtrace.sh (do_version): Likewise.
12705         * elf/ldconfig.c (print_version): Likewise.
12706         * elf/ldd.bash.in: Likewise.
12707         * elf/pldd.c (print_version): Likewise.
12708         * elf/sotruss.sh: Likewise.
12709         * elf/sprof.c (print_version): Likewise.
12710         * iconv/iconv_prog.c (print_version): Likewise.
12711         * iconv/iconvconfig.c (print_version): Likewise.
12712         * locale/programs/locale.c (print_version): Likewise.
12713         * locale/programs/localedef.c (print_version): Likewise.
12714         * login/programs/pt_chown.c (print_version): Likewise.
12715         * malloc/memusage.sh (do_version): Likewise.
12716         * malloc/memusagestat.c (print_version): Likewise.
12717         * malloc/mtrace.pl: Likewise.
12718         * manual/libc.texinfo: Likewise.
12719         * nptl/version.c (banner): Likewise.
12720         * nscd/nscd.c (print_version): Likewise.
12721         * nss/getent.c (print_version): Likewise.
12722         * nss/makedb.c (print_version): Likewise.
12723         * posix/getconf.c (main): Likewise.
12724         * scripts/test-installation.pl: Likewise.
12725         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
12727         * All files with FSF copyright notices: Update copyright dates
12728         using scripts/update-copyrights.
12729         * intl/plural.c: Regenerated.
12730         * locale/programs/charmap-kw.h: Likewise.
12731         * locale/programs/locfile-kw.h: Likewise.
12733 2016-01-02  Helge Deller  <deller@gmx.de>
12735         [BZ #19285]
12736         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
12737         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
12738         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
12739         (MADV_xxK_PAGES): Remove.
12741 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
12743         [BZ #15421]
12744         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
12745         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
12746         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
12747         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
12749 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
12751         [BZ #19408]
12752         * sysdeps/unix/sysv/linux/personality.c: New file.
12753         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
12754         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
12755         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
12756         (sysdep_routines): Add personality.
12757         (tests): Add tst-personality.
12758         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
12759         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
12760         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
12761         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
12762         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
12763         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
12764         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
12765         Likewise.
12766         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
12767         Likewise.
12768         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
12769         Likewise.
12770         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
12771         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
12772         Likewise.
12774 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
12776         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
12777         (PATH_ARM_SYSTYPE): Remove.
12778         (PATH_CPUINFO): Likewise.
12779         (IO_BASE_FOOTBRIDGE): Likewise.
12780         (IO_SHIFT_FOOTBRIDGE): Likewise.
12781         (struct platform): Likewise.
12782         (init_iosys): Remove compatibility code for 2.4 kernels.
12783         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
12785 2015-12-29  Florian Weimer  <fweimer@redhat.com>
12787         * malloc/tst-malloc-thread-fail.c: New file.
12788         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
12789         (tst-malloc-thread-fail): Link against libpthread.
12791 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
12793         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
12794         (get_parser): New function.
12795         (main): New function.
12797 2015-12-29  Rob Wu  <rob@robwu.nl>
12799         [BZ #19369]
12800         * resolv/res_init.c (__res_vinit): Reset defdname before use.
12802 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
12804         [BZ #19270]
12805         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
12807 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
12809         [BZ #15421]
12810         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
12812 2015-12-23  Torvald Riegel  <triegel@redhat.com>
12814         [BZ #13690]
12815         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
12816         after releasing it.
12817         (__lll_robust_unlock): Likewise.
12818         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12819         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
12820         (lll_robust_unlock): Likewise.
12821         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
12822         Prevent warnings in callers.
12824 2015-12-23  Florian Weimer  <fweimer@redhat.com>
12826         * malloc/arena.c (list_lock): Update comment.
12828 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12830         * sysdeps/powerpc/hwcapinfo.c: Export symbol
12831         __parse_hwcap_and_convert_at_platform to libc.a.
12833 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12835         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
12836         platform and feature support for POWER9.
12837         * sysdeps/powerpc/dl-procinfo.h: Likewise.
12838         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
12839         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
12840         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
12841         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
12842         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
12843         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
12844         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
12846 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12848         Harmonize generic stdio-lock support with nptl
12850         This fixes build when _IO_funlockfile is a macro, fixes build where
12851         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
12852         stack unwind.
12854         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
12855         _IO_release_lock ): Use cleanup attribute on new
12856         _IO_acquire_lock_file variable instead of assuming that
12857         _IO_release_lock will be called.
12858         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
12859         _IO_acquire_lock_needs_exceptions_enabled.
12860         (_IO_acquire_lock_clear_flags2): New macro.
12862 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12864         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
12866 2015-12-21  Florian Weimer  <fweimer@redhat.com>
12868         [BZ #19182]
12869         * malloc/arena.c (list_lock): Document lock ordering requirements.
12870         (free_list_lock): New lock.
12871         (ptmalloc_lock_all): Comment on free_list_lock.
12872         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
12873         (detach_arena): Update comment.  free_list_lock is now needed.
12874         (_int_new_arena): Use free_list_lock around detach_arena call.
12875         Acquire arena lock after list_lock.  Add comment, including FIXME
12876         about incorrect synchronization.
12877         (get_free_list): Switch to free_list_lock.
12878         (reused_arena): Acquire free_list_lock around detach_arena call
12879         and attached threads counter update.  Add two FIXMEs about
12880         incorrect synchronization.
12881         (arena_thread_freeres): Switch to free_list_lock.
12882         * malloc/malloc.c (struct malloc_state): Update comments to
12883         mention free_list_lock.
12885 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
12887         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
12888         Remove functions.
12889         (sloww, sloww1): Accept argument to offset quadrant.
12890         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
12891         quadrant.
12892         (__sin, __cos): Consolidate common code into new functions.
12893         (reduce_sincos_1, do_sincos_1): New functions.
12894         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
12896         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
12897         code to new functions.
12898         (reduce_sincos_2, do_sincos_2): New functions.
12899         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
12901         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
12902         common code for sincos.
12903         (__cos) [!IN_SINCOS]: Likewise.
12904         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
12905         New function.
12906         (__sincos): Use it.
12908 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
12910         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
12911         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
12912         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12914 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12916         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
12917         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
12918         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
12919         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
12920         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12921         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
12922         index_Prefer_No_VZEROUPPER): New feature.
12923         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
12924         Prefer_No_VZEROUPPER for Knights Landing.
12926 015-12-18  Torvald Riegel  <triegel@redhat.com>
12928         * math/atest-exp2.c (mp_exp_m1): Remove.
12930 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12932         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
12933         syscalls.
12934         (__SYSCALL0): New macro.
12935         (__SYSCALL1): Likewise.
12936         (__SYSCALL2): Likewise.
12937         (__SYSCALL3): Likewise.
12938         (__SYSCALL4): Likewise.
12939         (__SYSCALL5): Likewise.
12940         (__SYSCALL6): Likewise.
12941         (__SYSCALL_CONCAT_X): Likewise.
12942         (__SYSCALL_CONCAT): Likewise.
12943         (__SYSCALL_DIST): Likewise.
12944         (__SYSCALL_CALL): Likewise.
12946 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
12948         [BZ #19363]
12949         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
12951 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12953         [BZ #19375]
12954         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
12955         negative subnormals.
12957 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
12959         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12960         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
12961         (INTERNAL_SYSCALL_NCS): Use it.
12962         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12964 2015-12-16  Florian Weimer  <fweimer@redhat.com>
12966         [BZ #19243]
12967         * malloc/arena.c (get_free_list): Remove assert and adjust
12968         reference count handling.  Add comment about reused_arena
12969         interaction.
12970         (reused_arena): Add comments abount get_free_list interaction.
12971         * malloc/tst-malloc-thread-exit.c: New file.
12972         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
12973         (tst-malloc-thread-exit): Link against libpthread.
12975 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
12977         [BZ #19367]
12978         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
12979         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
12980         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
12981         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
12982         (index_Prefer_MAP_32BIT_EXEC): Likewise.
12984 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
12986         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
12987         Silvermont optimizations for Knights Landing.
12989 2015-12-15  Andreas Schwab  <schwab@suse.de>
12991         [BZ #17197]
12992         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
12993         immediately after emitting SI.
12994         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
12995         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
12996         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
12997         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
12998         * iconvdata/bug-iconv10.c: New file.
12999         * iconvdata/Makefile (tests): Add bug-iconv10.
13000         ($(objpfx)bug-iconv10.out): New rule.
13002 2015-12-15  Florian Weimer  <fweimer@redhat.com>
13004         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
13005         aliasing violation.
13007 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
13009         [BZ #18472]
13010         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
13011         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
13012         conditionals for them.
13013         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
13014         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
13015         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
13016         sys/kdaemon.h.
13017         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
13018         compat-only syscall, obsoleted in glibc 2.23.
13019         (create_module): Likewise.
13020         (get_kernel_syms): Likewise.
13021         (query_module): Likewise.
13022         (uselib): Likewise.
13023         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
13025 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
13027         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
13028         <linux/version.h>.
13029         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
13030         conditional code.
13031         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
13032         and ioshift_name initialization.
13034 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
13036         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13037         Fix indentation.
13039 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
13041         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
13043 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
13045         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
13047 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
13048             Jakub Wilk  <jwilk@debian.org>
13050         [BZ #19347]
13051         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
13052         to change the group of the device to the tty group.
13054 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
13056         Split large string section; add truncation advice
13057         * manual/examples/strncat.c: Remove.
13058         This example was misleading, as the code would have undefined
13059         behavior if "hello" was longer than SIZE.  Anyway, the manual
13060         shouldn't encourage strncpy+strncat for this sort of thing.
13061         * manual/string.texi (Copying Strings and Arrays): Split into
13062         three sections Copying Strings and Arrays, Concatenating Strings,
13063         and Truncating Strings, as this section was way too long.  All
13064         cross-referenced changed.  Add advice about string-truncation
13065         functions.  Remove misleading strncat example.
13067 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
13069         * manual/nss.texi (NSS Modules Interface): Document
13070         NSS_STATUS_NOTFOUND and SUCCESS.
13072 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
13074         [BZ 18568]
13075         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
13076         201505L, for Unicode 8.
13078 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
13080         * locale/C-translit.h: Regenerate.
13082 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
13084         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
13085         and U+0153.
13087 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
13089         [BZ #19351]
13090         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
13091         expanding log(1+z), compare z rather than its square with epsilon
13092         to determine when to avoid evaluating the expansion.
13094         [BZ #19350]
13095         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
13096         Increase overflow threshold.
13098         [BZ #19349]
13099         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
13100         when small.
13102         * sysdeps/unix/sysv/linux/i386/kernel-features.h
13103         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
13104         New macro.
13105         [__LINUX_KERNEL_VERSION >= 0x040300]
13106         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
13107         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
13108         Likewise.
13109         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
13110         Likewise.
13111         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
13112         Likewise.
13113         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
13114         Likewise.
13115         [__LINUX_KERNEL_VERSION >= 0x040300]
13116         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
13117         [__LINUX_KERNEL_VERSION >= 0x040300]
13118         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
13119         [__LINUX_KERNEL_VERSION >= 0x040300]
13120         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
13121         [__LINUX_KERNEL_VERSION >= 0x040300]
13122         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
13123         [__LINUX_KERNEL_VERSION >= 0x040300]
13124         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
13125         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
13126         Likewise.
13127         [__LINUX_KERNEL_VERSION >= 0x040300]
13128         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
13129         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13130         Likewise.
13131         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
13132         Likewise.
13133         [__LINUX_KERNEL_VERSION >= 0x040300]
13134         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
13135         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13136         Likewise.
13137         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
13138         Likewise.
13139         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13140         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
13141         Likewise.
13142         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
13143         Likewise.
13144         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
13145         Likewise.
13146         [__LINUX_KERNEL_VERSION >= 0x040300]
13147         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
13148         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
13149         Likewise.
13150         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
13151         Likewise.
13152         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
13153         Likewise.
13154         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
13155         Likewise.
13156         [__LINUX_KERNEL_VERSION >= 0x040300]
13157         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
13158         [__LINUX_KERNEL_VERSION >= 0x040300]
13159         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
13160         [__LINUX_KERNEL_VERSION >= 0x040300]
13161         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
13162         [__LINUX_KERNEL_VERSION >= 0x040300]
13163         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
13164         [__LINUX_KERNEL_VERSION >= 0x040300]
13165         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
13166         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
13167         Likewise.
13168         [__LINUX_KERNEL_VERSION >= 0x040300]
13169         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
13170         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13171         Likewise.
13172         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
13173         Likewise.
13174         [__LINUX_KERNEL_VERSION >= 0x040300]
13175         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
13176         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13177         Likewise.
13178         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
13179         Likewise.
13180         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13181         (__ASSUME_SOCKET_SYSCALL): Likewise.
13182         (__ASSUME_BIND_SYSCALL): Likewise.
13183         (__ASSUME_CONNECT_SYSCALL): Likewise.
13184         (__ASSUME_LISTEN_SYSCALL): Likewise.
13185         (__ASSUME_ACCEPT_SYSCALL): Likewise.
13186         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
13187         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
13188         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
13189         (__ASSUME_SEND_SYSCALL): Likewise.
13190         (__ASSUME_SENDTO_SYSCALL): Likewise.
13191         (__ASSUME_RECV_SYSCALL): Likewise.
13192         (__ASSUME_RECVFROM_SYSCALL): Likewise.
13193         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
13194         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
13195         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
13196         (__ASSUME_SENDMSG_SYSCALL): Likewise.
13197         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13198         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13199         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
13200         Likewise.
13201         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
13202         Likewise.
13203         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
13204         Likewise.
13205         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
13206         Likewise.
13207         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
13208         Likewise.
13209         [__LINUX_KERNEL_VERSION >= 0x020625]
13210         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
13211         [__LINUX_KERNEL_VERSION >= 0x020625]
13212         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
13213         [__LINUX_KERNEL_VERSION >= 0x020625]
13214         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
13215         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
13216         Likewise.
13217         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
13218         Likewise.
13219         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
13220         Likewise.
13221         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
13222         Likewise.
13223         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
13224         Likewise.
13225         [__LINUX_KERNEL_VERSION >= 0x020625]
13226         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
13227         [__LINUX_KERNEL_VERSION >= 0x020625]
13228         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
13229         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
13230         Likewise.
13231         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
13232         Likewise.
13234 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
13236         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
13237         record the current if the current ABI and CPU support the FP64
13238         extension.
13239         (has-modd-spreg): Define to record the current if the current ABI and
13240         CPU support 32-bit floating point values in odd FPU registers.
13241         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13242         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
13243         $(has-modd-spreg) equals yes.
13244         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
13245         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
13246         $(has-modd-spreg) equal yes.
13248 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
13250         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
13251         basename.
13253 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
13255         * benchtests/Makefile (bench-math): Move ffs and ffsll...
13256         (bench-string): ... here.
13257         (bench): Add bench-string.
13258         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
13259         to *-benchset to reflect what they are.
13260         (benchset): Adjust.
13262         * benchtests/sincos-inputs: Add inputs from sin-inputs and
13263         cos-inputs.
13265 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
13267         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
13268         __attribute__ ((__simd__)) for vector math function declarations.
13270 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
13272         Fix typo in strncat, wcsncat manual entries
13273         * manual/string.texi (Copying and Concatenation): Fix typos in
13274         sample implementations of strncat and wcsncat, by having them use
13275         the old value of the destination length, not the new one.
13277 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
13279         [BZ #16961]
13280         [BZ #16962]
13281         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
13282         string on the stack for strtod.
13283         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
13284         a string on the stack for strtof.
13285         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
13286         constructing a string on the stack for strtold.
13287         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
13288         __strtold_nan to GLIBC_PRIVATE.
13289         * math/test-nan-overflow.c: New file.
13290         * math/test-nan-payload.c: Likewise.
13291         * math/Makefile (tests): Add test-nan-overflow and
13292         test-nan-payload.
13294 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
13296         Consistency about byte vs character in string.texi
13297         * manual/string.texi (String and Array Utilities):
13298         Distinguish more carefully among bytes, multibyte characters,
13299         and wide characters.  Use "byte" when talking about C 'char',
13300         to distinguish it more clearly from multibyte characters.
13301         Say "wide character" or "multibyte character" instead of
13302         "character", when a wide or multibyte character is intended.
13303         Similarly for "multibyte string" versus "string".
13304         Define these terms more carefully.
13306 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
13308         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
13309         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
13310         Likewise.
13311         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
13312         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
13313         * sysdeps/sh/math_private.h: New file.
13314         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
13315         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
13316         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
13317         long double function name.
13318         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13319         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13320         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13321         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13322         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
13324         Remove __finitel, __isinfl, and __isnanl.
13325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
13326         Likewise.
13327         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13329         Remove __finitel.
13330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13331         Likewise.
13332         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13334 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
13336         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
13337         installed libmvec_nonshared.a.
13339 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13341         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
13342         (sysdep_routines): Likewise.
13343         (sysdep-rtld-routines): Likewise.
13344         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
13345         [$(subdir) = nptl](tests-static): test-get_hwcap-static
13346         * sysdeps/powerpc/Versions: Added new
13347         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
13348         * sysdeps/powerpc/hwcapinfo.c: New file.
13349         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
13350         and parse hwcap, hwcap2 and platform number information.
13351         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
13352         to store HWCAP+HWCAP2 and platform number.
13353         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
13354         for HWCAP+HWCAP2 and platform number in the TCB.
13355         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
13356         the HWCAP, HWCAP2 and platform number in the TCB.
13357         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
13358         (TLS_INIT_TP): Included calls to add the hwcap and
13359         at_platform values in the TCB in TP initialization.
13360         (TLS_DEFINE_INIT_TP): Likewise.
13361         (THREAD_GET_HWCAP): New macro.
13362         (THREAD_SET_HWCAP): Likewise.
13363         (THREAD_GET_AT_PLATFORM): Likewise.
13364         (THREAD_SET_AT_PLATFORM): Likewise.
13365         * sysdeps/powerpc/powerpc32/dl-machine.h:
13366         (dl_platform_init): New function that calls
13367         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
13368         powerpc32.
13369         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
13370         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
13371         this functionality, static linking case.
13372         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
13373         linking case.
13374         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
13375         __parse_hwcap_and_convert_at_platform for the static linking case.
13376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
13377         Included the new __parse_hwcap_and_convert_at_platform symbol in the
13378         ABI list for GLIBC 2.23.
13379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
13380         Likewise.
13381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
13382         Likewise.
13384 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
13386         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
13387         * configure: Regenerate.
13388         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
13389         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
13391 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
13393         * iconvdata/ibm930.c: Add comment explaining encoding uses.
13394         * iconvdata/ibm933.c: Likewise.
13395         * iconvdata/ibm935.c: Likewise.
13396         * iconvdata/ibm937.c: Likewise.
13397         * iconvdata/ibm939.c: Likewise.
13399 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13401         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
13402         pthread_join.
13403         * nptl/tst-cancel21.c (tf): Likewise.
13405 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
13407         [BZ #19313]
13408         * bits/typesizes.h (__CPU_MASK_TYPE): New.
13409         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
13410         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
13411         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
13412         Likewise.
13413         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
13414         Likewise.
13415         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
13416         Likewise.
13417         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
13418         Likewise.
13419         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
13420         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
13421         unsigned long int with __CPU_MASK_TYPE.
13423 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13425         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13427 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
13429         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
13430         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
13431         t512.x.
13432         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
13434 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
13436         [BZ #19214]
13437         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
13438         argument to return extended model.  Update family and model
13439         with extended family and model when family == 0x0f.
13440         (init_cpu_features): Updated.
13442 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13444         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
13445         signed off_t, so 32bit bigger than 2GiB values are fine actually.
13447         * sysdeps/mach/hurd/mmap64.c: New file.
13449 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
13451         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
13452         rights for its main user thread in NEWTASK.
13454 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
13456         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
13457         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
13459 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
13461         [BZ #14259]
13462         * Makeconfig: Rename localedir to complocaledir.
13463         Rename inst_localedir to inst_complocaledir.
13464         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
13465         * config.make.in: Use complocaledir and libc_cv_complocaledir.
13466         * configure.ac: Use libc_cv_complocaledir.
13467         * configure: Regenerate.
13468         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
13469         -DCOMPLOCALEDIR.
13470         * locale/findlocale.c: Use COMPLOCALEDIR.
13471         * locale/loadarchive.c: Likewise.
13472         * locale/programs/locale.c: Likewise.
13473         * locale/programs/localedef.c: Likewise.
13474         * locale/programs/locarchive.c: Likewise.
13475         * localedata/Makefile: Use inst_complocaledir.
13476         * sysdeps/gnu/configure: Regenerate.
13477         * sysdeps/hppa/configure: Regenerate.
13478         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
13479         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13481         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
13482         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
13483         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
13484         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
13486 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
13488         [BZ #19058]
13489         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
13490         AS_NEEDED.
13491         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
13492         workaround.
13493         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
13494         libmvec-static-only-routines): Added new file.
13495         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
13497 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13499         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
13500         of interrupted RPC instead of restoring it.
13502         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
13503         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
13504         libc_hidden_def.
13505         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
13506         into initialized data instead of common. Define rtld_hidden_data_def.
13507         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
13508         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
13509         libc_hidden_def.
13510         (if_freenameindex): Add libc_hidden_weak.
13511         (if_nameindex): Add libc_hidden_weak.
13512         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
13513         __open64.
13514         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
13515         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
13516         * sysdeps/mach/nanosleep.c: Include <time.h>
13517         (__nanosleep): Rename to __libc_nanosleep.
13518         (__nanosleep): Add weak_alias.
13519         (nanosleep): Update alias.
13521 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
13523         * stdlib/strtod_nan.c: New file.
13524         * stdlib/strtod_nan_double.h: Likewise.
13525         * stdlib/strtod_nan_float.h: Likewise.
13526         * stdlib/strtod_nan_main.c: Likewise.
13527         * stdlib/strtod_nan_narrow.h: Likewise.
13528         * stdlib/strtod_nan_wide.h: Likewise.
13529         * stdlib/strtof_nan.c: Likewise.
13530         * stdlib/strtold_nan.c: Likewise.
13531         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
13532         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
13533         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
13534         * wcsmbs/wcstod_nan.c: Likewise.
13535         * wcsmbs/wcstof_nan.c: Likewise.
13536         * wcsmbs/wcstold_nan.c: Likewise.
13537         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
13538         strtold_nan.
13539         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
13540         wcstof_nan.
13541         * include/stdlib.h (__strtof_nan): Declare and use
13542         libc_hidden_proto.
13543         (__strtod_nan): Likewise.
13544         (__strtold_nan): Likewise.
13545         (__wcstof_nan): Likewise.
13546         (__wcstod_nan): Likewise.
13547         (__wcstold_nan): Likewise.
13548         * include/wchar.h (____wcstoull_l_internal): Declare.
13549         * stdlib/strtod_l.c: Do not include <ieee754.h>.
13550         (____strtoull_l_internal): Remove declaration.
13551         (STRTOF_NAN): Define macro.
13552         (SET_MANTISSA): Remove macro.
13553         (STRTOULL): Likewise.
13554         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
13555         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
13556         (STRTOF_NAN): Define macro.
13557         (SET_MANTISSA): Remove macro.
13558         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
13559         (SET_MANTISSA): Remove macro.
13560         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
13561         macro.
13562         (SET_MANTISSA): Remove macro.
13563         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
13564         macro.
13565         (SET_MANTISSA): Remove macro.
13566         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
13567         (SET_MANTISSA): Remove macro.
13568         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
13569         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
13570         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
13572         [BZ #19266]
13573         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
13574         upper case and lower case letters inside NAN(), not using TOLOWER.
13575         * stdlib/tst-strtod-nan-locale-main.c: New file.
13576         * stdlib/tst-strtod-nan-locale.c: Likewise.
13577         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
13578         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
13579         Depend on $(gen-locales).
13580         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
13581         * wcsmbs/tst-wcstod-nan-locale.c: New file.
13582         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
13583         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
13584         Depend on $(gen-locales).
13585         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
13587 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
13589         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
13591         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
13592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
13593         __finitel, __isinfl, and __isnanl.
13594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
13595         Likewise.
13596         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
13598         __finitel.
13599         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13600         Likewise.
13601         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13603 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
13605         * malloc/memusage.c (me): Remove redundant getenv call.
13607 2015-10-24  Florian Weimer  <fweimer@redhat.com>
13609         [BZ #19143]
13610         [BZ #19164]
13611         * nptl/check-cpuset.h: Remove.
13612         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
13613         Remove CPU set size check.
13614         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
13615         Likewise.
13616         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
13617         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
13618         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
13619         (__pthread_setaffinity_new): Remove CPU set size check.
13620         * sysdeps/unix/sysv/linux/sched_setaffinity.c
13621         (__kernel_cpumask_size): Remove.
13622         (__sched_setaffinity_new): Remove CPU set size check.
13623         * manual/threads.texi (Default Thread Attributes): Remove stale
13624         reference to check_cpuset_attr, determine_cpumask_size in comment.
13625         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
13626         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
13627         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
13628         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
13629         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
13630         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
13631         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
13632         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
13633         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
13634         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
13635         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
13636         skeleton test file.
13637         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
13638         tst-affinity-pid.
13640 2015-11-24  Florian Weimer  <fweimer@redhat.com>
13642         * scripts/update-abilist.sh: New file.
13643         * Makefile (+subdir_targets): Add subdir_update-all-abi.
13644         * Makerules (update-all-abi-%, update-all-abi)
13645         (subdir_update-all-abi): New targets.
13646         * elf/Makefile (update-all-abi): New target.
13648 2015-11-24  Florian Weimer  <fweimer@redhat.com>
13650         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
13651         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
13652         (__libc_lock_define_initialized): Use it.
13653         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
13654         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
13655         * malloc/malloc.c (main_arena): Likewise.
13656         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
13657         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
13659 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
13661         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13662         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
13663         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
13664         (PTRACE_O_MASK): Update value.
13665         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
13666         New value in enum __ptrace_setoptions.
13667         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
13668         (PTRACE_O_MASK): Update value.
13669         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13670         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
13671         (PTRACE_O_MASK): Update value.
13672         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
13673         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
13674         (PTRACE_O_MASK): Update value.
13675         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
13676         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
13677         (PTRACE_O_MASK): Update value.
13678         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
13679         New value in enum __ptrace_setoptions.
13680         (PTRACE_O_MASK): Update value.
13681         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
13682         New value in enum __ptrace_setoptions.
13683         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
13684         (PTRACE_O_MASK): Update value.
13686         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
13687         New macro.
13688         (PACKET_AUXDATA): Likewise.
13689         (PACKET_ORIGDEV): Likewise.
13690         (PACKET_VERSION): Likewise.
13691         (PACKET_HDRLEN): Likewise.
13692         (PACKET_RESERVE): Likewise.
13693         (PACKET_TX_RING): Likewise.
13694         (PACKET_LOSS): Likewise.
13695         (PACKET_VNET_HDR): Likewise.
13696         (PACKET_TX_TIMESTAMP): Likewise.
13697         (PACKET_TIMESTAMP): Likewise.
13698         (PACKET_FANOUT): Likewise.
13699         (PACKET_TX_HAS_OFF): Likewise.
13700         (PACKET_QDISC_BYPASS): Likewise.
13701         (PACKET_ROLLOVER_STATS): Likewise.
13702         (PACKET_FANOUT_DATA): Likewise.
13703         (PACKET_MR_UNICAST): Likewise.
13705         [BZ #19242]
13706         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
13707         (TOUPPER): Likewise.
13708         * stdlib/tst-strtol-locale-main.c: New file.
13709         * stdlib/tst-strtol-locale.c: Likewise.
13710         * stdlib/Makefile (tests): Add tst-strtol-locale.
13711         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
13712         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
13713         Depend on $(gen-locales).
13714         * wcsmbs/tst-wcstol-locale.c: New file.
13715         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
13716         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
13717         tr_TR.ISO-8859-9.
13718         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
13719         Depend on $(gen-locales).
13721 2015-11-20  Roland McGrath  <roland@hack.frob.com>
13723         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
13724         __glibc_likely instead of __builtin_expect.  After falling back to
13725         dyncode_create in a non-ET_DYN case, use the allocate_code_data
13726         system interface to register the code pages as occupied.
13728 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
13730         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13731         [!ARM_MATH_PRIVATE_H].
13732         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
13733         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13734         [!HPPA_MATH_PRIVATE_H].
13735         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
13736         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
13737         to [!I386_MATH_PRIVATE_H].
13738         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
13739         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
13740         Change guard to [!M68K_MATH_PRIVATE_H].
13741         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
13742         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
13743         guard to [!MICROBLAZE_MATH_PRIVATE_H].
13744         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
13745         macro.
13746         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13747         [!MIPS_MATH_PRIVATE_H].
13748         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
13749         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13750         [!NIO2_MATH_PRIVATE_H].
13751         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
13752         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13753         [!TILE_MATH_PRIVATE_H].
13754         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
13756         [BZ #15421]
13757         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
13758         initialize with 0 and define as weak alias of __signgam.
13759         * include/math.h [!_ISOMAC] (__signgam): Declare.
13760         * math/Makefile (libm-calls): Add w_lgamma_compat.
13761         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
13762         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
13763         test-signgam-ullong-init.
13764         (tests-static): Add test-signgam-uchar-static,
13765         test-signgam-uchar-init-static, test-signgam-uint-static,
13766         test-signgam-uint-init-static, test-signgam-ullong-static and
13767         test-signgam-ullong-init-static.
13768         (CFLAGS-test-signgam-uchar.c): New variable.
13769         (CFLAGS-test-signgam-uchar-init.c): Likewise.
13770         (CFLAGS-test-signgam-uchar-static.c): Likewise.
13771         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
13772         (CFLAGS-test-signgam-uint.c): Likewise.
13773         (CFLAGS-test-signgam-uint-init.c): Likewise.
13774         (CFLAGS-test-signgam-uint-static.c): Likewise.
13775         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
13776         (CFLAGS-test-signgam-ullong.c): Likewise.
13777         (CFLAGS-test-signgam-ullong-init.c): Likewise.
13778         (CFLAGS-test-signgam-ullong-static.c): Likewise.
13779         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
13780         * math/Versions (libm): Add GLIBC_2.23.
13781         * math/lgamma-compat.h: New file.
13782         * math/test-signgam-main.c: Likewise.
13783         * math/test-signgam-uchar-init-static.c: Likewise.
13784         * math/test-signgam-uchar-init.c: Likewise.
13785         * math/test-signgam-uchar-static.c: Likewise.
13786         * math/test-signgam-uchar.c: Likewise.
13787         * math/test-signgam-uint-init-static.c: Likewise.
13788         * math/test-signgam-uint-init.c: Likewise.
13789         * math/test-signgam-uint-static.c: Likewise.
13790         * math/test-signgam-uint.c: Likewise.
13791         * math/test-signgam-ullong-init-static.c: Likewise.
13792         * math/test-signgam-ullong-init.c: Likewise.
13793         * math/test-signgam-ullong-static.c: Likewise.
13794         * math/test-signgam-ullong.c: Likewise.
13795         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
13796         wrapper of w_lgamma_main.c.
13797         * math/w_lgamma_compat.c: New file.
13798         * math/w_lgamma_compatf.c: Likewise.
13799         * math/w_lgamma_compatl.c: Likewise.
13800         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
13801         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13802         defining compatibility symbols.
13803         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
13804         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
13805         wrapper of w_lgammaf_main.c.
13806         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
13807         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13808         defining compatibility symbols.
13809         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
13810         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
13811         wrapper of w_lgammal_main.c.
13812         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
13813         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13814         defining compatibility symbols.
13815         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
13816         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
13817         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
13818         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
13819         <lgamma-compat.h>.
13820         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
13821         (__ieee754_gamma): Define as alias.
13822         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
13823         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
13824         <lgamma-compat.h>.
13825         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
13826         (__ieee754_gammaf): Define as alias.
13827         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
13828         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
13829         <lgamma-compat.h>.
13830         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
13831         (__ieee754_gammal): Define as alias.
13832         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
13833         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
13834         <math/w_lgamma_compat.c>.
13835         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
13836         Define as alias of __lgamma_compat and use in defining lgammal.
13837         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
13838         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
13839         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
13840         (USE_AS_COMPAT): New macro.
13841         (LGAMMA_OLD_VER): Undefine and redefine.
13842         (lgammal): Do not define here.
13843         (gammal): Only define here if [GAMMA_ALIAS].
13844         * conform/linknamespace.pl (@whitelist): Remove signgam.
13845         * sysdeps/nacl/libm.abilist: Update.
13846         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13847         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13848         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13849         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13850         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13851         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13852         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13853         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13854         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13855         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13856         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13857         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13859         Likewise.
13860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13861         Likewise.
13862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13863         Likewise.
13864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13865         Likewise.
13866         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13867         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13868         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13869         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13870         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13872         Likewise.
13873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13874         Likewise.
13875         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13876         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13877         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13879 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13881         [BZ #16364]
13882         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
13883         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
13885 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13887         * sysdeps/s390/fpu/bits/mathinline.h:
13888         Use __asm__ [__volatile__] instead of asm [volatile].
13889         * sysdeps/s390/abort-instr.h: Likewise.
13890         * sysdeps/s390/atomic-machine.h: Likewise.
13891         * sysdeps/s390/bits/string.h: Likewise.
13892         * sysdeps/s390/dl-tls.h: Likewise.
13893         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13894         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13895         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13896         * sysdeps/s390/fpu/fesetround.c: Likewise.
13897         * sysdeps/s390/fpu/fpu_control.h: Likewise.
13898         * sysdeps/s390/fpu/s_fma.c: Likewise.
13899         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
13900         * sysdeps/s390/memusage.h: Likewise.
13901         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
13902         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
13903         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
13904         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
13905         * sysdeps/s390/nptl/tls.h: Likewise.
13906         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
13907         * sysdeps/s390/s390-32/backtrace.c: Likewise.
13908         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13909         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
13910         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13911         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
13912         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
13913         * sysdeps/s390/s390-64/backtrace.c: Likewise.
13914         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13915         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
13916         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
13917         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13918         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
13919         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
13920         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13921         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13922         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
13923         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13924         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
13925         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13926         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
13927         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13928         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
13930 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13931             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13933         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
13934         Add lwarx hint, and use macro for acquire instruction.
13935         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
13936         Likewise.
13937         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
13938         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
13939         update to use new atomic macros.
13941 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13943         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13944         (__lll_trylock_elision): Fix setting of adapt_count.
13945         * sysdeps/unix/sysv/linux/powerpc/htm.h
13946         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
13947         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
13948         (_ABORT_SYSCALL): Renumber, and clarify definition.
13949         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
13951 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13953         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
13954         after system headers to prevent MIN/MAX redefinition.  Define
13955         HAVE_ALLOCA to preserve builtin alloca usage.
13957 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
13959         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
13960         static and don't set or restore rounding.
13961         (__cos)[IN_SINCOS]: Likewise.
13962         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
13963         (__sincos): Set and restore rounding mode.  Remove check for infinite
13964         or NaN input.
13966         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
13968         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
13969         as used.
13971 2015-11-16  Florian Weimer  <fweimer@redhat.com>
13973         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
13975 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
13977         * config.make.in (have-glob-dat-reloc): New.
13978         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
13979         target supports GLOB_DAT relocaton. AC_SUBST.
13980         * configure: Regenerated.
13981         * elf/Makefile (tests): Add tst-prelink.
13982         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
13983         (tst-prelink-ENV): New.
13984         ($(objpfx)tst-prelink-conflict.out): Likewise.
13985         ($(objpfx)tst-prelink-cmp.out): Likewise.
13986         * sysdeps/x86/tst-prelink.c: Moved to ...
13987         * elf/tst-prelink.c: Here.
13988         * sysdeps/x86/tst-prelink.exp: Moved to ...
13989         * elf/tst-prelink.exp: Here.
13990         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
13991         (tst-prelink-ENV): Removed.
13992         ($(objpfx)tst-prelink-conflict.out): Likewise.
13993         ($(objpfx)tst-prelink-cmp.out): Likewise.
13994         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
13996 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
13998         [BZ #14551]
13999         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
14000         (__mpn_construct_long_double): If high part overflows to infinity,
14001         set errno and recompute overflowed result of the correct sign.
14002         * sysdeps/ieee754/ldbl-128ibm/Makefile
14003         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
14004         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
14005         $(libm).
14006         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
14008 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
14010         [BZ #15479]
14011         [BZ #19238]
14012         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
14013         floating-point state after first operation on input.  Restore full
14014         state rather than just rounding mode.
14015         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
14016         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
14017         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
14019         [BZ #19235]
14020         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
14021         add 0.5 to integer arguments.
14022         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
14023         Likewise.
14024         (.LC2): New object.
14026 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
14028         * scripts/pylintrc (reports): Set to no.
14030 2015-11-10  Roland McGrath  <roland@hack.frob.com>
14032         * elf/dl-load.c (open_verify): Take new argument FD.
14033         Skip __open call if passed FD is not -1.
14034         (_dl_map_object, open_path): Update callers.
14035         * elf/dl-sysdep-open.h: New file.
14036         * elf/dl-load.c: Include it.
14037         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
14038         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
14039         * sysdeps/nacl/dl-sysdep-open.h: New file.
14040         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
14041         from libc to rtld.
14043 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
14045         [BZ #19228]
14046         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
14047         and restore full floating-point state.
14048         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14049         Likewise.
14050         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
14051         Likewise.
14052         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
14053         Likewise.
14054         * math/test-nearbyint-except-2.c: New file.
14055         * math/Makefile (tests): Add test-nearbyint-except-2.
14057 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
14059         [BZ #19178]
14060         * sysdeps/x86/Makefile (tests): Add tst-prelink.
14061         (tst-prelink-ENV): New.
14062         ($(objpfx)tst-prelink-conflict.out): Likewise.
14063         ($(objpfx)tst-prelink-cmp.out): Likewise.
14064         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
14065         * sysdeps/x86/tst-prelink.c: New file.
14066         * sysdeps/x86/tst-prelink.exp: Likewise.
14068 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
14070         * math/auto-libm-test-in: Add another test of pow.
14071         * math/auto-libm-test-out: Regenerated.
14072         * math/libm-test.inc (pow_test_data): Add another test.
14074 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14076         [BZ #19219]
14077         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
14078         weak_alias to nearbyintl.
14080 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
14082         * sysdeps/aarch64/bits/string.h: New file.
14083         (_STRING_ARCH_unaligned): Define.
14085 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
14087         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
14088         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
14089         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
14090         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
14091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
14093 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
14095         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
14096         for original name of the DSO.  Add it to the name list of the DSO
14097         if it is actually given.
14098         (_dl_map_object): Keep track of whether an audit module rewrote
14099         the file name.  If yes, pass the original name to
14100         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
14101         debugging is enabled, log the change of the file name.
14102         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
14103         _dl_map_object_from_fd.
14104         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
14105         * elf/tst-audit11.c: New file
14106         * elf/tst-auditmod11.c: New file.
14107         * elf/tst-audit11mod1.c: New file.
14108         * elf/tst-audit11mod2.c: New file.
14109         * elf/tst-audit11mod2.map: New file.
14110         * elf/tst-audit12.c: New file
14111         * elf/tst-auditmod12.c: New file.
14112         * elf/tst-audit12mod1.c: New file.
14113         * elf/tst-audit12mod2.c: New file.
14114         * elf/tst-audit12mod2.map: New file.
14115         * elf/tst-audit12mod3.c: New file.
14117 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
14119         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
14120         Don't create weak aliases,
14121         because versioned symbols are created later.
14122         * sysdeps/s390/s390-32/setjmp.S
14123         (setjmp, _setjmp): Remove weak and rename to an unique name
14124         in SHARED case due to existing versioned symbols.
14125         * sysdeps/s390/s390-64/setjmp.S: Likewise.
14126         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
14127         (getcontext): Create weak alias only in non SHARED case.
14128         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
14130 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
14132         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
14133         (__ASSUME_*_SYSCALL) Define new macros.
14134         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
14135         Remove socketcall syscalls.
14136         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
14137         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
14138         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
14139         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
14140         * sysdeps/unix/sysv/linux/send.c (__libc_send):
14141         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
14143 2015-11-09  Florian Weimer  <fweimer@redhat.com>
14145         [BZ #12926]
14146         Terminate process on invalid netlink response.
14147         * sysdeps/unix/sysv/linux/netlinkaccess.h
14148         (__netlink_assert_response): Declare.
14149         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
14150         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
14151         (sysdep_routines): Add netlink_assert_response.
14152         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
14153         __netlink_assert_response.
14154         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
14155         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
14156         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
14157         __netlink_assert_response.
14159 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
14161         [BZ #19178]
14162         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
14163         (RTYPE_CLASS_PLT): Likewise.
14164         (RTYPE_CLASS_COPY): Likewise.
14165         (RTYPE_CLASS_TLS): Likewise.
14166         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
14167         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
14168         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
14169         DL_DEBUG_PRELINK.
14171 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
14173         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
14174         calls with argument -0.5.
14175         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
14177         * configure.ac (libc_cv_z_nodelete): Remove configure test.
14178         (libc_cv_z_nodlopen): Likewise.
14179         (libc_cv_z_initfirst): Likewise.
14180         * configure: Regenerated.
14182 2015-11-06  Florian Weimer  <fweimer@redhat.com>
14184         Simplify abilist format to be line-based.
14185         * scripts/abilist.awk: Collect descriptors in the descs variable.
14186         (emit): Write descs variable and sort it
14187         externally, with sort.
14188         * sysdeps/**/*.abilist: Convert to new format.
14190 2015-11-06  Mark Wielaard  <mjw@redhat.com>
14192         [BZ #11460]
14193         * io/Makefile (routines): Add fts64.
14194         (tests): Add tst-fts and tst-fts-lfs.
14195         (CFLAGS-fts64.c): New.
14196         * io/Versions (GLIBC_2.23): New.
14197         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
14198         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
14199         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
14200         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
14201         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
14202         (FTSENT64): Likewise.
14203         (fts64_children): Likewise.
14204         (fts64_close): Likewise.
14205         (fts64_open): Likewise.
14206         (fts64_read): Likewise.
14207         (fts64_set): Likewise.
14208         * io/fts64.c: New file.
14209         * io/tst-fts.c: New test.
14210         * io/tst-fts-lfs.c: Likewise.
14211         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
14212         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
14213         fts64_set.
14214         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14215         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14216         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14217         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14218         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14219         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14220         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14221         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14222         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14223         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14224         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14225         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14226         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14228         Likewise.
14229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14230         Likewise.
14231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14233         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14234         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14235         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14236         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14237         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14238         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
14239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
14240         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14241         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14242         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14243         * sysdeps/wordsize-64/fts.c: New file.
14244         * sysdeps/wordsize-64/fts64.c: Likewise.
14245         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
14246         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
14247         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
14248         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
14250 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
14252         * math/libm-test.inc (NON_FINITE): New macro.
14253         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
14254         * math/gen-libm-test.pl (show_exceptions): Add argument
14255         $non_finite.
14256         (parse_args): Update call to show_exceptions.
14257         * math/test-math-finite.h: New file.
14258         * math/test-math-no-finite.h: Likewise.
14259         * math/test-double-finite.c: Likewise.
14260         * math/test-float-finite.c: Likewise.
14261         * math/test-ldouble-finite.c: Likewise.
14262         * math/test-double.c: Include "test-math-no-finite.h".
14263         * math/test-float.c: Include "test-math-no-finite.h".
14264         * math/test-ldouble.c: Include "test-math-no-finite.h".
14265         * math/test-math-inline.h (TEST_FINITE): New macro.
14266         * math/test-math-vector.h (TEST_FINITE): Likewise.
14267         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
14268         (libm-tests): Add test-float-finite and test-double-finite.
14269         ($(objpfx)test-float-finite.o): New dependency on
14270         $(objpfx)libm-test.stmp.
14271         ($(objpfx)test-double-finite.o): Likewise.
14272         ($(objpfx)test-ldouble-finite.o): Likewise.
14273         (libm-test-no-inline-cflags): New variable.
14274         (libm-test-finite-cflags): Likewise.
14275         (CFLAGS-test-float-finite.c): Likewise.
14276         (CFLAGS-test-double-finite.c): Likewise.
14277         (CFLAGS-test-ldouble-finite.c): Likewise.
14278         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
14279         (CFLAGS-test-double.c): Likewise.
14280         (CFLAGS-test-ldouble.c): Likewise.
14282 2015-11-05  Roland McGrath  <roland@hack.frob.com>
14284         * io/fcntl.c (__fcntl): Add ... to prototype.
14285         * misc/ioctl.c (__ioctl): Likewise.
14286         * misc/syscall.c (syscall): Likewise.
14288 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
14290         * scripts/list-fixed-bugs.py: New file.
14292         [BZ #19213]
14293         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
14294         returned for argument 1.
14295         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
14296         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
14297         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
14298         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
14299         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
14300         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
14302         [BZ #19211]
14303         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
14304         __USE_XOPEN], not if [!__USE_ISOC99].
14305         (lgammaf): Likewise.
14306         (lgammal): Likewise.
14307         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
14308         (gammaf): Likewise.
14309         (gammal): Likewise.
14310         * math/test-signgam-finite-c11.c: New file.
14311         * math/test-signgam-finite-c99.c: Likewise.
14312         * math/test-signgam-finite.c: Likewise.
14313         * math/Makefile (tests): Add test-signgam-finite,
14314         test-signgam-finite-c99 and test-signgam-finite-c11.
14315         (CFLAGS-test-signgam-finite.c): New variable.
14316         (CFLAGS-test-signgam-finite-c99.c): Likewise.
14317         (CFLAGS-test-signgam-finite-c11.c): Likewise.
14319         [BZ #19212]
14320         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
14321         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
14322         500].
14323         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
14324         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
14325         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
14326         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
14327         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
14328         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
14329         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
14330         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
14331         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
14332         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
14334         [BZ #19209]
14335         * math/bits/math-finite.h (ldexp): Remove declaration.
14336         (ldexpf): Likewise.
14337         (ldexpl): Likewise.
14339         [BZ #19205]
14340         * math/bits/math-finite.h (acosf): Condition declaration on
14341         [__USE_ISOC99].
14342         (acosl): Likewise.
14343         (acoshf): Likewise.
14344         (acoshl): Likewise.
14345         (asinf): Likewise.
14346         (asinl): Likewise.
14347         (atan2f): Likewise.
14348         (atan2l): Likewise.
14349         (atanhf): Likewise.
14350         (atanhl): Likewise.
14351         (coshf): Likewise.
14352         (coshl): Likewise.
14353         (expf): Likewise.
14354         (expl): Likewise.
14355         (fmodf): Likewise.
14356         (fmodl): Likewise.
14357         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
14358         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
14359         (j0l): Likewise.
14360         (y0f): Likewise.
14361         (y0l): Likewise.
14362         (j1f): Likewise.
14363         (j1l): Likewise.
14364         (y1f): Likewise.
14365         (y1l): Likewise.
14366         (jnf): Likewise.
14367         (jnl): Likewise.
14368         (ynf): Likewise.
14369         (ynl): Likewise.
14370         (lgammaf_r): Condition declaration on [__USE_ISOC99].
14371         (lgammal_r): Likewise.
14372         (__lgamma_r_finite): New declaration.
14373         (__lgammaf_r_finite): Likewise.
14374         (__lgammal_r_finite): Likewise.
14375         (lgamma): Use __lgamma_r_finite.
14376         (lgammaf): Condition definition on [__USE_ISOC99].  Use
14377         __lgammaf_r_finite.
14378         (lgammal): Condition definition on [__USE_ISOC99].  Use
14379         __lgammal_r_finite.
14380         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
14381         __lgamma_r_finite.
14382         (gammaf): Condition definition on [__USE_ISOC99].  Use
14383         __lgammaf_r_finite.
14384         (gammal): Condition definition on [__USE_ISOC99].  Use
14385         __lgammal_r_finite.
14386         (logf): Condition declaration on [__USE_ISOC99].
14387         (logl): Likewise.
14388         (log10f): Likewise.
14389         (log10l): Likewise.
14390         (ldexpf): Likewise.
14391         (ldexpl): Likewise.
14392         (powf): Likewise.
14393         (powl): Likewise.
14394         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
14395         __USE_ISOC99].
14396         (remainderf): Condition declaration on [__USE_ISOC99].
14397         (remainderl): Likewise.
14398         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
14399         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
14400         (scalbl): Likewise.
14401         (sinhf): Condition declaration on [__USE_ISOC99].
14402         (sinhl): Likewise.
14403         (sqrtf): Likewise.
14404         (sqrtl): Likewise.
14406 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
14408         * sysdeps/arm/atomic-machine.h
14409         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
14410         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
14411         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
14412         Remove conditional code.
14413         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
14414         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
14415         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
14416         Change conditional to [__ASSEMBLER__].
14417         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
14418         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
14419         [!__ASSEMBLER__].
14420         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
14421         code.
14422         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
14423         conditional macro definitions.
14424         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
14425         (__arch_compare_and_exchange_val_16_acq): Likewise.
14426         (__arch_compare_and_exchange_val_32_acq): Likewise.
14427         (atomic_exchange_and_add): Likewise.
14428         (atomic_add): Likewise.
14429         (atomic_add_negative): Likewise.
14430         (atomic_add_zero): Likewise.
14431         (atomic_bit_set): Likewise.
14432         (atomic_bit_test_set): Likewise.
14433         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
14434         code unconditional.
14435         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14437         * math/test-math-errno.h: New file.
14438         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
14439         empty.
14440         (TEST_ERRNO): New macro.
14441         (TEST_EXCEPTIONS): Likewise.
14442         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
14443         (TEST_EXCEPTIONS): Likewise.
14444         * math/test-math-vector.h (TEST_ERRNO): Likewise.
14445         * math/test-double.c: Include "test-math-errno.h".
14446         * math/test-float.c: Likewise.
14447         * math/test-ldouble.c: Likewise.
14448         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
14449         code unconditional.
14450         (test_exceptions): Only run code if TEST_EXCEPTIONS.
14451         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
14452         unconditional.
14453         (test_errno): Only run code if TEST_ERRNO.
14454         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
14456 2015-11-04  Florian Weimer  <fweimer@redhat.com>
14458         * nptl/tst-once5.cc: Remove attribution.
14460 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
14462         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
14463         sqrt, tan, tanh, y0, y1 and yn.
14464         * math/auto-libm-test-out: Regenerated.
14465         * math/libm-test.inc (scalb_test_data): Add more tests.
14466         (scalbn_test_data): Likewise.
14467         (scalbln_test_data): Likewise.
14468         (signbit_test_data): Likewise.
14469         (sin_test_data): Likewise.
14470         (sincos_test_data): Likewise.
14471         (sinh_test_data): Likewise.
14472         (sqrt_test_data): Likewise.
14473         (tan_test_data): Likewise.
14474         (tanh_test_data): Likewise.
14475         (tgamma_test_data): Likewise.
14476         (y0_test_data): Likewise.
14477         (y1_test_data): Likewise.
14478         (yn_test_data): Likewise.
14479         (significand_test_data): Likewise.
14480         * sysdeps/i386/fpu/libm-test-ulps: Update.
14482 2015-11-03  David Kastrup  <dak@gnu.org>
14484         [BZ #18604]
14485         * assert/assert.h (assert): Don't macro-expand failed assertion
14486         expression in error message.
14487         * malloc/malloc.c (assert): Likewise.
14489 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
14491         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
14492         test.
14493         * configure: Regenerated.
14495 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
14497         * math/libm-test.inc (modf_test_data): Add more tests.
14498         (nearbyint_test_data): Likewise.
14499         (nextafter_test_data): Likewise.
14500         (nexttoward_test_data): Likewise.
14501         (pow_test_data): Likewise.
14502         (remainder_test_data): Likewise.
14503         (remquo_test_data): Likewise.
14504         (rint_test_data): Likewise.
14506         [BZ #19201]
14507         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14508         Check for zero remainder in case of large exponents and ensure
14509         correct sign of result in that case.
14510         * math/libm-test.inc (remainder_test_data): Add more tests.
14512         [BZ #6799]
14513         * math/s_nextafter.c: Include <errno.h>.
14514         (__nextafter): Set errno on overflow and underflow.
14515         * math/s_nexttowardf.c: Include <errno.h>.
14516         (__nexttowardf): Set errno on overflow and underflow.
14517         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
14518         (__nextafterl): Set errno on overflow and underflow.
14519         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
14520         (__nexttoward): Set errno on overflow and underflow.
14521         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
14522         (__nexttowardf): Set errno on overflow and underflow.
14523         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
14524         (__nextafterf): Set errno on overflow and underflow.
14525         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
14526         (__nextafterl): Set errno on overflow and underflow.
14527         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
14528         (__nexttoward): Set errno on overflow and underflow.
14529         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
14530         (__nexttowardf): Set errno on overflow and underflow.
14531         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
14532         (__nextafterl): Set errno on overflow and underflow.
14533         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
14534         (__nexttoward): Set errno on overflow and underflow.
14535         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
14536         (__nexttowardf): Set errno on overflow and underflow.
14537         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
14538         (__nexttoward): Set errno on overflow and underflow.
14539         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
14540         (__nexttowardf): Set errno on overflow and underflow.
14541         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
14542         (__nldbl_nexttowardf): Set errno on overflow and underflow.
14543         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
14544         (__nextafterl): Set errno on overflow and underflow.
14545         * math/libm-test.inc (nextafter_test_data): Do not allow errno
14546         setting to be missing on overflow.  Add more tests.
14547         (nexttoward_test_data): Likewise.
14549         * configure.ac (libc_cv_initfini_array): Remove configure test.
14550         * configure: Regenerated.
14552 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
14554         [BZ #19189]
14555         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
14556         non-finite argument handle arguments with negative sign.
14558         * math/libm-test.inc (j0_test_data): Do not test sign of zero
14559         result from infinite argument.
14560         (j1_test_data): Likewise.
14561         (jn_test_data): Likewise.
14562         (y0_test_data): Likewise.
14563         (y1_test_data): Likewise.
14564         (yn_test_data): Likewise.
14566         [BZ #16171]
14567         * math/w_remainder.c (drem): Define as weak alias of __remainder.
14568         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
14569         * math/w_remainderf.c (dremf): Define as weak alias of
14570         __remainderf.
14571         * math/w_remainderl.c (dreml): Define as weak alias of
14572         __remainderl.
14573         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
14574         __remainder.
14575         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
14576         __remainderf.
14577         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
14578         __remainderl.
14579         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
14580         weak alias of remainderl.
14581         * sysdeps/ieee754/ldbl-opt/w_remainder.c
14582         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
14583         alias of __remainder.
14584         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
14585         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
14586         strong alias of __remainderl.
14587         (dreml): Use long_double_symbol.
14588         * math/Makefile (libm-calls): Remove w_drem.
14589         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
14590         (CFLAGS-nldbl-drem.c): Remove variable.
14591         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
14592         * math/w_drem.c: Remove file.
14593         * math/w_dremf.c: Likewise.
14594         * math/w_dreml.c: Likewise.
14595         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
14596         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
14597         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
14599         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
14600         * sysdeps/i386/configure: Regenerated.
14601         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
14602         * sysdeps/x86_64/configure: Regenerated.
14604         * configure.ac (libc_cv_asm_protected_directive): Remove configure
14605         test.
14606         (libc_cv_visibility_attribute): Likewise.
14607         (libc_cv_protected_data): Test unconditionally.
14608         (libc_cv_broken_visibility_attribute): Remove configure test.
14609         (libc_cv_have_sdata_section): Test unconditionally.
14610         * configure: Regenerated.
14612         * include/libc-internal.h (libc_max_align_t): Remove typedef.
14613         * include/scratch_buffer.h: Include <stddef.h> instead of
14614         <libc-internal.h>.
14615         (struct scratch_buffer): Use max_align_t instead of
14616         libc_max_align_t.
14618 2015-10-29  Florian Weimer  <fweimer@redhat.com>
14620         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
14621         instead of extend_alloca.  Change control flow to avoid a goto.
14622         Remove assert which is trivially always true.
14624 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
14626         [BZ #16068]
14627         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
14628         (FE_ALL_EXCEPT_X86): New macro.
14629         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
14630         FE_ALL_EXCEPT.  Ensure precision control is included in
14631         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
14632         handle "denormal operand exception" and clear FZ and DAZ bits.
14633         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
14634         (FE_ALL_EXCEPT_X86): New macro.
14635         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
14636         FE_ALL_EXCEPT.  Ensure precision control is included in
14637         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
14638         handle "denormal operand exception" and clear FZ and DAZ bits.
14639         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
14640         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
14641         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14642         test-fenv-x87 and test-fenv-sse-2.
14643         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
14645         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
14646         * math/test-double.h (BUILD_COMPLEX): New macro.
14647         * math/test-float.h (BUILD_COMPLEX): Likewise.
14648         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
14650         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
14651         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
14652         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
14653         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
14654         instead of DBL_DENORM_MIN in comment.
14655         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
14656         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
14657         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
14658         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
14659         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
14660         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
14662 2015-10-28  Florian Weimer  <fweimer@redhat.com>
14664         [BZ# 19048]
14665         * malloc/malloc.c (struct malloc_state): Update comment.  Add
14666         attached_threads member.
14667         (main_arena): Initialize attached_threads.
14668         * malloc/arena.c (list_lock): Update comment.
14669         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
14670         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
14671         (deattach_arena): New function.
14672         (_int_new_arena): Initialize arena reference count and deattach
14673         replaced arena.
14674         (get_free_list, reused_arena): Update reference count and deattach
14675         replaced arena.
14676         (arena_thread_freeres): Update arena reference count and only put
14677         unreferenced arenas on the free list.
14679 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
14681         [BZ #19181]
14682         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
14683         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
14684         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
14685         * math/test-fenv-clear-main.c: New file.
14686         * math/test-fenv-clear.c: Likewise.
14687         * math/Makefile (tests): Add test-fenv-clear.
14688         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
14689         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14690         test-fenv-clear-sse.
14691         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
14693         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
14694         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
14695         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
14697 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14699         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
14700         static libc.
14702 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
14704         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
14705         test.
14706         * sysdeps/i386/configure: Regenerated.
14707         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
14708         test.
14709         * sysdeps/x86_64/configure: Regenerated.
14710         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
14711         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14712         memset-avx2 unconditionally instead of conditionally on
14713         [$(config-cflags-avx2) = yes].
14714         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14715         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
14716         unconditional.
14717         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
14718         * sysdeps/x86_64/multiarch/memset_chk.S
14719         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
14720         to [IS_IN (libc) && SHARED].
14722 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14724         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
14725         configure test.
14726         * sysdeps/arm/configure: Regenerated.
14727         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
14728         Define variable if not already defined.
14730         [BZ #17404]
14731         * sysdeps/mips/atomic-machine.h
14732         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
14733         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
14734         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
14736         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
14737         unconditional.
14738         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
14739         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14740         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
14741         unconditional.
14742         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14743         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
14744         unconditional.
14745         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14746         * stdlib/setenv.c
14747         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
14748         code unconditional.
14749         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
14750         Remove conditional code.
14751         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
14752         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
14753         unconditional.
14754         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14755         code.
14756         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
14757         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
14758         unconditional.
14759         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14760         code.
14761         * sysdeps/ieee754/ldbl-128/k_tanl.c
14762         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14763         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14764         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
14765         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14766         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14767         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
14768         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
14769         unconditional.
14770         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14771         code.
14772         * sysdeps/ieee754/ldbl-96/k_tanl.c
14773         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14774         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14776         * nptl/tst-initializers1-c11.c: New file.
14777         * nptl/tst-initializers1-gnu11.c: Likewise.
14778         * nptl/Makefile (tests): Add these new tests.
14779         (CFLAGS-tst-initializers1-c11.c): New variable.
14780         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
14782         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
14783         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
14784         instead of -std=gnu99.
14785         * configure.ac (systemtap): Test with -std=gnu11 instead of
14786         -std=gnu99.
14787         * configure: Regenerated.
14788         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
14789         in compilation command in comment.
14791         * sysdeps/nptl/configure.ac: Remove file.
14792         * sysdeps/nptl/configure: Remove generated file.
14793         * configure.ac (libc_cv_forced_unwind): Do not substitute.
14794         * configure: Regenerated.
14795         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
14796         * config.make.in (have-forced-unwind): Remove variable.
14797         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
14798         unconditional.
14799         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
14800         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
14801         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
14802         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
14803         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
14804         unconditional.
14806 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14808         [BZ #19174]
14809         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
14810         .skip_lock_out_of_tbegin_retries.
14811         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14812         (__lll_lock_elision): Likewise, and respect a value of
14813         try_tbegin <= 0.
14815 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14817         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
14818         statement.
14820 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14822         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
14823         variable.
14824         (test-xfail-ISO11/stdalign.h/conform): Likewise.
14825         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14827         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
14828         of -std=c1x -D_ISOC11_SOURCE.
14830         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
14831         * configure: Regenerated.
14832         * manual/install.texi (Tools for Compilation): Document
14833         requirement for GCC 4.7 or later.
14834         * INSTALL: Regenerated.
14836 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
14838         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
14839         on CNT to a conditional jump to 'puntdata'.
14841 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14843         * configure.ac (libc_cv_gcc___thread): Remove configure test.
14844         (libc_cv_gcc_tls_model_attr): Likewise.
14845         * configure: Regenerated.
14847         * configure.ac (libc_cv_need_minus_P): Remove configure test.
14848         * configure: Regenerated.
14849         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
14851 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
14853         * configure.ac (old_glibc_headers): Remove configure test.
14854         * configure: Regenerated.
14855         * config.make.in (old-glibc-headers): Remove variable.
14856         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
14857         (install): Remove dependency on remove-old-headers.
14858         (headers2_0): Remove variable.
14859         (remove-old-headers): Remove rule.
14861         * configure.ac (libc_cv_dot_text): Remove configure test.
14862         (libc_cv_asm_set_directive): Use .text instead of
14863         ${libc_cv_dot_text} in configure test.
14864         * configure: Regenerated.
14866 2015-10-26  Florian Weimer  <fweimer@redhat.com>
14868         [BZ #19168]
14869         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14871 2015-10-26  Florian Weimer  <fweimer@redhat.com>
14873         * configure.ac (CXX): Clear the variable if the C++ toolchain does
14874         not support static linking.
14875         * configure: Regenerate.
14877 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
14879         * math/libm-test.inc (check_float_internal): Do not special-case
14880         errors up to 0.5 ulp.
14882         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14883         log2.
14884         * math/auto-libm-test-out: Regenerated.
14885         * math/libm-test.inc (MAX_EXP): New macro.
14886         (ilogb_test_data): Add more tests.
14887         (isfinite_test_data): Likewise.
14888         (isgreater_test_data): Likewise.
14889         (isgreaterequal_test_data): Likewise.
14890         (isinf_test_data): Likewise.
14891         (isless_test_data): Likewise.
14892         (islessequal_test_data): Likewise.
14893         (islessgreater_test_data): Likewise.
14894         (isnan_test_data): Likewise.
14895         (isnormal_test_data): Likewise.
14896         (issignaling_test_data): Likewise.
14897         (isunordered_test_data): Likewise.
14898         (j0_test_data): Likewise.
14899         (j1_test_data): Likewise.
14900         (jn_test_data): Likewise.
14901         (lgamma_test_data): Likewise.
14902         (log_test_data): Likewise.
14903         (log10_test_data): Likewise.
14904         (log1p_test_data): Likewise.
14905         (log2_test_data): Likewise.
14906         (logb_test_data): Likewise.
14907         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14909         [BZ #18611]
14910         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
14911         avoid excess range and precision on underflow.
14912         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14913         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14914         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14915         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
14916         underflow.
14917         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14918         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14919         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14920         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14921         * math/auto-libm-test-in: Do not allow missing errno setting for
14922         tests of j1 and jn.
14923         * math/auto-libm-test-out: Regenerated.
14925 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
14927         [BZ #15491]
14928         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
14929         floating-point environment instead of clearing all exceptions.
14930         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
14931         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
14932         merging in "invalid" exceptions from frndint.
14933         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
14934         * math/test-nearbyint-except.c: New file.
14935         * math/Makefile (tests): Add test-nearbyint-except.
14937 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
14939         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
14941         * sysdeps/tile/libm-test-ulps: Regenerated.
14943 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
14946         (__NR_sync_file_range2): Assume it is always defined.
14947         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
14948         (__NR_sync_file_range): Assume it is always defined.
14950 2015-10-22  Andreas Schwab  <schwab@suse.de>
14952         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
14953         INTERNAL_SYSCALL_ERRNO.
14954         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14955         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
14956         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14957         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
14958         Likewise.
14959         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14961 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14963         * io/tst-fcntl.c (fd): New static variable.
14964         (do_prepare): Open temporary file here....
14965         (do_test): ...not here.
14967         * io/ftwtest-sh: Also trap on exit to remove temporary files.
14969 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
14971         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
14972         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
14973         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
14974         Moved before "#ifdef __ASSEMBLER__".
14976 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14978         [BZ #19156]
14979         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
14980         arguments very close to 0.
14982 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
14984         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
14985         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
14987 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
14989         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
14990         New.  Defined for GCC 5 and above when not compiling for
14991         profiling.
14992         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
14994         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
14995         Renamed to ...
14996         (CFLAGS-epoll_pwait.o): This.
14997         (CFLAGS-mmap.c): Renamed to ...
14998         (CFLAGS-mmap.o): This.
14999         (CFLAGS-mmap64.c): Renamed to ...
15000         (CFLAGS-mmap64.o): This.
15001         (CFLAGS-epoll_pwait.os): New.
15002         (CFLAGS-mmap.os): Likewise.
15003         (CFLAGS-mmap64.os): Likewise.
15004         (CFLAGS-semtimedop.os): Likewise.
15005         (CFLAGS-semtimedop.c): Renamed to ...
15006         (CFLAGS-semtimedop.o): This.
15008 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15010         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
15011         warning message.
15013 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
15015         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
15016         * Makefile ($(objpfx)c++-types-check.out): Filter out
15017         $(+gccwarn-c) instead of -Wstrict-prototypes.
15019         * io/fts.c (fts_open): Convert to prototype-style function
15020         definition.
15021         * malloc/mcheck.c (mcheck): Likewise.
15022         (mcheck_pedantic): Likewise.
15023         * posix/regexec.c (re_search_2_stub): Likewise.  Use
15024         internal_function.
15025         (re_search_internal): Likewise.
15026         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
15027         prototype-style function definition.
15028         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
15029         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
15030         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
15031         (xdr_utmpptr): Likewise.
15032         (xdr_utmparr): Likewise.
15033         (xdr_utmpidle): Likewise.
15034         (xdr_utmpidleptr): Likewise.
15035         (xdr_utmpidlearr): Likewise.
15037         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
15038         log, log10 and log2.
15039         * math/auto-libm-test-out: Regenerated.
15040         * math/libm-test.inc (fmod_test_data): Add more tests.
15041         (fpclassify_test_data): Likewise.
15042         (frexp_test_data): Likewise.
15043         (hypot_test_data): Likewise.
15044         (ilogb_test_data): Likewise.
15046 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
15048         * debug/fortify_fail.c (__fortify_fail): Convert to
15049         prototype-style function definition.  Use internal_function.
15050         * libio/genops.c (save_for_backup): Convert to prototype-style
15051         function definition.
15052         * libio/wgenops.c (save_for_wbackup): Likewise.
15053         * login/grantpt.c (grantpt): Likewise.
15054         * login/ptsname.c (ptsname): Likewise.
15055         (__ptsname_r): Likewise.
15056         * login/unlockpt.c (unlockpt): Likewise.
15057         * mach/msgserver.c (__mach_msg_server): Likewise.
15058         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
15059         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
15060         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
15061         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
15062         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
15063         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
15064         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
15065         Likewise.
15066         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
15067         internal_function.
15068         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
15069         prototype-style function definition.
15070         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
15071         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
15072         (__pthread_create_2_0): Likewise.
15073         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
15074         * nptl/register-atfork.c (__register_atfork): Likewise.
15075         * posix/glob.c (glob): Likewise.
15076         * posix/regcomp.c (re_comp): Likewise.
15077         * posix/regexec.c (re_exec): Likewise.
15078         * stdlib/add_n.c [__STDC__]: Make code unconditional.
15079         [!__STDC__]: Remove conditional code.
15080         * stdlib/cmp.c [__STDC__]: Make code unconditional.
15081         [!__STDC__]: Remove conditional code.
15082         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
15083         [!__STDC__]: Remove conditional code.
15084         * stdlib/divrem.c [__STDC__]: Make code unconditional.
15085         [!__STDC__]: Remove conditional code.
15086         * stdlib/lshift.c [__STDC__]: Make code unconditional.
15087         [!__STDC__]: Remove conditional code.
15088         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
15089         [!__STDC__]: Remove conditional code.
15090         * stdlib/mul.c [__STDC__]: Make code unconditional.
15091         [!__STDC__]: Remove conditional code.
15092         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
15093         [!__STDC__]: Remove conditional code.
15094         * stdlib/rshift.c [__STDC__]: Make code unconditional.
15095         [!__STDC__]: Remove conditional code.
15096         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
15097         function definition.
15098         (STRTOF): Likewise.
15099         * stdlib/strtod_l.c (__STRTOF): Likewise.
15100         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
15101         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
15102         (__strtol_l): Likewise.
15103         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
15104         [!__STDC__]: Remove conditional code.
15105         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
15106         definition.
15107         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
15108         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
15109         type.
15110         (__strcasecmp): Convert to prototype-style function definition.
15111         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
15112         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
15113         type.
15114         (__strncasecmp): Convert to prototype-style function definition.
15115         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
15116         * sunrpc/xdr.c (xdr_union): Likewise.
15117         * sunrpc/xdr_array.c (xdr_array): Likewise.
15118         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
15119         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
15120         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
15121         Likewise.
15122         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
15123         Likewise.
15124         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
15125         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
15126         Likewise.
15127         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
15128         (LOCALE_PARAM_PROTO): Likewise.
15129         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
15130         argument type.
15131         (ut_argument_spec): Remove macro.
15132         (ut_argument_spec_iso): Rename to ut_argument_spec.
15133         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
15134         prototype-style function definition.
15135         (memcpy_uppcase): Likewise.
15136         (__strftime_internal): Likewise.
15137         (my_strftime): Likewise.
15138         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
15139         (LOCALE_PARAM_DECL): Likewise.
15140         [_LIBC] (LOCALE_PARAM): Include argument type.
15141         (__strptime_internal): Convert to prototype-style function
15142         definition.
15143         (strptime): Likewise.
15144         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
15145         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
15146         type.
15147         (__wcscasecmp): Convert to prototype-style function definition.
15148         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
15149         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
15150         type.
15151         (__wcsncasecmp): Convert to prototype-style function definition.
15153         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
15154         function definition.
15155         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15156         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15157         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
15158         * elf/dl-minimal.c (_itoa): Likewise.
15159         * hurd/hurdmalloc.c (malloc): Likewise.
15160         (free): Likewise.
15161         (realloc): Likewise.
15162         * inet/inet6_option.c (inet6_option_space): Likewise.
15163         (inet6_option_init): Likewise.
15164         (inet6_option_append): Likewise.
15165         (inet6_option_alloc): Likewise.
15166         (inet6_option_next): Likewise.
15167         (inet6_option_find): Likewise.
15168         * io/ftw.c (FTW_NAME): Likewise.
15169         (NFTW_NAME): Likewise.
15170         (NFTW_NEW_NAME): Likewise.
15171         (NFTW_OLD_NAME): Likewise.
15172         * libio/iofwide.c (_IO_fwide): Likewise.
15173         * libio/strops.c (_IO_str_init_static_internal): Likewise.
15174         (_IO_str_init_static): Likewise.
15175         (_IO_str_init_readonly): Likewise.
15176         (_IO_str_overflow): Likewise.
15177         (_IO_str_underflow): Likewise.
15178         (_IO_str_count): Likewise.
15179         (_IO_str_seekoff): Likewise.
15180         (_IO_str_pbackfail): Likewise.
15181         (_IO_str_finish): Likewise.
15182         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
15183         (_IO_wstr_overflow): Likewise.
15184         (_IO_wstr_underflow): Likewise.
15185         (_IO_wstr_count): Likewise.
15186         (_IO_wstr_seekoff): Likewise.
15187         (_IO_wstr_pbackfail): Likewise.
15188         (_IO_wstr_finish): Likewise.
15189         * locale/programs/localedef.c (normalize_codeset): Likewise.
15190         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15191         (add_locales_to_archive): Likewise.
15192         (delete_locales_from_archive): Likewise.
15193         * malloc/malloc.c (__libc_mallinfo): Likewise.
15194         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
15195         * misc/tsearch.c (__tfind): Likewise.
15196         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
15197         * nptl/pthread_attr_getdetachstate.c
15198         (__pthread_attr_getdetachstate): Likewise.
15199         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
15200         Likewise.
15201         * nptl/pthread_attr_getinheritsched.c
15202         (__pthread_attr_getinheritsched): Likewise.
15203         * nptl/pthread_attr_getschedparam.c
15204         (__pthread_attr_getschedparam): Likewise.
15205         * nptl/pthread_attr_getschedpolicy.c
15206         (__pthread_attr_getschedpolicy): Likewise.
15207         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
15208         Likewise.
15209         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
15210         Likewise.
15211         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
15212         Likewise.
15213         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
15214         Likewise.
15215         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
15216         (__pthread_attr_init_2_0): Likewise.
15217         * nptl/pthread_attr_setdetachstate.c
15218         (__pthread_attr_setdetachstate): Likewise.
15219         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
15220         Likewise.
15221         * nptl/pthread_attr_setinheritsched.c
15222         (__pthread_attr_setinheritsched): Likewise.
15223         * nptl/pthread_attr_setschedparam.c
15224         (__pthread_attr_setschedparam): Likewise.
15225         * nptl/pthread_attr_setschedpolicy.c
15226         (__pthread_attr_setschedpolicy): Likewise.
15227         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
15228         Likewise.
15229         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
15230         Likewise.
15231         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
15232         Likewise.
15233         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
15234         Likewise.
15235         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
15236         Likewise.
15237         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
15238         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
15239         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
15240         use internal_function.
15241         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
15242         prototype-style function definition.
15243         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
15244         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
15245         internal_function.
15246         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
15247         Convert to prototype-style function definition.
15248         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
15249         Likewise.
15250         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
15251         Likewise.
15252         (__pthread_mutex_unlock): Likewise.
15253         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
15254         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
15255         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
15256         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
15257         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
15258         * nss/makedb.c (process_input): Likewise.
15259         * posix/fnmatch.c (__strchrnul): Likewise.
15260         (__wcschrnul): Likewise.
15261         (fnmatch): Likewise.
15262         * posix/fnmatch_loop.c (FCT): Likewise.
15263         * posix/glob.c (globfree): Likewise.
15264         (__glob_pattern_type): Likewise.
15265         (__glob_pattern_p): Likewise.
15266         * posix/regcomp.c (re_compile_pattern): Likewise.
15267         (re_set_syntax): Likewise.
15268         (re_compile_fastmap): Likewise.
15269         (regcomp): Likewise.
15270         (regerror): Likewise.
15271         (regfree): Likewise.
15272         * posix/regexec.c (regexec): Likewise.
15273         (re_match): Likewise.
15274         (re_search): Likewise.
15275         (re_match_2): Likewise.
15276         (re_search_2): Likewise.
15277         (re_search_stub): Likewise.  Use internal_function
15278         (re_copy_regs): Likewise.
15279         (re_set_registers): Convert to prototype-style function
15280         definition.
15281         (prune_impossible_nodes): Likewise.  Use internal_function.
15282         * resolv/inet_net_pton.c (inet_net_pton): Convert to
15283         prototype-style function definition.
15284         (inet_net_pton_ipv4): Likewise.
15285         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15286         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
15287         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
15288         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
15289         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
15290         Make variadic.
15291         * time/strptime_l.c (localtime_r): Convert to prototype-style
15292         function definition.
15293         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
15294         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
15295         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
15296         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
15298         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
15299         definition.
15300         (_ufc_doit_r): Likewise.
15301         * crypt/crypt_util.c (_ufc_copymem): Likewise.
15302         (_ufc_output_conversion_r): Likewise.
15303         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
15304         * inet/rcmd.c (rcmd_af): Likewise.
15305         (rcmd): Likewise.
15306         (ruserok_af): Likewise.
15307         (ruserok): Likewise.
15308         (ruserok2_sa): Likewise.
15309         (ruserok_sa): Likewise.
15310         (iruserok_af): Likewise.
15311         (iruserok): Likewise.
15312         (__ivaliduser): Likewise.
15313         (__validuser2_sa): Likewise.
15314         * inet/rexec.c (rexec_af): Likewise.
15315         (rexec): Likewise.
15316         * inet/ruserpass.c (ruserpass): Likewise.
15317         * locale/programs/xmalloc.c (xcalloc): Likewise.
15318         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
15319         * math/w_drem.c (__drem): Likewise.
15320         * math/w_dremf.c (__dremf): Likewise.
15321         * math/w_dreml.c (__dreml): Likewise.
15322         * misc/daemon.c (daemon): Likewise.
15323         * resolv/res_debug.c (p_fqnname): Likewise.
15324         * stdlib/div.c (div): Likewise.
15325         * string/memcmp.c (memcmp_bytes): Likewise.
15326         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
15327         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
15329         * crypt/cert.c (main): Convert to prototype-style function
15330         definition.
15331         * io/pipe.c (__pipe): Likewise.
15332         * io/pipe2.c (__pipe2): Likewise.
15333         * misc/futimesat.c (futimesat): Likewise.
15334         * misc/utimes.c (__utimes): Likewise.
15335         * posix/execve.c (__execve): Likewise.
15336         * posix/execvp.c (execvp): Likewise.
15337         * posix/execvpe.c (__execvpe): Likewise.
15338         * posix/fexecve.c (fexecve): Likewise.
15339         * socket/socketpair.c (socketpair): Likewise.
15340         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15341         * stdlib/erand48.c (erand48): Likewise.
15342         * stdlib/erand48_r.c (__erand48_r): Likewise.
15343         * stdlib/jrand48.c (jrand48): Likewise.
15344         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
15345         * stdlib/lcong48.c (lcong48): Likewise.
15346         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
15347         * stdlib/nrand48.c (nrand48): Likewise.
15348         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
15349         * stdlib/seed48.c (seed48): Likewise.
15350         * stdlib/seed48_r.c (__seed48_r): Likewise.
15351         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
15352         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
15353         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
15355 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
15357         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
15358         * configure: Regenerated.
15359         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
15360         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
15361         unconditional.
15362         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
15363         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
15364         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
15365         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
15366         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
15367         unconditional.
15368         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
15370         * posix/Makefile (CFLAGS-regex.c): Remove variable.
15371         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
15373         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
15374         function definition.
15375         * crypt/crypt_util.c (__encrypt_r): Likewise.
15376         * libio/genops.c (_IO_no_init): Likewise.
15377         * libio/iofopncook.c (_IO_fopencookie): Likewise.
15378         (_IO_old_fopencookie): Likewise.
15379         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15380         * libio/iogetline.c (_IO_getline): Likewise.
15381         (_IO_getline_info): Likewise.
15382         * libio/iogetwline.c (_IO_getwline): Likewise.
15383         (_IO_getwline_info): Likewise.
15384         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
15385         * libio/vswprintf.c (_IO_vswprintf): Likewise.
15386         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
15387         (find_entry): Likewise.
15388         (iterate_table): Likewise.
15389         (lookup): Likewise.
15390         * login/forkpty.c (forkpty): Likewise.
15391         * misc/hsearch_r.c (__hsearch_r): Likewise.
15392         * misc/select.c (__select): Likewise.
15393         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
15394         Likewise.
15395         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
15396         Likewise.
15397         * nptl/old_pthread_cond_timedwait.c
15398         (__pthread_cond_timedwait_2_0): Likewise.
15399         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
15400         * nptl/pthread_barrierattr_getpshared.c
15401         (pthread_barrierattr_getpshared): Likewise.
15402         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
15403         Likewise.
15404         * nptl/pthread_mutex_setprioceiling.c
15405         (pthread_mutex_setprioceiling): Likewise.
15406         * nptl/pthread_mutexattr_getprioceiling.c
15407         (pthread_mutexattr_getprioceiling): Likewise.
15408         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
15409         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15410         Likewise.
15411         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
15412         Likewise.
15413         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
15414         Likewise.
15415         * socket/recvfrom.c (__recvfrom): Likewise.
15416         * socket/sendto.c (__sendto): Likewise.
15417         * socket/setsockopt.c (__setsockopt): Likewise.
15418         * stdio-common/_itoa.c (_itoa): Likewise.
15419         * stdio-common/_itowa.c (_itowa): Likewise.
15420         * stdio-common/reg-printf.c (__register_printf_specifier):
15421         Likewise.
15422         (__register_printf_function): Likewise.
15423         * stdio-common/tempname.c (__path_search): Likewise.
15424         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
15425         * stdlib/mul_1.c (mpn_mul_1): Likewise.
15426         * stdlib/random_r.c (__initstate_r): Likewise.
15427         * stdlib/setenv.c (__add_to_environ): Likewise.
15428         * stdlib/submul_1.c (mpn_submul_1): Likewise.
15429         * streams/getpmsg.c (getpmsg): Likewise.
15430         * streams/putmsg.c (putmsg): Likewise.
15431         * streams/putpmsg.c (putpmsg): Likewise.
15432         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
15433         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
15434         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
15435         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
15436         * sunrpc/pm_getport.c (pmap_getport): Likewise.
15437         * sunrpc/svc_udp.c (cache_get): Likewise.
15438         * sunrpc/xdr_array.c (xdr_vector): Likewise.
15439         * sysdeps/mach/hurd/getcwd.c
15440         (__canonicalize_directory_name_internal): Likewise.
15441         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
15442         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
15443         * sysdeps/mach/hurd/select.c (__select): Likewise.
15444         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
15445         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
15446         * sysdeps/sparc/nptl/pthread_barrier_init.c
15447         (__pthread_barrier_init): Likewise.
15448         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
15449         (__pthread_cond_timedwait): Likewise.
15450         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
15451         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
15452         Likewise.
15453         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
15454         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
15455         Likewise.
15456         * sysvipc/semtimedop.c (semtimedop): Likewise.
15457         * time/setitimer.c (__setitimer): Likewise.
15458         * time/strftime_l.c (emacs_strftime): Likewise.
15460 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
15462         * config.make.in (have-ssp): Delete.
15463         (stack-protector): New variable.
15464         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
15465         cache test for -fstack-protector-strong.  Export stack_protector to
15466         the best ssp flag.
15467         * configure: Regenerated.
15468         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
15469         * nscd/Makefile (CFLAGS-nscd): Likewise.
15470         * resolv/Makefile (CFLAGS-libresolv): Likewise.
15472 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
15474         [BZ #19122]
15475         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
15476         attribute_hidden.
15478 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15480         [BZ #18743]
15481         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
15482         code to...
15483         (ELIDE_LOCK): ...here.
15484         (__get_new_count): New function with part of the code from
15485         __elide_lock that updates the value of adapt_count after a
15486         transaction abort.
15487         (__elided_trylock): Moved this code to...
15488         (ELIDE_TRYLOCK): ...here.
15490 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
15492         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
15493         * configure: Regenerate.
15494         * INSTALL: Regenerate.
15495         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
15496         and tweak grammar.
15498 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
15500         * login/programs/pt_chown.c: Include signal.h
15501         (main): Clear any signal mask from the parent process.
15503 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
15505         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
15506         * configure: Regenerated.
15507         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
15508         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
15509         $(gnu89-inline-CFLAGS).
15511         * configure.ac (libc_cv_asm_weak_directive): Remove configure
15512         test.
15513         (libc_cv_asm_weakext_directive): Likewise.
15514         * configure: Regenerated.
15515         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
15516         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
15517         * include/libc-symbols.h
15518         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
15519         #error.
15520         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
15521         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
15523         * sysdeps/arm/backtrace.c (__backtrace): Convert to
15524         prototype-style function definition.
15525         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
15526         * sysdeps/i386/ffs.c (__ffs): Likewise.
15527         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15528         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
15529         Likewise.
15530         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15531         Likewise.
15532         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
15533         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
15534         Likewise.
15535         * sysdeps/m68k/ffs.c (__ffs): Likewise.
15536         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
15537         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
15538         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
15539         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
15540         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
15541         * sysdeps/mach/hurd/access.c (__access): Likewise.
15542         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
15543         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
15544         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
15545         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
15546         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
15547         (cthread_getspecific): Likewise.
15548         (cthread_setspecific): Likewise.
15549         (__libc_getspecific): Likewise.
15550         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
15551         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
15552         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
15553         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
15554         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
15555         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
15556         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
15557         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
15558         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
15559         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
15560         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
15561         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
15562         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
15563         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
15564         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
15565         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
15566         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
15567         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
15568         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
15569         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
15570         * sysdeps/mach/hurd/link.c (__link): Likewise.
15571         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
15572         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
15573         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
15574         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
15575         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
15576         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
15577         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
15578         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
15579         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
15580         * sysdeps/mach/hurd/rename.c (rename): Likewise.
15581         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
15582         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
15583         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
15584         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
15585         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
15586         * sysdeps/mach/hurd/send.c (__send): Likewise.
15587         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
15588         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
15589         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
15590         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
15591         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
15592         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
15593         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
15594         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
15595         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
15596         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
15597         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
15598         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
15599         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
15600         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
15601         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
15602         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
15603         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
15604         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
15605         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
15606         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
15607         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
15608         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
15609         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
15610         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
15611         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
15612         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
15613         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
15614         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
15615         * sysdeps/posix/alarm.c (alarm): Likewise.
15616         * sysdeps/posix/cuserid.c (cuserid): Likewise.
15617         * sysdeps/posix/dirfd.c (dirfd): Likewise.
15618         * sysdeps/posix/dup.c (__dup): Likewise.
15619         * sysdeps/posix/dup2.c (__dup2): Likewise.
15620         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
15621         (main): Likewise.
15622         * sysdeps/posix/flock.c (__flock): Likewise.
15623         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
15624         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
15625         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
15626         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
15627         * sysdeps/posix/isatty.c (__isatty): Likewise.
15628         * sysdeps/posix/killpg.c (killpg): Likewise.
15629         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15630         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
15631         * sysdeps/posix/raise.c (raise): Likewise.
15632         * sysdeps/posix/remove.c (remove): Likewise.
15633         * sysdeps/posix/rename.c (rename): Likewise.
15634         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
15635         * sysdeps/posix/seekdir.c (seekdir): Likewise.
15636         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
15637         * sysdeps/posix/sigignore.c (sigignore): Likewise.
15638         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
15639         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15640         * sysdeps/posix/sigset.c (sigset): Likewise.
15641         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
15642         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
15643         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
15644         * sysdeps/posix/time.c (time): Likewise.
15645         * sysdeps/posix/ttyname.c (getttyname): Likewise.
15646         (ttyname): Likewise.
15647         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
15648         * sysdeps/posix/utime.c (utime): Likewise.
15649         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
15650         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
15651         Likewise.
15652         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
15653         (pthread_spin_trylock): Likewise.
15654         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
15655         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
15656         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
15657         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
15658         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
15659         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
15660         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
15661         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
15662         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
15663         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
15664         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
15665         * sysdeps/s390/ffs.c (__ffs): Likewise.
15666         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
15667         Likewise.
15668         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15669         Likewise.
15670         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
15671         Likewise.
15672         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
15673         (pthread_barrier_destroy): Likewise.
15674         * sysdeps/sparc/nptl/pthread_barrier_wait.c
15675         (__pthread_barrier_wait): Likewise.
15676         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
15677         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
15678         (__pthread_barrier_wait): Likewise.
15679         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
15680         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
15681         (memcmp_not_common_alignment): Likewise.
15682         (MEMCMP): Likewise.
15683         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
15684         (_wordcopy_fwd_dest_aligned): Likewise.
15685         (_wordcopy_bwd_aligned): Likewise.
15686         (_wordcopy_bwd_dest_aligned): Likewise.
15687         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
15688         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
15689         * sysdeps/unix/bsd/stty.c (stty): Likewise.
15690         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
15691         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
15692         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
15693         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
15694         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
15695         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
15696         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
15697         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
15698         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
15699         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
15700         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
15701         * sysdeps/unix/stime.c (stime): Likewise.
15702         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
15703         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
15704         Likewise.  Use internal_function.
15705         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
15706         Convert to prototype-style function definition.
15707         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15708         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15709         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
15710         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
15711         Likewise.  Use internal_function.
15712         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
15713         prototype-style function definition
15714         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15715         Likewise.
15716         (__getlogin_r): Likewise.
15717         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
15718         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
15719         (__pthread_cond_broadcast): Likewise.
15720         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
15721         (__pthread_cond_destroy): Likewise.
15722         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
15723         (__pthread_cond_init): Likewise.
15724         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
15725         (__pthread_cond_signal): Likewise.
15726         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
15727         (__pthread_cond_wait): Likewise.
15728         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
15729         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
15730         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
15731         Likewise.
15732         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
15733         Likewise.
15734         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
15735         Likewise.
15736         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
15737         Likewise.
15738         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
15739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
15740         (__ftruncate64): Likewise.
15741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
15742         (truncate64): Likewise.
15743         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
15744         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
15745         (pthread_getcpuclockid): Likewise.
15746         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
15747         Likewise.
15748         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
15749         Likewise.
15750         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
15751         Likewise.
15752         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
15753         Likewise.
15754         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
15755         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
15756         (__libc_sigaction): Likewise.
15757         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
15758         Likewise.
15759         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
15760         (__sigprocmask): Likewise.
15761         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
15762         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
15763         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
15764         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
15765         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
15766         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
15767         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
15768         Likewise.
15769         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
15770         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
15771         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
15772         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
15773         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
15774         Likewise.
15775         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
15776         (__sigprocmask): Likewise.
15777         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
15778         (cfgetispeed): Likewise.
15779         (cfsetospeed): Likewise.
15780         (cfsetispeed): Likewise.
15781         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
15782         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
15783         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15784         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
15785         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
15786         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
15787         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
15788         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
15789         Likewise.
15790         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
15791         Likewise.
15792         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
15793         Likewise.
15794         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
15795         Likewise.
15796         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
15798 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15800         sunrpc: Rewrite with explicit TLS access using __thread.
15801         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
15802         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
15803         directly.
15804         (__rpc_thread_variables): Access thread_rpc_vars directly.
15805         Eliminate redundant assignment of the tvp variable.
15807 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15809         malloc: Rewrite with explicit TLS access using __thread.
15810         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
15811         (tsd_setspecific, tsd_getspecific): Remove.
15812         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
15813         (tsd_setspecific, tsd_getspecific): Likewise.
15814         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
15815         (tsd_setspecific, tsd_getspecific): Likewise.
15816         * malloc/arena.c (thread_arena): New TLS variable.
15817         (arena_key): Remove variable.
15818         (arena_get): Use thread_arena.
15819         (arena_lookup): Remove macro.
15820         (malloc_atfork, free_atfork, ptmalloc_lock_all)
15821         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
15822         (_int_new_arena, get_free_list, reused_arena)
15823         (arena_thread_freeres): Use thread_arena.
15824         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
15825         tsd_getspecific, tsd_setspecific from safety annotations.
15826         (Allocating Cleared Space): Remove arena_lookup from safety
15827         annotations.
15829 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15831         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
15832         struct scratch_buffer instead of extend_alloca.
15834 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15836         * sysdeps/unix/sysv/linux/kernel-features.h
15837         (__ASSUME_SOCK_CLOEXEC): Remove.
15838         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
15839         (__have_paccept): Remove unused macro.
15840         * include/unistd.h (__have_sock_cloexec): Remove declaration.
15841         * misc/syslog.c (openlog_internal): Remove fallback code for
15842         !__ASSUME_SOCK_CLOEXEC.
15843         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
15844         missing SOCK_CLOEXEC.
15845         * nscd/connections.c (have_sock_cloexec): Remove definition.
15846         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
15847         * nscd/nscd_helper.c (open_socket): Remove fallback code for
15848         !__ASSUME_SOCK_CLOEXEC.
15849         * resolv/res_send.c (__have_o_nonblock): Remove definition.
15850         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
15851         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
15852         definition.
15853         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
15854         code for !__ASSUME_SOCK_CLOEXEC.
15856 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15858         [BZ #18982]
15859         * manual/stdio.texi (Variable Arguments Output): Add portability
15860         note, explaining that vfprintf clobbers the va_list pointer.
15862 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
15864         * math/libm-test.inc (fabs_test_data): Add more tests.
15865         (fdim_test_data): Likewise.
15866         (fma_test_data): Likewise.
15867         (fmax_test_data): Likewise.
15868         (fmin_test_data): Likewise.
15869         (fmod_test_data): Likewise.
15871 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
15873         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
15874         data.
15876 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
15878         * math/libm-test.inc (ceil_test_data): Add more tests and more
15879         expectations for "inexact".
15880         (floor_test_data): Add more tests.
15881         (round_test_data): Likewise.
15882         (trunc_test_data): Likewise.
15884         * crypt/cert.c (good_bye): Convert to prototype-style function
15885         definition.
15886         (get8): Likewise.
15887         (put8): Likewise.
15888         * crypt/crypt-entry.c (crypt): Likewise.
15889         (__fcrypt): Likewise.
15890         * crypt/crypt_util.c (_ufc_prbits): Likewise.
15891         (_ufc_set_bits): Likewise.
15892         (_ufc_clearmem): Likewise.
15893         (__init_des_r): Likewise.
15894         (shuffle_sb): Likewise.
15895         (shuffle_sb): Likewise.
15896         (_ufc_setup_salt_r): Likewise.
15897         (_ufc_mk_keytab_r): Likewise.
15898         (_ufc_dofinalperm_r): Likewise.
15899         (encrypt): Likewise.
15900         (__setkey_r): Likewise.
15901         (setkey): Likewise.
15902         * crypt/md5.c (md5_init_ctx): Likewise.
15903         (md5_read_ctx): Likewise.
15904         (md5_finish_ctx): Likewise.
15905         (md5_stream): Likewise.
15906         (md5_buffer): Likewise.
15907         (md5_process_bytes): Likewise.
15908         * crypt/sha256.c (__sha256_init_ctx): Likewise.
15909         (__sha256_finish_ctx): Likewise.
15910         (__sha256_process_bytes): Likewise.
15911         * crypt/sha512.c (__sha512_init_ctx): Likewise.
15912         (__sha512_finish_ctx): Likewise.
15913         (__sha512_process_bytes): Likewise.
15914         * ctype/isctype.c (__isctype): Likewise.
15915         * debug/backtrace.c (__backtrace): Likewise.
15916         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
15917         * debug/fgets_chk.c (__fgets_chk): Likewise.
15918         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
15919         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
15920         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15921         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15922         * debug/memset_chk.c (__memset_chk): Likewise.
15923         * debug/strcat_chk.c (__strcat_chk): Likewise.
15924         * debug/strncat_chk.c (__strncat_chk): Likewise.
15925         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
15926         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
15927         * dirent/dirfd.c (dirfd): Likewise.
15928         * dirent/getdents.c (__getdirentries): Likewise.
15929         * dirent/getdents64.c (getdirentries64): Likewise.
15930         * dirent/rewinddir.c (__rewinddir): Likewise.
15931         * dirent/seekdir.c (seekdir): Likewise.
15932         * dirent/telldir.c (telldir): Likewise.
15933         * elf/sln.c (makesymlinks): Likewise.
15934         (makesymlink): Likewise.
15935         * gmon/gmon.c (__moncontrol): Likewise.
15936         (__monstartup): Likewise.
15937         (write_hist): Likewise.
15938         (write_call_graph): Likewise.
15939         (write_bb_counts): Likewise.
15940         * grp/setgroups.c (setgroups): Likewise.
15941         * inet/inet_lnaof.c (inet_lnaof): Likewise.
15942         * inet/inet_net.c (inet_network): Likewise.
15943         * inet/inet_netof.c (inet_netof): Likewise.
15944         * inet/rcmd.c (rresvport_af): Likewise.
15945         (rresvport): Likewise.
15946         * io/access.c (__access): Likewise.
15947         * io/chdir.c (__chdir): Likewise.
15948         * io/chmod.c (__chmod): Likewise.
15949         * io/chown.c (__chown): Likewise.
15950         * io/close.c (__close): Likewise.
15951         * io/creat.c (creat): Likewise.
15952         * io/creat64.c (creat64): Likewise.
15953         * io/dup.c (__dup): Likewise.
15954         * io/dup2.c (__dup2): Likewise.
15955         * io/dup3.c (__dup3): Likewise.
15956         * io/euidaccess.c (__euidaccess): Likewise.
15957         * io/faccessat.c (faccessat): Likewise.
15958         * io/fchmod.c (__fchmod): Likewise.
15959         * io/fchmodat.c (fchmodat): Likewise.
15960         * io/fchown.c (__fchown): Likewise.
15961         * io/fchownat.c (fchownat): Likewise.
15962         * io/fcntl.c (__fcntl): Likewise.
15963         * io/flock.c (__flock): Likewise.
15964         * io/fts.c (fts_load): Likewise.
15965         (fts_close): Likewise.
15966         (fts_read): Likewise.
15967         (fts_set): Likewise.
15968         (fts_children): Likewise.
15969         (fts_build): Likewise.
15970         (fts_stat): Likewise.
15971         (fts_sort): Likewise.
15972         (fts_alloc): Likewise.
15973         (fts_lfree): Likewise.
15974         (fts_palloc): Likewise.
15975         (fts_padjust): Likewise.
15976         (fts_maxarglen): Likewise.
15977         (fts_safe_changedir): Likewise.
15978         * io/getwd.c (getwd): Likewise.
15979         * io/isatty.c (__isatty): Likewise.
15980         * io/lchown.c (__lchown): Likewise.
15981         * io/link.c (__link): Likewise.
15982         * io/linkat.c (linkat): Likewise.
15983         * io/lseek.c (__libc_lseek): Likewise.
15984         * io/mkdir.c (__mkdir): Likewise.
15985         * io/mkdirat.c (mkdirat): Likewise.
15986         * io/mkfifo.c (mkfifo): Likewise.
15987         * io/mkfifoat.c (mkfifoat): Likewise.
15988         * io/open.c (__libc_open): Likewise.
15989         * io/open64.c (__libc_open64): Likewise.
15990         * io/readlink.c (__readlink): Likewise.
15991         * io/readlinkat.c (readlinkat): Likewise.
15992         * io/rmdir.c (__rmdir): Likewise.
15993         * io/symlink.c (__symlink): Likewise.
15994         * io/symlinkat.c (symlinkat): Likewise.
15995         * io/ttyname.c (ttyname): Likewise.
15996         * io/ttyname_r.c (__ttyname_r): Likewise.
15997         * io/umask.c (__umask): Likewise.
15998         * io/unlink.c (__unlink): Likewise.
15999         * io/unlinkat.c (unlinkat): Likewise.
16000         * io/utime.c (utime): Likewise.
16001         * libio/clearerr.c (clearerr): Likewise.
16002         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
16003         * libio/feof.c (_IO_feof): Likewise.
16004         * libio/feof_u.c (feof_unlocked): Likewise.
16005         * libio/ferror.c (_IO_ferror): Likewise.
16006         * libio/ferror_u.c (ferror_unlocked): Likewise.
16007         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16008         * libio/fileno.c (__fileno): Likewise.
16009         * libio/fputc.c (fputc): Likewise.
16010         * libio/fputc_u.c (fputc_unlocked): Likewise.
16011         * libio/fputwc.c (fputwc): Likewise.
16012         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
16013         * libio/freopen.c (freopen): Likewise.
16014         * libio/freopen64.c (freopen64): Likewise.
16015         * libio/fseek.c (fseek): Likewise.
16016         * libio/fseeko.c (fseeko): Likewise.
16017         * libio/fseeko64.c (fseeko64): Likewise.
16018         * libio/ftello.c (__ftello): Likewise.
16019         * libio/ftello64.c (ftello64): Likewise.
16020         * libio/fwide.c (fwide): Likewise.
16021         * libio/genops.c (_IO_un_link): Likewise.
16022         (_IO_link_in): Likewise.
16023         (_IO_least_marker): Likewise.
16024         (_IO_switch_to_main_get_area): Likewise.
16025         (_IO_switch_to_backup_area): Likewise.
16026         (_IO_switch_to_get_mode): Likewise.
16027         (_IO_free_backup_area): Likewise.
16028         (_IO_switch_to_put_mode): Likewise.
16029         (__overflow): Likewise.
16030         (__underflow): Likewise.
16031         (__uflow): Likewise.
16032         (_IO_setb): Likewise.
16033         (_IO_doallocbuf): Likewise.
16034         (_IO_default_underflow): Likewise.
16035         (_IO_default_uflow): Likewise.
16036         (_IO_default_xsputn): Likewise.
16037         (_IO_sgetn): Likewise.
16038         (_IO_default_xsgetn): Likewise.
16039         (_IO_sync): Likewise.
16040         (_IO_default_setbuf): Likewise.
16041         (_IO_default_seekpos): Likewise.
16042         (_IO_default_doallocate): Likewise.
16043         (_IO_init): Likewise.
16044         (_IO_old_init): Likewise.
16045         (_IO_default_sync): Likewise.
16046         (_IO_default_finish): Likewise.
16047         (_IO_default_seekoff): Likewise.
16048         (_IO_sputbackc): Likewise.
16049         (_IO_sungetc): Likewise.
16050         (_IO_set_column): Likewise.
16051         (_IO_set_column): Likewise.
16052         (_IO_adjust_column): Likewise.
16053         (_IO_get_column): Likewise.
16054         (_IO_init_marker): Likewise.
16055         (_IO_remove_marker): Likewise.
16056         (_IO_marker_difference): Likewise.
16057         (_IO_marker_delta): Likewise.
16058         (_IO_seekmark): Likewise.
16059         (_IO_unsave_markers): Likewise.
16060         (_IO_nobackup_pbackfail): Likewise.
16061         (_IO_default_pbackfail): Likewise.
16062         (_IO_default_seek): Likewise.
16063         (_IO_default_stat): Likewise.
16064         (_IO_default_read): Likewise.
16065         (_IO_default_write): Likewise.
16066         (_IO_default_showmanyc): Likewise.
16067         (_IO_default_imbue): Likewise.
16068         (_IO_iter_next): Likewise.
16069         (_IO_iter_file): Likewise.
16070         * libio/getc.c (_IO_getc): Likewise.
16071         * libio/getwc.c (_IO_getwc): Likewise.
16072         * libio/iofclose.c (_IO_new_fclose): Likewise.
16073         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16074         * libio/iofflush.c (_IO_fflush): Likewise.
16075         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
16076         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
16077         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
16078         * libio/iofgets.c (_IO_fgets): Likewise.
16079         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
16080         * libio/iofgetws.c (fgetws): Likewise.
16081         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16082         * libio/iofopen64.c (_IO_fopen64): Likewise.
16083         * libio/iofopncook.c (_IO_cookie_read): Likewise.
16084         (_IO_cookie_write): Likewise.
16085         (_IO_cookie_seek): Likewise.
16086         (_IO_cookie_close): Likewise.
16087         (_IO_cookie_seekoff): Likewise.
16088         (_IO_old_cookie_seek): Likewise.
16089         * libio/iofputs.c (_IO_fputs): Likewise.
16090         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
16091         * libio/iofputws.c (fputws): Likewise.
16092         * libio/iofputws_u.c (fputws_unlocked): Likewise.
16093         * libio/iofread.c (_IO_fread): Likewise.
16094         * libio/iofread_u.c (__fread_unlocked): Likewise.
16095         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
16096         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
16097         * libio/ioftell.c (_IO_ftell): Likewise.
16098         * libio/iofwrite.c (_IO_fwrite): Likewise.
16099         * libio/iogetdelim.c (_IO_getdelim): Likewise.
16100         * libio/iogets.c (_IO_gets): Likewise.
16101         * libio/iopadn.c (_IO_padn): Likewise.
16102         * libio/iopopen.c (_IO_new_proc_open): Likewise.
16103         (_IO_new_popen): Likewise.
16104         (_IO_new_proc_close): Likewise.
16105         * libio/ioputs.c (_IO_puts): Likewise.
16106         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
16107         (_IO_seekoff): Likewise.
16108         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
16109         (_IO_seekpos): Likewise.
16110         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
16111         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
16112         * libio/ioungetc.c (_IO_ungetc): Likewise.
16113         * libio/ioungetwc.c (ungetwc): Likewise.
16114         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16115         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
16116         * libio/iowpadn.c (_IO_wpadn): Likewise.
16117         * libio/libc_fatal.c (__libc_fatal): Likewise.
16118         * libio/memstream.c (__open_memstream): Likewise.
16119         (_IO_mem_sync): Likewise.
16120         (_IO_mem_finish): Likewise.
16121         * libio/oldfileops.c (_IO_old_file_init): Likewise.
16122         (_IO_old_file_close_it): Likewise.
16123         (_IO_old_file_finish): Likewise.
16124         (_IO_old_file_fopen): Likewise.
16125         (_IO_old_file_attach): Likewise.
16126         (_IO_old_file_setbuf): Likewise.
16127         (_IO_old_do_write): Likewise.
16128         (old_do_write): Likewise.
16129         (_IO_old_file_underflow): Likewise.
16130         (_IO_old_file_overflow): Likewise.
16131         (_IO_old_file_sync): Likewise.
16132         (_IO_old_file_seekoff): Likewise.
16133         (_IO_old_file_write): Likewise.
16134         (_IO_old_file_xsputn): Likewise.
16135         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
16136         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16137         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
16138         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
16139         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
16140         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
16141         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
16142         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
16143         (_IO_old_popen): Likewise.
16144         (_IO_old_proc_close): Likewise.
16145         * libio/oldpclose.c (__old_pclose): Likewise.
16146         * libio/pclose.c (__new_pclose): Likewise.
16147         * libio/peekc.c (_IO_peekc_locked): Likewise.
16148         * libio/putc.c (_IO_putc): Likewise.
16149         * libio/putc_u.c (putc_unlocked): Likewise.
16150         * libio/putchar.c (putchar): Likewise.
16151         * libio/putchar_u.c (putchar_unlocked): Likewise.
16152         * libio/putwc.c (putwc): Likewise.
16153         * libio/putwc_u.c (putwc_unlocked): Likewise.
16154         * libio/putwchar.c (putwchar): Likewise.
16155         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
16156         * libio/rewind.c (rewind): Likewise.
16157         * libio/setbuf.c (setbuf): Likewise.
16158         * libio/setlinebuf.c (setlinebuf): Likewise.
16159         * libio/vasprintf.c (_IO_vasprintf): Likewise.
16160         * libio/vscanf.c (_IO_vscanf): Likewise.
16161         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
16162         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
16163         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
16164         * libio/wgenops.c (_IO_least_wmarker): Likewise.
16165         (_IO_switch_to_main_wget_area): Likewise.
16166         (_IO_switch_to_wbackup_area): Likewise.
16167         (_IO_wsetb): Likewise.
16168         (_IO_wdefault_pbackfail): Likewise.
16169         (_IO_wdefault_finish): Likewise.
16170         (_IO_wdefault_uflow): Likewise.
16171         (__woverflow): Likewise.
16172         (__wuflow): Likewise.
16173         (__wunderflow): Likewise.
16174         (_IO_wdefault_xsputn): Likewise.
16175         (_IO_wdefault_xsgetn): Likewise.
16176         (_IO_wdoallocbuf): Likewise.
16177         (_IO_wdefault_doallocate): Likewise.
16178         (_IO_switch_to_wget_mode): Likewise.
16179         (_IO_free_wbackup_area): Likewise.
16180         (_IO_switch_to_wput_mode): Likewise.
16181         (_IO_sputbackwc): Likewise.
16182         (_IO_sungetwc): Likewise.
16183         (_IO_adjust_wcolumn): Likewise.
16184         (_IO_init_wmarker): Likewise.
16185         (_IO_wmarker_delta): Likewise.
16186         (_IO_seekwmark): Likewise.
16187         (_IO_unsave_wmarkers): Likewise.
16188         * libio/wmemstream.c (open_wmemstream): Likewise.
16189         (_IO_wmem_sync): Likewise.
16190         (_IO_wmem_finish): Likewise.
16191         * locale/nl_langinfo.c (nl_langinfo): Likewise.
16192         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
16193         * locale/programs/simple-hash.c (init_hash): Likewise.
16194         (delete_hash): Likewise.
16195         (insert_entry): Likewise.
16196         (set_entry): Likewise.
16197         (next_prime): Likewise.
16198         (is_prime): Likewise.
16199         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
16200         (xmalloc): Likewise.
16201         (xrealloc): Likewise.
16202         * locale/programs/xstrdup.c (xstrdup): Likewise.
16203         * localedata/collate-test.c (xstrcoll): Likewise.
16204         * localedata/xfrm-test.c (xstrcmp): Likewise.
16205         * login/getlogin_r.c (__getlogin_r): Likewise.
16206         * login/getpt.c (__posix_openpt): Likewise.
16207         * login/login_tty.c (login_tty): Likewise.
16208         * login/setlogin.c (setlogin): Likewise.
16209         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
16210         (mach_msg_destroy_port): Likewise.
16211         (mach_msg_destroy_memory): Likewise.
16212         * malloc/mcheck.c (flood): Likewise.
16213         * misc/acct.c (acct): Likewise.
16214         * misc/brk.c (__brk): Likewise.
16215         * misc/chflags.c (chflags): Likewise.
16216         * misc/chroot.c (chroot): Likewise.
16217         * misc/fchflags.c (fchflags): Likewise.
16218         * misc/fstab.c (getfsspec): Likewise.
16219         (getfsfile): Likewise.
16220         * misc/fsync.c (fsync): Likewise.
16221         * misc/ftruncate.c (__ftruncate): Likewise.
16222         * misc/ftruncate64.c (__ftruncate64): Likewise.
16223         * misc/getdomain.c (getdomainname): Likewise.
16224         (getdomainname): Likewise.
16225         * misc/gethostname.c (__gethostname): Likewise.
16226         * misc/getpass.c (getpass): Likewise.
16227         * misc/getttyent.c (skip): Likewise.
16228         (value): Likewise.
16229         * misc/gtty.c (gtty): Likewise.
16230         * misc/hsearch.c (hsearch): Likewise.
16231         (hcreate): Likewise.
16232         * misc/hsearch_r.c (__hcreate_r): Likewise.
16233         (__hdestroy_r): Likewise.
16234         * misc/ioctl.c (__ioctl): Likewise.
16235         * misc/mkdtemp.c (mkdtemp): Likewise.
16236         * misc/mkostemp.c (mkostemp): Likewise.
16237         * misc/mkostemp64.c (mkostemp64): Likewise.
16238         * misc/mkostemps.c (mkostemps): Likewise.
16239         * misc/mkostemps64.c (mkostemps64): Likewise.
16240         * misc/mkstemp.c (mkstemp): Likewise.
16241         * misc/mkstemp64.c (mkstemp64): Likewise.
16242         * misc/mkstemps.c (mkstemps): Likewise.
16243         * misc/mkstemps64.c (mkstemps64): Likewise.
16244         * misc/mktemp.c (__mktemp): Likewise.
16245         * misc/preadv.c (preadv): Likewise.
16246         * misc/preadv64.c (preadv64): Likewise.
16247         * misc/pwritev.c (pwritev): Likewise.
16248         * misc/pwritev64.c (pwritev64): Likewise.
16249         * misc/readv.c (__readv): Likewise.
16250         * misc/revoke.c (revoke): Likewise.
16251         * misc/setdomain.c (setdomainname): Likewise.
16252         * misc/setegid.c (setegid): Likewise.
16253         * misc/seteuid.c (seteuid): Likewise.
16254         * misc/sethostid.c (sethostid): Likewise.
16255         * misc/sethostname.c (sethostname): Likewise.
16256         * misc/setregid.c (__setregid): Likewise.
16257         * misc/setreuid.c (__setreuid): Likewise.
16258         * misc/sstk.c (sstk): Likewise.
16259         * misc/stty.c (stty): Likewise.
16260         * misc/syscall.c (syscall): Likewise.
16261         * misc/syslog.c (setlogmask): Likewise.
16262         * misc/truncate.c (__truncate): Likewise.
16263         * misc/truncate64.c (truncate64): Likewise.
16264         * misc/ualarm.c (ualarm): Likewise.
16265         * misc/usleep.c (usleep): Likewise.
16266         * misc/ustat.c (ustat): Likewise.
16267         * misc/writev.c (__writev): Likewise.
16268         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
16269         * nptl/old_pthread_cond_broadcast.c
16270         (__pthread_cond_broadcast_2_0): Likewise.
16271         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
16272         Likewise.
16273         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
16274         Likewise.
16275         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
16276         Likewise.
16277         * nptl/pt-raise.c (raise): Likewise.
16278         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
16279         Likewise.
16280         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
16281         * nptl/pthread_barrierattr_destroy.c
16282         (pthread_barrierattr_destroy): Likewise.
16283         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
16284         Likewise.
16285         * nptl/pthread_barrierattr_setpshared.c
16286         (pthread_barrierattr_setpshared): Likewise.
16287         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
16288         Likewise.
16289         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
16290         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
16291         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
16292         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
16293         Likewise.
16294         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
16295         Likewise.
16296         * nptl/pthread_condattr_getpshared.c
16297         (pthread_condattr_getpshared): Likewise.
16298         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
16299         Likewise.
16300         * nptl/pthread_condattr_setpshared.c
16301         (pthread_condattr_setpshared): Likewise.
16302         * nptl/pthread_detach.c (pthread_detach): Likewise.
16303         * nptl/pthread_equal.c (__pthread_equal): Likewise.
16304         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
16305         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
16306         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
16307         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
16308         Likewise.
16309         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
16310         Likewise.
16311         * nptl/pthread_mutex_getprioceiling.c
16312         (pthread_mutex_getprioceiling): Likewise.
16313         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
16314         Likewise.
16315         * nptl/pthread_mutexattr_getprotocol.c
16316         (pthread_mutexattr_getprotocol): Likewise.
16317         * nptl/pthread_mutexattr_getpshared.c
16318         (pthread_mutexattr_getpshared): Likewise.
16319         * nptl/pthread_mutexattr_getrobust.c
16320         (pthread_mutexattr_getrobust): Likewise.
16321         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
16322         Likewise.
16323         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
16324         Likewise.
16325         * nptl/pthread_mutexattr_setprioceiling.c
16326         (pthread_mutexattr_setprioceiling): Likewise.
16327         * nptl/pthread_mutexattr_setprotocol.c
16328         (pthread_mutexattr_setprotocol): Likewise.
16329         * nptl/pthread_mutexattr_setpshared.c
16330         (pthread_mutexattr_setpshared): Likewise.
16331         * nptl/pthread_mutexattr_setrobust.c
16332         (pthread_mutexattr_setrobust): Likewise.
16333         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
16334         Likewise.
16335         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
16336         Likewise.
16337         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
16338         Likewise.
16339         * nptl/pthread_rwlockattr_getkind_np.c
16340         (pthread_rwlockattr_getkind_np): Likewise.
16341         * nptl/pthread_rwlockattr_getpshared.c
16342         (pthread_rwlockattr_getpshared): Likewise.
16343         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
16344         Likewise.
16345         * nptl/pthread_rwlockattr_setkind_np.c
16346         (pthread_rwlockattr_setkind_np): Likewise.
16347         * nptl/pthread_rwlockattr_setpshared.c
16348         (pthread_rwlockattr_setpshared): Likewise.
16349         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
16350         Likewise.
16351         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
16352         Likewise.
16353         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
16354         Likewise.
16355         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
16356         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
16357         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
16358         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
16359         * nptl/sem_close.c (sem_close): Likewise.
16360         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
16361         * nptl/sem_init.c (__old_sem_init): Likewise.
16362         * nptl/sigaction.c (__sigaction): Likewise.
16363         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
16364         * posix/_exit.c (_exit): Likewise.
16365         * posix/alarm.c (alarm): Likewise.
16366         * posix/confstr.c (confstr): Likewise.
16367         * posix/fpathconf.c (__fpathconf): Likewise.
16368         * posix/getgroups.c (__getgroups): Likewise.
16369         * posix/getpgid.c (__getpgid): Likewise.
16370         * posix/group_member.c (__group_member): Likewise.
16371         * posix/pathconf.c (__pathconf): Likewise.
16372         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
16373         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
16374         * posix/setgid.c (__setgid): Likewise.
16375         * posix/setpgid.c (__setpgid): Likewise.
16376         * posix/setuid.c (__setuid): Likewise.
16377         * posix/sleep.c (__sleep): Likewise.
16378         * posix/sysconf.c (__sysconf): Likewise.
16379         * posix/times.c (__times): Likewise.
16380         * posix/uname.c (__uname): Likewise.
16381         * posix/waitid.c (__waitid): Likewise.
16382         * pwd/getpw.c (__getpw): Likewise.
16383         * resolv/base64.c (b64_pton): Likewise.
16384         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
16385         * resolv/gethnamaddr.c (Dprintf): Likewise.
16386         (gethostbyname): Likewise.
16387         (gethostbyname2): Likewise.
16388         (gethostbyaddr): Likewise.
16389         (_sethtent): Likewise.
16390         (_gethtbyname): Likewise.
16391         (_gethtbyname2): Likewise.
16392         (_gethtbyaddr): Likewise.
16393         (map_v4v6_address): Likewise.
16394         (map_v4v6_hostent): Likewise.
16395         (addrsort): Likewise.
16396         (ht_sethostent): Likewise.
16397         (ht_gethostbyname): Likewise.
16398         (ht_gethostbyaddr): Likewise.
16399         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
16400         (inet_net_ntop_ipv4): Likewise.
16401         * resolv/inet_neta.c (inet_neta): Likewise.
16402         * resolv/inet_ntop.c (inet_ntop): Likewise.
16403         (inet_ntop4): Likewise.
16404         (inet_ntop6): Likewise.
16405         * resolv/inet_pton.c (__inet_pton): Likewise.
16406         (inet_pton4): Likewise.
16407         (inet_pton6): Likewise.
16408         * resolv/res_debug.c (loc_aton): Likewise.
16409         (loc_ntoa): Likewise.
16410         * resource/getpriority.c (__getpriority): Likewise.
16411         * resource/getrusage.c (__getrusage): Likewise.
16412         * resource/nice.c (nice): Likewise.
16413         * resource/setpriority.c (__setpriority): Likewise.
16414         * resource/setrlimit64.c (setrlimit64): Likewise.
16415         * resource/vlimit.c (vlimit): Likewise.
16416         * resource/vtimes.c (vtimes): Likewise.
16417         * rt/aio_error.c (aio_error): Likewise.
16418         * rt/aio_return.c (aio_return): Likewise.
16419         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
16420         * signal/kill.c (__kill): Likewise.
16421         * signal/killpg.c (killpg): Likewise.
16422         * signal/raise.c (raise): Likewise.
16423         * signal/sigaction.c (__sigaction): Likewise.
16424         * signal/sigaddset.c (sigaddset): Likewise.
16425         * signal/sigaltstack.c (sigaltstack): Likewise.
16426         * signal/sigandset.c (sigandset): Likewise.
16427         * signal/sigblock.c (__sigblock): Likewise.
16428         * signal/sigdelset.c (sigdelset): Likewise.
16429         * signal/sigempty.c (sigemptyset): Likewise.
16430         * signal/sigfillset.c (sigfillset): Likewise.
16431         * signal/sighold.c (sighold): Likewise.
16432         * signal/sigignore.c (sigignore): Likewise.
16433         * signal/sigintr.c (siginterrupt): Likewise.
16434         * signal/sigisempty.c (sigisemptyset): Likewise.
16435         * signal/sigismem.c (sigismember): Likewise.
16436         * signal/signal.c (signal): Likewise.
16437         * signal/sigorset.c (sigorset): Likewise.
16438         * signal/sigpause.c (__sigpause): Likewise.
16439         * signal/sigpending.c (sigpending): Likewise.
16440         * signal/sigprocmask.c (__sigprocmask): Likewise.
16441         * signal/sigrelse.c (sigrelse): Likewise.
16442         * signal/sigreturn.c (__sigreturn): Likewise.
16443         * signal/sigset.c (sigset): Likewise.
16444         * signal/sigsetmask.c (__sigsetmask): Likewise.
16445         * signal/sigstack.c (sigstack): Likewise.
16446         * signal/sigsuspend.c (__sigsuspend): Likewise.
16447         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
16448         * signal/sysv_signal.c (__sysv_signal): Likewise.
16449         * socket/accept.c (accept): Likewise.
16450         * socket/accept4.c (__libc_accept4): Likewise.
16451         * socket/bind.c (__bind): Likewise.
16452         * socket/connect.c (__connect): Likewise.
16453         * socket/getpeername.c (getpeername): Likewise.
16454         * socket/getsockname.c (__getsockname): Likewise.
16455         * socket/getsockopt.c (getsockopt): Likewise.
16456         * socket/listen.c (__listen): Likewise.
16457         * socket/recv.c (__recv): Likewise.
16458         * socket/recvmsg.c (__recvmsg): Likewise.
16459         * socket/send.c (__send): Likewise.
16460         * socket/sendmsg.c (__sendmsg): Likewise.
16461         * socket/shutdown.c (shutdown): Likewise.
16462         * socket/sockatmark.c (sockatmark): Likewise.
16463         * socket/socket.c (__socket): Likewise.
16464         * stdio-common/ctermid.c (ctermid): Likewise.
16465         * stdio-common/cuserid.c (cuserid): Likewise.
16466         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
16467         * stdio-common/remove.c (remove): Likewise.
16468         * stdio-common/rename.c (rename): Likewise.
16469         * stdio-common/renameat.c (renameat): Likewise.
16470         * stdio-common/tempname.c (__gen_tempname): Likewise.
16471         * stdio-common/xbug.c (InitBuffer): Likewise.
16472         (AppendToBuffer): Likewise.
16473         (ReadFile): Likewise.
16474         * stdlib/a64l.c (a64l): Likewise.
16475         * stdlib/drand48_r.c (drand48_r): Likewise.
16476         * stdlib/getcontext.c (getcontext): Likewise.
16477         * stdlib/getenv.c (getenv): Likewise.
16478         * stdlib/l64a.c (l64a): Likewise.
16479         * stdlib/llabs.c (llabs): Likewise.
16480         * stdlib/lldiv.c (lldiv): Likewise.
16481         * stdlib/lrand48_r.c (lrand48_r): Likewise.
16482         * stdlib/mrand48_r.c (mrand48_r): Likewise.
16483         * stdlib/putenv.c (putenv): Likewise.
16484         * stdlib/random.c (__srandom): Likewise.
16485         (__initstate): Likewise.
16486         (__setstate): Likewise.
16487         * stdlib/random_r.c (__srandom_r): Likewise.
16488         (__setstate_r): Likewise.
16489         (__random_r): Likewise.
16490         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
16491         * stdlib/setcontext.c (setcontext): Likewise.
16492         * stdlib/setenv.c (setenv): Likewise.
16493         (unsetenv): Likewise.
16494         * stdlib/srand48.c (srand48): Likewise.
16495         * stdlib/srand48_r.c (__srand48_r): Likewise.
16496         * stdlib/swapcontext.c (swapcontext): Likewise.
16497         * stdlib/system.c (__libc_system): Likewise.
16498         * stdlib/tst-strtod.c (expand): Likewise.
16499         * stdlib/tst-strtol.c (expand): Likewise.
16500         * stdlib/tst-strtoll.c (expand): Likewise.
16501         * streams/fattach.c (fattach): Likewise.
16502         * streams/fdetach.c (fdetach): Likewise.
16503         * streams/getmsg.c (getmsg): Likewise.
16504         * streams/isastream.c (isastream): Likewise.
16505         * string/ffs.c (__ffs): Likewise.
16506         * string/ffsll.c (ffsll): Likewise.
16507         * string/memcmp.c (memcmp_common_alignment): Likewise.
16508         (memcmp_not_common_alignment): Likewise.
16509         (MEMCMP): Likewise.
16510         * string/memcpy.c (memcpy): Likewise.
16511         * string/memmove.c (MEMMOVE): Likewise.
16512         * string/memset.c (memset): Likewise.
16513         * string/rawmemchr.c (RAWMEMCHR): Likewise.
16514         * string/strchrnul.c (STRCHRNUL): Likewise.
16515         * string/strerror.c (strerror): Likewise.
16516         * string/strndup.c (__strndup): Likewise.
16517         * string/strverscmp.c (__strverscmp): Likewise.
16518         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
16519         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
16520         (clnttcp_freeres): Likewise.
16521         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
16522         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
16523         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
16524         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
16525         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
16526         (xdr_callhdr): Likewise.
16527         * sunrpc/rpcinfo.c (udpping): Likewise.
16528         (tcpping): Likewise.
16529         (pstatus): Likewise.
16530         (pmapdump): Likewise.
16531         (brdcst): Likewise.
16532         (deletereg): Likewise.
16533         (getprognum): Likewise.
16534         (getvers): Likewise.
16535         (get_inet_address): Likewise.
16536         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
16537         * sunrpc/svc_udp.c (svcudp_create): Likewise.
16538         (svcudp_stat): Likewise.
16539         (svcudp_recv): Likewise.
16540         (svcudp_reply): Likewise.
16541         (svcudp_getargs): Likewise.
16542         (svcudp_freeargs): Likewise.
16543         (svcudp_destroy): Likewise.
16544         * sunrpc/xdr.c (xdr_bytes): Likewise.
16545         (xdr_netobj): Likewise.
16546         (xdr_string): Likewise.
16547         (xdr_wrapstring): Likewise.
16548         * sunrpc/xdr_float.c (xdr_float): Likewise.
16549         (xdr_double): Likewise.
16550         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
16551         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
16552         * sysvipc/ftok.c (ftok): Likewise.
16553         * sysvipc/msgctl.c (msgctl): Likewise.
16554         * sysvipc/msgget.c (msgget): Likewise.
16555         * sysvipc/msgrcv.c (msgrcv): Likewise.
16556         * sysvipc/msgsnd.c (msgsnd): Likewise.
16557         * sysvipc/semget.c (semget): Likewise.
16558         * sysvipc/semop.c (semop): Likewise.
16559         * sysvipc/shmat.c (shmat): Likewise.
16560         * sysvipc/shmctl.c (shmctl): Likewise.
16561         * sysvipc/shmdt.c (shmdt): Likewise.
16562         * sysvipc/shmget.c (shmget): Likewise.
16563         * termios/cfmakeraw.c (cfmakeraw): Likewise.
16564         * termios/speed.c (cfgetospeed): Likewise.
16565         (cfgetispeed): Likewise.
16566         (cfsetospeed): Likewise.
16567         (cfsetispeed): Likewise.
16568         * termios/tcflow.c (tcflow): Likewise.
16569         * termios/tcflush.c (tcflush): Likewise.
16570         * termios/tcgetattr.c (__tcgetattr): Likewise.
16571         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
16572         * termios/tcgetsid.c (tcgetsid): Likewise.
16573         * termios/tcsendbrk.c (tcsendbreak): Likewise.
16574         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
16575         * time/adjtime.c (__adjtime): Likewise.
16576         * time/dysize.c (dysize): Likewise.
16577         * time/ftime.c (ftime): Likewise.
16578         * time/getitimer.c (__getitimer): Likewise.
16579         * time/gettimeofday.c (__gettimeofday): Likewise.
16580         * time/gmtime.c (__gmtime_r): Likewise.
16581         (gmtime): Likewise.
16582         * time/localtime.c (__localtime_r): Likewise.
16583         (localtime): Likewise.
16584         * time/offtime.c (__offtime): Likewise.
16585         * time/settimeofday.c (__settimeofday): Likewise.
16586         * time/stime.c (stime): Likewise.
16587         * time/strftime_l.c (tm_diff): Likewise.
16588         (iso_week_days): Likewise.
16589         * time/strptime.c (strptime): Likewise.
16590         * time/time.c (time): Likewise.
16591         * time/timespec_get.c (timespec_get): Likewise.
16592         * time/tzset.c (tzset_internal): Likewise.
16593         (compute_change): Likewise.
16594         (__tz_compute): Likewise.
16595         * wcsmbs/btowc.c (__btowc): Likewise.
16596         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
16597         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
16598         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
16599         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
16600         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
16601         * wcsmbs/wcscat.c (__wcscat): Likewise.
16602         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16603         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
16604         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
16605         * wcsmbs/wcscspn.c (wcscspn): Likewise.
16606         * wcsmbs/wcsdup.c (wcsdup): Likewise.
16607         * wcsmbs/wcslen.c (__wcslen): Likewise.
16608         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
16609         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
16610         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
16611         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
16612         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16613         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
16614         * wcsmbs/wcsspn.c (wcsspn): Likewise.
16615         * wcsmbs/wcsstr.c (wcsstr): Likewise.
16616         * wcsmbs/wcstok.c (wcstok): Likewise.
16617         * wcsmbs/wctob.c (wctob): Likewise.
16618         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
16619         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16620         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
16621         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
16622         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
16623         * wcsmbs/wmemset.c (__wmemset): Likewise.
16624         * wctype/wcfuncs.c (__towlower): Likewise.
16625         (__towupper): Likewise.
16627         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
16628         (lll_unlock_elision): Add adapt_count parameter.
16630 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
16632         * sysdeps/nptl/configure.ac: Do not give errors based on the
16633         results of top-level configure tests.
16634         * sysdeps/nptl/configure: Regenerated.
16636         * configure.ac (libc_cv_Bgroup): Remove configure test.
16637         * configure: Regenerated.
16638         * config.make.in (have-Bgroup): Remove variable.
16640         * configure.ac (sizeof_long_double): Remove configure test.
16641         * configure: Regenerated.
16642         * config.make.in (sizeof-long-double): Remove variable.
16644         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
16645         * configure: Regenerated.
16646         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
16647         variable.
16648         (exceptions): Likewise.
16649         * sysdeps/arm/configure: Regenerated.
16650         * config.make.in (exceptions): Remove variable.
16651         * Makeconfig (uses-callbacks): Use -fexceptions instead of
16652         $(exceptions).
16653         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
16654         (CFLAGS-vdprintf_chk.c): Likewise.
16655         (CFLAGS-printf_chk.c): Likewise.
16656         (CFLAGS-fprintf_chk.c): Likewise.
16657         (CFLAGS-vprintf_chk.c): Likewise.
16658         (CFLAGS-vfprintf_chk.c): Likewise.
16659         (CFLAGS-gets_chk.c): Likewise.
16660         (CFLAGS-fgets_chk.c): Likewise.
16661         (CFLAGS-fgets_u_chk.c): Likewise.
16662         (CFLAGS-fread_chk.c): Likewise.
16663         (CFLAGS-fread_u_chk.c): Likewise.
16664         (CFLAGS-wprintf_chk.c): Likewise.
16665         (CFLAGS-fwprintf_chk.c): Likewise.
16666         (CFLAGS-vwprintf_chk.c): Likewise.
16667         (CFLAGS-vfwprintf_chk.c): Likewise.
16668         (CFLAGS-fgetws_chk.c): Likewise.
16669         (CFLAGS-fgetws_u_chk.c): Likewise.
16670         * libio/Makefile (CFLAGS-fileops.c): Likewise.
16671         (CFLAGS-fputc.c): Likewise.
16672         (CFLAGS-fputwc.c): Likewise.
16673         (CFLAGS-freopen64.c): Likewise.
16674         (CFLAGS-freopen.c): Likewise.
16675         (CFLAGS-fseek.c): Likewise.
16676         (CFLAGS-fseeko64.c): Likewise.
16677         (CFLAGS-fseeko.c): Likewise.
16678         (CFLAGS-ftello64.c): Likewise.
16679         (CFLAGS-ftello.c): Likewise.
16680         (CFLAGS-fwide.c): Likewise.
16681         (CFLAGS-genops.c): Likewise.
16682         (CFLAGS-getc.c): Likewise.
16683         (CFLAGS-getchar.c): Likewise.
16684         (CFLAGS-getwc.c): Likewise.
16685         (CFLAGS-getwchar.c): Likewise.
16686         (CFLAGS-iofclose.c): Likewise.
16687         (CFLAGS-iofflush.c): Likewise.
16688         (CFLAGS-iofgetpos64.c): Likewise.
16689         (CFLAGS-iofgetpos.c): Likewise.
16690         (CFLAGS-iofgets.c): Likewise.
16691         (CFLAGS-iofgetws.c): Likewise.
16692         (CFLAGS-iofputs.c): Likewise.
16693         (CFLAGS-iofputws.c): Likewise.
16694         (CFLAGS-iofread.c): Likewise.
16695         (CFLAGS-iofsetpos64.c): Likewise.
16696         (CFLAGS-iofsetpos.c): Likewise.
16697         (CFLAGS-ioftell.c): Likewise.
16698         (CFLAGS-iofwrite.c): Likewise.
16699         (CFLAGS-iogetdelim.c): Likewise.
16700         (CFLAGS-iogetline.c): Likewise.
16701         (CFLAGS-iogets.c): Likewise.
16702         (CFLAGS-iogetwline.c): Likewise.
16703         (CFLAGS-ioputs.c): Likewise.
16704         (CFLAGS-ioseekoff.c): Likewise.
16705         (CFLAGS-ioseekpos.c): Likewise.
16706         (CFLAGS-iosetbuffer.c): Likewise.
16707         (CFLAGS-iosetvbuf.c): Likewise.
16708         (CFLAGS-ioungetc.c): Likewise.
16709         (CFLAGS-ioungetwc.c): Likewise.
16710         (CFLAGS-oldfileops.c): Likewise.
16711         (CFLAGS-oldiofclose.c): Likewise.
16712         (CFLAGS-oldiofgetpos64.c): Likewise.
16713         (CFLAGS-oldiofgetpos.c): Likewise.
16714         (CFLAGS-oldiofsetpos64.c): Likewise.
16715         (CFLAGS-oldiofsetpos.c): Likewise.
16716         (CFLAGS-peekc.c): Likewise.
16717         (CFLAGS-putc.c): Likewise.
16718         (CFLAGS-putchar.c): Likewise.
16719         (CFLAGS-putwc.c): Likewise.
16720         (CFLAGS-putwchar.c): Likewise.
16721         (CFLAGS-rewind.c): Likewise.
16722         (CFLAGS-wfileops.c): Likewise.
16723         (CFLAGS-wgenops.c): Likewise.
16724         (CFLAGS-oldiofopen.c): Likewise.
16725         (CFLAGS-iofopen.c): Likewise.
16726         (CFLAGS-iofopen64.c): Likewise.
16727         (CFLAGS-oldtmpfile.c): Likewise.
16728         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
16729         (CFLAGS-fprintf.c): Likewise.
16730         (CFLAGS-printf.c): Likewise.
16731         (CFLAGS-vfwprintf.c): Likewise.
16732         (CFLAGS-vfscanf.c): Likewise.
16733         (CFLAGS-vfwscanf.c): Likewise.
16734         (CFLAGS-fscanf.c): Likewise.
16735         (CFLAGS-scanf.c): Likewise.
16736         (CFLAGS-isoc99_vfscanf.c): Likewise.
16737         (CFLAGS-isoc99_vscanf.c): Likewise.
16738         (CFLAGS-isoc99_fscanf.c): Likewise.
16739         (CFLAGS-isoc99_scanf.c): Likewise.
16740         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
16741         (CFLAGS-isoc99_fwscanf.c): Likewise.
16742         (CFLAGS-isoc99_vwscanf.c): Likewise.
16743         (CFLAGS-isoc99_vfwscanf.c): Likewise.
16745         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
16746         after mkstemp64.
16747         * login/tst-utmp.c (do_prepare): Likewise.
16748         * rt/tst-aio.c (do_prepare): Likewise.
16749         * rt/tst-aio64.c (do_prepare): Likewise.
16751 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16753         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16754         (__lll_lock_elision): Remove adapt_count decrement...
16755         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16756         (__lll_trylock_elision): Likewise.
16757         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
16758         (__lll_unlock_elision): ... to here. And utilize
16759         new adapt_count parameter.
16760         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
16761         (__lll_unlock_elision): Update to include adapt_count
16762         parameter.
16763         (lll_unlock_elision): Pass pointer to adapt_count
16764         variable.
16766 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16768         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
16769         Add elision adapt_count parameter to list of arguments.
16770         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
16771         (lll_unlock_elision): Update with new parameter list
16772         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
16773         (lll_unlock_elision): Likewise.
16774         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
16775         (lll_unlock_elision): Likewise.
16777 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16779         [BZ #19122]
16780         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
16781         attribute_hidden.
16783         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
16784         attribute_hidden.
16785         [IS_IN (rtld)] (__strdup): Likewise.
16786         [IS_IN (rtld)] (__strerror_r): Likewise.
16787         [IS_IN (rtld)] (__strsep_g): Likewise.
16788         [IS_IN (rtld)] (memchr): Likewise.
16789         [IS_IN (rtld)] (memcmp): Likewise.
16790         [IS_IN (rtld)] (memcpy): Likewise.
16791         [IS_IN (rtld)] (memmove): Likewise.
16792         [IS_IN (rtld)] (memset): Likewise.
16793         [IS_IN (rtld)] (rawmemchr): Likewise.
16794         [IS_IN (rtld)] (stpcpy): Likewise.
16795         [IS_IN (rtld)] (strchr): Likewise.
16796         [IS_IN (rtld)] (strcmp): Likewise.
16797         [IS_IN (rtld)] (strlen): Likewise.
16798         [IS_IN (rtld)] (strnlen): Likewise.
16799         [IS_IN (rtld)] (strsep): Likewise.
16801         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
16802         attribute_hidden.
16803         [IS_IN (rtld)] (__strtoul_internal): Likewise.
16805         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
16806         attribute_hidden.
16807         [IS_IN (rtld)] (__libc_sigaction): Likewise.
16809         * include/setjmp.h (__longjmp): Add attribute_hidden.
16810         [IS_IN (rtld)] (__sigsetjmp): Likewise.
16812         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
16813         Add attribute_hidden.
16815         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
16816         [IS_IN (rtld)] (__open): Likewise.
16817         [IS_IN (rtld)] (__fcntl): Likewise.
16819         * include/dirent.h (__opendirat): Add attribute_hidden.
16820         (__getdents): Likewise.
16821         (__getdents64): Likewise.
16822         (__alloc_dir): Likewise.
16823         [IS_IN (rtld)] (__closedir): Likewise.
16824         [IS_IN (rtld)] (__fdopendir): Likewise.
16825         [IS_IN (rtld)] (__readdir): Likewise.
16826         [IS_IN (rtld)] (__readdir64): Likewise.
16827         [IS_IN (rtld)] (__rewinddir): Likewise.
16829         * include/dlfcn.h (_dl_catch_error): Moved to ...
16830         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
16831         attribute_hidden.
16833         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
16834         (_itoa_word): Likewise.
16836         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
16837         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
16838         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
16839         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
16840         (_dl_higher_prime_number): Likewise.
16841         (_dl_debug_printf_c): Likewise.
16842         (_dl_signal_cerror): Likewise.
16843         (_dl_receive_error): Likewise.
16844         (_dl_reloc_bad_type): Likewise.
16845         (_dl_resolve_conflicts): Likewise.
16846         (_dl_check_all_versions): Likewise.
16847         (_dl_check_map_versions): Likewise.
16848         (_dl_sort_fini): Likewise.
16849         (_dl_debug_initialize): Likewise.
16850         (_dl_init_paths): Likewise.
16851         (_dl_show_auxv): Likewise.
16852         (_dl_next_ld_env_entry): Likewise.
16853         (_dl_important_hwcaps): Likewise.
16854         (_dl_load_cache_lookup): Likewise.
16855         (_dl_update_slotinfo): Likewise.
16856         (_dl_show_scope): Likewise.
16858         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
16859         attribute_hidden.
16860         (_wordcopy_fwd_dest_aligned): Likewise.
16861         (_wordcopy_bwd_aligned): Likewise.
16862         (_wordcopy_bwd_dest_aligned): Likewise.
16864         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16865         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
16866         Likewise.
16867         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
16868         Likewise.
16869         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
16871 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16873         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
16874         GCC 5 requirement.
16876 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
16878         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
16879         test.
16880         * sysdeps/i386/configure: Regenerated.
16881         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
16882         code unconditional.
16884         * configure.ac (libc_cv_asm_previous_directive): Remove configure
16885         test.
16886         (libc_cv_asm_popsection_directive): Likewise.
16887         * configure: Regenerated.
16888         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
16889         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
16890         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
16891         (__make_section_unallocated): Make definition unconditional.
16892         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
16893         Remove conditional definition.
16894         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
16895         (__make_section_unallocated): Likewise.
16897         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
16898         * configure: Regenerated.
16899         * config.make.in (static-libgcc): Remove variable.
16900         * Makerules (build-shlib-helper): Use -static-libgcc instead of
16901         $(static-libgcc).
16902         (build-module-helper): Likewise.
16904         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
16905         * configure: Regenerated.
16907 2015-10-15  Florian Weimer  <fweimer@redhat.com>
16909         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
16910         (struct char_buffer): New type.
16911         (char_buffer_start, char_buffer_size, char_buffer_error)
16912         (char_buffer_rewind, char_buffer_add): New functions.
16913         (ADDW): Remove macro, replaced by the char_buffer_add function.
16914         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
16915         of extend_alloca.  Make control flow more explicit.
16917 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16919         [BZ #19137]
16920         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
16921         Add -fomit-frame-pointer.
16922         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
16924 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16926         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
16927         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
16928         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
16929         only if !__GNUC_PREREQ (5,0).
16930         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
16931         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
16932         (INTERNAL_SYSCALL_NCS): Likewise.
16933         (LOADREGS_0): New macro for GCC 5.
16934         (ASMARGS_0): Likewise.
16935         (LOADREGS_1): Likewise.
16936         (ASMARGS_1): Likewise.
16937         (LOADREGS_2): Likewise.
16938         (ASMARGS_2): Likewise.
16939         (LOADREGS_3): Likewise.
16940         (ASMARGS_3): Likewise.
16941         (LOADREGS_4): Likewise.
16942         (ASMARGS_4): Likewise.
16943         (LOADREGS_5): Likewise.
16944         (ASMARGS_5): Likewise.
16945         (LOADREGS_6): Likewise.
16946         (ASMARGS_6): Likewise.
16948 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16950         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
16951         -fomit-frame-pointer.
16952         (CFLAGS-mmap64.c): Likewise.
16953         (CFLAGS-semtimedop.c): Likewise.
16954         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
16955         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
16956         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16957         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16959 2015-10-15  Florian Weimer  <fweimer@redhat.com>
16961         [BZ #18928]
16962         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
16963         _dl_pointer_guard member.
16964         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
16965         initializer.
16966         (security_init): Always set up pointer guard.
16967         (process_envvars): Do not process LD_POINTER_GUARD.
16969 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
16971         [BZ #19134]
16972         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
16973         (.LC2): Likewise.
16974         (.LC3): Likewise.
16975         (__lround): Do not add 0.5 to integer or out-of-range arguments.
16977 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16979         [BZ #19129]
16980         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
16981         r0 and r1.
16983 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
16985         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
16987 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
16989         * include/stap-probe.h: Fix macro definition formatting.
16991 2015-10-14  Florian Weimer  <fweimer@redhat.com>
16993         [BZ #19074]
16994         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
16995         load and store num_ifs.
16997 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16999         [BZ #18822]
17000         * sysdeps/unix/sysv/linux/sched_getaffinity.c
17001         (__sched_getaffinity_new): Add libc_hidden_proto and
17002         libc_hidden_def.
17004 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
17006         [BZ #19007]
17007         * scripts/localplt.awk: Also allow GOT references.
17008         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
17009         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
17010         with "+ REL R_386_GLOB_DAT".
17011         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
17012         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
17014 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
17016         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
17017         INLINE_SYSCALL_ERROR_RETURN_VALUE.
17018         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
17019         Likewise.
17020         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
17021         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
17022         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
17023         INTERNAL_SYSCALLINTERNAL_SYSCALL and
17024         INLINE_SYSCALL_ERROR_RETURN_VALUE.
17025         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
17026         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17027         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
17028         Likewise.
17029         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17031 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
17033         [BZ #19125]
17034         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
17035         <math_private.h> and <stdint.h>.
17036         (__llround): Avoid conversions to and from long long int, and
17037         subtractions, where those might raise spurious exceptions.
17038         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
17039         <math_private.h> and <stdint.h>.
17040         (__llroundf): Avoid conversions to and from long long int, and
17041         subtractions, where those might raise spurious exceptions.
17043 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
17045         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
17046         INLINE_SYSCALL_ERROR_RETURN_VALUE.
17047         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
17048         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
17049         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17050         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17051         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
17052         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
17053         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
17054         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17055         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17056         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17057         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
17058         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17059         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17060         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
17061         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
17062         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17063         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
17064         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
17065         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
17066         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
17067         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
17068         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
17069         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
17070         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
17071         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
17072         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17073         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17074         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
17075         (__xstat64_conv): Likewise.
17076         (__xstat32_conv): Likewise.
17078 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
17080         * sysdeps/unix/sysv/linux/sysdep.h: New file.
17081         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
17082         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
17083         <sysdeps/unix/sysv/linux/sysdep.h>.
17084         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
17085         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
17086         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
17087         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17088         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
17089         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
17090         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
17091         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
17092         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
17093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17095         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17096         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17097         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17098         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
17099         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17100         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
17101         (sysdep-dl-routines): Add sysdep.
17102         [$(subdir) == nptl] (libpthread-routines): Likewise.
17103         [$(subdir) == rt] (librt-routines): Likewise.
17104         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
17105         PIC when branching to SYSCALL_ERROR_LABEL.
17106         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
17107         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
17108         <sysdeps/unix/sysv/linux/sysdep.h>.
17109         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
17110         (SYSCALL_ERROR_ERRNO): Removed.
17111         (SYSCALL_ERROR_HANDLER): Changed to empty.
17112         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
17113         (__syscall_error): New prototype.
17114         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
17115         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
17117 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
17119         [BZ #19124]
17120         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
17121         (_dl_runtime_resolve_avx512): Make it a hidden alias of
17122         _dl_runtime_resolve_avx.
17123         (_dl_runtime_profile_avx512): Make it a hidden alias of
17124         _dl_runtime_profile_avx.
17126 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
17128         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
17129         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
17130         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
17131         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
17133         [BZ #16422]
17134         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
17135         New configure test.
17136         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
17137         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
17138         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
17139         <math_private.h> and <stdint.h>.
17140         (__llrint): Avoid conversions to long long int where those might
17141         raise spurious exceptions.
17142         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
17143         <math_private.h> and <stdint.h>.
17144         (__llrintf): Avoid conversions to long long int where those might
17145         raise spurious exceptions.
17147 2015-10-12  Andreas Schwab  <schwab@suse.de>
17149         [BZ #18969]
17150         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
17151         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
17152         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
17153         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
17154         $(gen-locales).
17155         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
17156         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
17157         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
17158         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
17159         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
17160         $(gen-locales).
17161         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
17162         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
17163         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
17164         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
17165         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
17166         ($(objpfx)tst-ftell-active-handler.out)
17167         ($(objpfx)tst-ftell-append.out)
17168         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
17169         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
17170         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
17171         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
17172         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
17173         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
17174         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
17175         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
17176         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
17177         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
17178         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
17179         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
17180         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
17181         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
17182         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
17183         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
17184         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
17185         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
17186         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
17187         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
17188         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
17189         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
17190         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
17191         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
17192         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
17193         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
17194         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
17195         $(gen-locales).
17196         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
17197         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
17198         $(gen-locales).
17199         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
17200         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
17201         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
17202         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
17203         $(gen-locales).
17204         * libio/tst_wprintf2.c (main): Use explicit locale.
17205         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
17207 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17209         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
17210         __msg_sig_post.
17211         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
17213 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
17215         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17216         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17218         * sysdeps/arm/libm-test-ulps: Regenerated.
17220         [BZ #15470]
17221         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
17223         [BZ #16399]
17224         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
17225         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
17226         and <fix-fp-int-convert-overflow.h>.
17227         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
17228         FIX_DBL_LLONG_CONVERT_OVERFLOW.
17229         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
17230         and <fix-fp-int-convert-overflow.h>.
17231         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
17232         FIX_DBL_LLONG_CONVERT_OVERFLOW.
17233         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
17234         <fix-fp-int-convert-overflow.h>.
17235         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
17236         FIX_DBL_LLONG_CONVERT_OVERFLOW.
17237         * sysdeps/ieee754/dbl-64/s_lround.c: Include
17238         <fix-fp-int-convert-overflow.h>.
17239         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
17240         FIX_DBL_LLONG_CONVERT_OVERFLOW.
17241         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
17242         and <fix-fp-int-convert-overflow.h>.
17243         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
17244         FIX_DBL_LLONG_CONVERT_OVERFLOW.
17245         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
17246         <limits.h> and <fix-fp-int-convert-overflow.h>.
17247         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
17248         FIX_DBL_LLONG_CONVERT_OVERFLOW.
17249         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
17250         and <fix-fp-int-convert-overflow.h>.
17251         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
17252         FIX_DBL_LLONG_CONVERT_OVERFLOW.
17253         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
17254         and <fix-fp-int-convert-overflow.h>.
17255         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
17256         FIX_DBL_LLONG_CONVERT_OVERFLOW.
17257         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
17259 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
17261         [BZ #18589]
17262         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
17263         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
17264         $(gen-locales).
17266 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17267             Phil Blundell <pb@pbcl.net>
17269         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
17270         * nptl/tst-cancel26.c: New file.
17271         * nptl/tst-cancel27.c: Likewise.
17273 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
17275         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
17276         __ILP32__ isn't defined.
17277         (lrint): Likewise.
17278         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
17279         (lrintf): Likewise.
17280         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
17281         (lrintl): Likewise.
17282         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
17283         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
17284         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
17286 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17288         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
17289         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
17291         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
17292         file.
17293         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
17294         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
17296 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
17298         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
17299         configure test.
17300         * sysdeps/i386/configure: Regenerated.
17301         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
17302         configure test.
17303         * sysdeps/x86_64/configure: Regenerated.
17304         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
17305         Make code unconditional.
17307         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
17308         test.
17309         * sysdeps/i386/configure: Regenerated.
17310         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
17311         test.
17312         * sysdeps/x86_64/configure: Regenerated.
17313         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
17314         Make code unconditional.
17315         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
17316         Likewise.
17317         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
17318         Likewise.
17319         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17320         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
17321         code unconditional.
17322         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17323         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
17324         code unconditional.
17325         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17326         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
17327         code unconditional.
17328         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
17329         code unconditional.
17330         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17331         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
17332         code unconditional.
17333         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17334         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
17335         code unconditional.
17336         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17337         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
17338         code unconditional.
17339         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17340         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
17341         code unconditional.
17342         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17343         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
17345         [BZ #19095]
17346         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
17347         mantissa to long int before shifting left.
17349 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
17351         [BZ #19094]
17352         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
17353         <limits.h>.
17354         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
17355         when result overflows but exception would not result from cast.
17356         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
17357         <limits.h>.
17358         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
17359         when result overflows but exception would not result from cast.
17360         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
17361         <limits.h>.
17362         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
17363         when result overflows but exception would not result from cast.
17364         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
17365         <limits.h>.
17366         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
17367         when result overflows but exception would not result from cast.
17368         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
17369         <limits.h>.
17370         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
17371         when result overflows but exception would not result from cast.
17372         * math/libm-test.inc (lrint_test_data): Add more tests.
17373         (llrint_test_data): Likewise.
17375 2015-10-08  Roland McGrath  <roland@hack.frob.com>
17377         [BZ #18872]
17378         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
17379         Move out from under [$(run-built-tests) = yes] conditional.
17380         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
17381         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
17383 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
17385         [BZ #18589]
17386         * string/Makefile (tests): Add bug-strcoll2.
17387         (LOCALES): Add cs_CZ.UTF-8.
17388         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
17390         [BZ #18589]
17391         * string/bug-strcoll2.c: New file.
17392         * locale/categories.def: Revert commit
17393         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
17394         * locale/langinfo.h: Likewise.
17395         * locale/localeinfo.h: Likewise.
17396         * locale/C-collate.c: Likewise.
17397         * locale/programs/ld-collate.c (collate_output): Likewise.
17398         * string/strcoll_l.c (STRDIFF): Likewise.
17399         (STRCOLL): Likewise.
17400         * wcsmbs/wcscoll_l.c: Likewise.
17402 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
17404         * math/libm-test.inc (lround_test_data): Do not expect the absence
17405         of "inexact" for some tests with non-integer arguments.
17406         (llround_test_data): Likewise.
17408         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
17409         test.
17410         (libc_cv_cc_sse2avx): Likewise.
17411         * sysdeps/i386/configure: Regenerated.
17412         * sysdeps/i386/i686/multiarch/Makefile
17413         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
17414         [$(subdir) = math].
17415         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
17416         code unconditional.
17417         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
17418         Likewise.
17419         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
17420         Likewise.
17421         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
17422         Likewise.
17423         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
17424         test.
17425         (libc_cv_cc_sse2avx): Likewise.
17426         * sysdeps/x86_64/configure: Regenerated.
17427         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
17428         unconditional.
17429         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
17430         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
17431         unconditional.
17432         (_dl_runtime_profile)
17433         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
17434         conditional code.
17435         * sysdeps/x86_64/fpu/multiarch/Makefile
17436         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
17437         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
17438         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17439         * sysdeps/x86_64/fpu/multiarch/e_exp.c
17440         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17441         * sysdeps/x86_64/fpu/multiarch/e_log.c
17442         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17443         * sysdeps/x86_64/fpu/multiarch/s_atan.c
17444         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17445         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
17446         Likewise.
17447         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
17448         Likewise.
17449         * sysdeps/x86_64/fpu/multiarch/s_sin.c
17450         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17451         * sysdeps/x86_64/fpu/multiarch/s_tan.c
17452         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17453         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
17454         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
17455         (HAVE_SSE2AVX_SUPPORT): Likewise.
17457 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
17459         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
17460         instead of #pragma optimize.
17462 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
17464         [BZ #17195]
17465         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
17466         as is similarly done in systrim and _int_free already.
17468 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17470         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
17472 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
17474         [BZ #19088]
17475         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
17476         <limits.h>.
17477         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
17478         overflows but exception would not result from cast.
17479         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
17480         and <limits.h>.
17481         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
17482         overflows but exception would not result from cast.
17483         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
17484         <limits.h>.
17485         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
17486         overflows but exception would not result from cast.
17487         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
17488         <limits.h>.
17489         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
17490         overflows but exception would not result from cast.
17491         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
17492         <limits.h>.
17493         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
17494         overflows but exception would not result from cast.
17495         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
17496         <limits.h>.
17497         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
17498         overflows but exception would not result from cast.
17499         * math/libm-test.inc (lround_test_data): Add more tests.
17500         (llround_test_data): Likewise.
17502 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
17504         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
17505         (CFLAGS-ialloc.c): Ditto.
17506         (CFLAGS-scheck.c): Ditto.
17508 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
17510         [BZ #19086]
17511         * manual/filesys.texi (Storage Allocation): Fix argument order for
17512         posix_fallocate64.
17514 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
17516         [BZ #19085]
17517         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
17518         exponent below 48 inside case for non-overflowing exponent.
17519         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
17521 2015-10-07  Florian Weimer  <fweimer@redhat.com>
17523         * iconvdata/cp737.h (from_idx): Add const.
17524         * iconvdata/cp775.h (from_idx): Likewise.
17526 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
17528         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
17529         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
17530         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
17532         [BZ #19079]
17533         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
17534         file, conditioned on [!_LP64].
17535         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
17536         [!_LP64] (__lround): Do not define as function or alias.
17537         [!_LP64] (lround): Likewise.
17538         [!_LP64] (__lroundl): Likewise.
17539         [!_LP64] (lroundl): Likewise.
17540         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
17541         macro.
17542         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
17543         Likewise.
17545 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
17547         * math/libm-test.inc (lrint_test_data): Add more tests.
17548         (llrint_test_data): Likewise.
17549         (lround_test_data): Likewise.
17550         (llround_test_data): Likewise.
17552         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
17553         (llrint_test_data): Add tests used for lrint.
17555         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
17556         test.
17557         * sysdeps/i386/configure: Regenerated.
17558         * sysdeps/i386/i686/multiarch/Makefile
17559         [$(config-cflags-sse4) = yes]: Make code unconditional.
17560         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
17561         Likewise.
17562         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
17563         Likewise.
17564         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
17565         test.
17566         * sysdeps/x86_64/configure: Regenerated.
17567         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
17568         Make code unconditional.
17569         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
17570         Likewise.
17571         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
17572         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
17574         * scripts/rpm2dynsym.sh: Remove file.
17576 2015-10-06  Florian Weimer  <fweimer@redhat.com>
17578         * configure.ac (libc_cv_cxx_thread_local): Define.
17579         * configure: Regenerate.
17580         * config.make.in (have-cxx-thread_local): Define.
17581         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
17582         (LDLIBS-tst-thread_local1): Define.
17583         (tests): Add tst-thread_local1.
17584         [have-cxx-thread_local != yes] (tests-unsupported): Add
17585         tst-thread_local1.
17586         * nptl/tst-thread_local1.cc: New file.
17588 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
17590         [BZ #19078]
17591         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
17592         (u_thres): Likewise.
17593         (__expl): Determine whether to call __kernel_standard_l based on
17594         value of result, not argument.
17596         * math/libm-test.inc (scalb_test_data): Add more expectations for
17597         the "inexact" exception.
17599         [BZ #19077]
17600         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
17601         0.0L for argument 1.0L.
17603         [BZ #19076]
17604         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
17605         constant 0.0L when computing infinite result.
17607 2015-10-06  Florian Weimer  <fweimer@redhat.com>
17609         [BZ #10432]
17610         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
17611         malloc_usable_size.
17613 2015-10-06  Florian Weimer  <fweimer@redhat.com>
17615         [BZ #19018]
17616         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17617         Mangle function pointer before storing it.
17618         (__call_tls_dtors): Demangle function pointer before calling it.
17620 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17622         [BZ #19012]
17623         * iconv/gconv_db.c (gen_steps): Check for additional errors.
17624         Clean up on failure.
17626 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
17628         [BZ #19071]
17629         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
17630         long int variable to store possibly incremented high part of
17631         mantissa.
17632         * math/libm-test.inc (lround_test_data): Add tests used for
17633         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
17634         for tests requiring 64-bit long.  Do not condition tests on
17635         [TEST_FLOAT] unnecessarily.
17636         (llround_test_data): Add tests used for lround.  Add another
17637         expectation for the "inexact" exception.  Do not condition tests
17638         on [TEST_FLOAT] unnecessarily.
17640         [BZ #887]
17641         [BZ #19049]
17642         [BZ #19050]
17643         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
17644         * sysdeps/ieee754/dbl-64/e_log10.c: Include
17645         <fix-int-fp-convert-zero.h>.
17646         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17647         * sysdeps/ieee754/dbl-64/e_log2.c: Include
17648         <fix-int-fp-convert-zero.h>.
17649         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17650         * sysdeps/ieee754/dbl-64/s_erf.c: Include
17651         <fix-int-fp-convert-zero.h>.
17652         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17653         * sysdeps/ieee754/dbl-64/s_logb.c: Include
17654         <fix-int-fp-convert-zero.h>.
17655         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17656         * sysdeps/ieee754/flt-32/e_log10f.c: Include
17657         <fix-int-fp-convert-zero.h>.
17658         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17659         * sysdeps/ieee754/flt-32/e_log2f.c: Include
17660         <fix-int-fp-convert-zero.h>.
17661         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17662         * sysdeps/ieee754/flt-32/s_erff.c: Include
17663         <fix-int-fp-convert-zero.h>.
17664         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17665         * sysdeps/ieee754/flt-32/s_logbf.c: Include
17666         <fix-int-fp-convert-zero.h>.
17667         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17668         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
17669         <fix-int-fp-convert-zero.h>.
17670         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17671         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
17672         <fix-int-fp-convert-zero.h>.
17673         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17674         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
17675         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
17676         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
17677         file.
17678         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
17680 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
17682         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17684 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
17686         [BZ #19059]
17687         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
17688         overflowing computation.
17689         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17690         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
17691         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
17692         Likewise.
17693         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
17694         Likewise.
17695         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
17696         Likewise.
17697         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17698         Likewise.
17699         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
17700         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17701         Likewise.
17702         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17703         Likewise.
17704         * math/libm-test.inc (nexttoward_test_data): Add more tests.
17706         * nss/rewrite_field.c (__nss_rewrite_field): Use
17707         internal_function.
17708         * nss/valid_field.c (__nss_valid_field): Likewise.
17709         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
17711 2015-10-02  Florian Weimer  <fweimer@redhat.com>
17713         [BZ #18724]
17714         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
17715         (__nss_invalid_field_characters, __nss_valid_field)
17716         (__nss_valid_list_field, __nss_rewrite_field): Declare.
17717         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
17718         tst-field.c: New file.
17719         * nss/Makefile (routines): Add valid_field, rewrite_field.
17720         (tests-static): Define unconditionally.
17721         (tests): Include tests-static.
17722         [build-static-nss] (tests-static): Use append.
17723         [build-static-nss] (tests): Remove modification.
17724         * nss/getent.c (print_group): Call putgrent.  Report error.
17725         (print_gshadow): Call putsgent.  Report error.
17726         (print_passwd): Call putpwent.  Report error.
17727         (print_shadow): Call putspent.  Report error.
17728         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
17729         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
17730         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
17731         name, password, directory, shell fields for valid syntax.  Rewrite
17732         GECOS field to match syntax.
17733         * pwd/Makefile (tests): Add tst-putpwent.
17734         * pwd/tst-putpwent.c: New file.
17735         * grp/putgrent.c (putgrent): Convert to ISO function definition.
17736         Check grName, grpasswd, gr_mem fields for valid syntax.
17737         Change loop variable i to size_t.
17738         * grp/Makefile (tests): Add tst-putgrent.
17739         * grp/tst-putgrent.c: New file.
17740         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
17741         valid syntax.
17742         * shadow/Makefile (tests): Add tst-putspent.
17743         * shadow/tst-putspent.c: New file.
17744         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
17745         sg_mem fields for valid syntax.
17746         * gshadow/Makefile (tests): Add tst-putsgent.
17747         * gshadow/tst-putsgent.c: New file.
17749 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17751         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
17752         assembly instructions.
17754 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17756         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
17757         prefix from operands.
17759 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
17761         [BZ #16347]
17762         [BZ #19046]
17763         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
17764         <libc-internal.h>.
17765         (MAXLGM): Do not use diagnostic control macros.
17766         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
17767         threshold for ldbl-128ibm.
17768         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
17769         instead of multiplying by log then subtracting.
17770         * math/auto-libm-test-in: Add more tests of lgamma.
17771         * math/auto-libm-test-out: Regenerated.
17773         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
17774         (TYPE_HEX_DIG): Likewise.
17775         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
17776         precisions when printing floating-point numbers.
17777         (check_float_internal): Likewise.
17779 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
17781         [BZ #16620]
17782         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
17783         of log (10) rounded downward to 48 bits.
17784         (log10_low): Use corresponding low part of log (10).
17786         [BZ #19032]
17787         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
17788         compute result as (x - x) / (x - x) not as 0 / 0.
17789         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17790         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
17792         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17793         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
17794         and expm1.
17795         * math/auto-libm-test-out: Regenerated.
17796         * math/libm-test.inc (acos_test_data): Add more tests.
17797         (asin_test_data): Likewise.
17798         (asinh_test_data): Likewise.
17799         (atan_test_data): Likewise.
17800         (atanh_test_data): Likewise.
17801         (atan2_test_data): Likewise.
17802         (cbrt_test_data): Likewise.
17803         (ceil_test_data): Likewise.
17804         (copysign_test_data): Likewise.
17805         (cos_test_data): Likewise.
17806         (cosh_test_data): Likewise.
17807         (erf_test_data): Likewise.
17808         (erfc_test_data): Likewise.
17809         (exp_test_data): Likewise.
17810         (exp10_test_data): Likewise.
17811         (exp2_test_data): Likewise.
17812         (expm1_test_data): Likewise.
17813         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17815 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
17817         [BZ #19006]
17818         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
17819         to ...
17820         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
17821         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
17822         to ...
17823         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
17824         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
17825         to ...
17826         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
17827         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
17828         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
17829         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
17830         to ...
17831         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
17832         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17833         Moved to ...
17834         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
17835         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17836         Moved to ...
17837         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
17838         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
17839         to ...
17840         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
17841         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17842         Moved to ...
17843         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
17844         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
17845         to ...
17846         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
17847         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
17848         Removed.
17849         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
17850         Likewise.
17851         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
17852         Likewise.
17853         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
17854         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
17855         Likewise.
17856         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17857         Likewise.
17858         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17859         Likewise.
17860         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17861         Likewise.
17862         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17863         Likewise.
17864         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
17865         Likewise.
17866         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
17867         Likewise.
17868         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
17869         Likewise.
17870         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
17871         Likewise.
17872         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
17873         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
17874         Likewise.
17875         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17876         Likewise.
17877         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17878         Likewise.
17879         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17880         Likewise.
17881         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
17882         Likewise.
17883         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17884         Replace ../i486/pthread_cond_timedwait.S with
17885         ../pthread_cond_timedwait.S.
17887 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
17889         * math/libm-test.inc (acos_test_data): Refine expectations for
17890         errno and "inexact" exceptions.
17891         (acosh_test_data): Likewise.
17892         (asin_test_data): Likewise.
17893         (asinh_test_data): Likewise.
17894         (atan_test_data): Likewise.
17895         (atanh_test_data): Likewise.
17896         (atan2_test_data): Likewise.
17897         (cbrt_test_data): Likewise.
17898         (ceil_test_data): Likewise.
17899         (copysign_test_data): Likewise.
17900         (cosh_test_data): Likewise.
17901         (erf_test_data): Likewise.
17902         (erfc_test_data): Likewise.
17903         (exp_test_data): Likewise.
17904         (exp10_test_data): Likewise.
17905         (exp2_test_data): Likewise.
17906         (expm1_test_data): Likewise.
17907         (fabs_test_data): Likewise.
17908         (floor_test_data): Likewise.
17909         (fma_test_data): Likewise.
17910         (fmax_test_data): Likewise.
17911         (fmin_test_data): Likewise.
17912         (fmod_test_data): Likewise.
17913         (fpclassify_test_data): Likewise.
17914         (frexp_test_data): Likewise.
17915         (hypot_test_data): Likewise.
17916         (ilogb_test_data): Likewise.
17917         (isgreater_test_data): Likewise.
17918         (isgreaterequal_test_data): Likewise.
17919         (isinf_test_data): Likewise.
17920         (isless_test_data): Likewise.
17921         (islessequal_test_data): Likewise.
17922         (islessgreater_test_data): Likewise.
17923         (isnan_test_data): Likewise.
17924         (isnormal_test_data): Likewise.
17925         (issignaling_test_data): Likewise.
17926         (isunordered_test_data): Likewise.
17927         (j0_test_data): Likewise.
17928         (j1_test_data): Likewise.
17929         (jn_test_data): Likewise.
17930         (lgamma_test_data): Likewise.
17931         (lrint_test_data): Likewise.
17932         (llrint_test_data): Likewise.
17933         (log_test_data): Likewise.
17934         (log10_test_data): Likewise.
17935         (log1p_test_data): Likewise.
17936         (log2_test_data): Likewise.
17937         (logb_test_data): Likewise.
17938         (lround_test_data): Likewise.
17939         (llround_test_data): Likewise.
17940         (modf_test_data): Likewise.
17941         (nearbyint_test_data): Likewise.
17942         (nextafter_test_data): Likewise.
17943         (nexttoward_test_data): Likewise.
17944         (pow_test_data): Likewise.
17945         (remainder_test_data): Likewise.
17946         (remquo_test_data): Likewise.
17947         (rint_test_data): Likewise.
17948         (round_test_data): Likewise.
17949         (signbit_test_data): Likewise.
17950         (sinh_test_data): Likewise.
17951         (sqrt_test_data): Likewise.
17952         (tanh_test_data): Likewise.
17953         (tgamma_test_data): Likewise.
17954         (trunc_test_data): Likewise.
17955         (y0_test_data): Likewise.
17956         (y1_test_data): Likewise.
17957         (yn_test_data): Likewise.
17958         (significand_test_data): Likewise.
17960 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
17962         * manual/filesys.texi (Storage Allocation): Document that
17963         posix_fallocate emulation fails when fd is open with O_WRONLY.
17965 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
17967         [BZ #19016]
17968         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
17969         allow more cases with X^2 + Y^2 >= 0.5.
17970         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
17971         normal element in sum instead of special-casing based on values of
17972         arguments.
17973         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
17974         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
17975         -1 as normal element in sum instead of special-casing based on
17976         values of arguments.
17977         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
17978         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
17979         (__x2y2m1): Update comment.
17980         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
17981         as normal element in sum instead of special-casing based on values
17982         of arguments.
17983         * math/s_clog.c (__clog): Handle more cases using log1p without
17984         hypot.
17985         * math/s_clog10.c (__clog10): Likewise.
17986         * math/s_clog10f.c (__clog10f): Likewise.
17987         * math/s_clog10l.c (__clog10l): Likewise.
17988         * math/s_clogf.c (__clogf): Likewise.
17989         * math/s_clogl.c (__clogl): Likewise.
17990         * math/auto-libm-test-in: Add more tests of clog and clog10.
17991         * math/auto-libm-test-out: Regenerated.
17992         * sysdeps/i386/fpu/libm-test-ulps: Update.
17993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17995 2015-09-28  Martin Sebor  <msebor@redhat.com>
17997         [BZ #18969]
17998         * string/Makefile (LOCALES): Define.
17999         (gen-locales.mk): Include.
18000         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
18001         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
18002         * string/tst-strxfrm2.c (do_test): Print the name of the locale
18003         on setlocale failure.
18005 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
18007         [BZ #18985]
18008         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
18009         (__strftime_internal): Likewise.
18010         * time/tst-strftime.c (do_bz18985): New test.
18011         (do_test): Call it.
18013 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
18015         [BZ #18956]
18016         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
18017         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
18018         extracting high part.
18019         * math/auto-libm-test-in: Add another test of pow.
18020         * math/auto-libm-test-out: Regenerated.
18021         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18023 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
18025         [BZ #18825]
18026         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
18027         New macro.
18028         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
18029         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
18030         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
18031         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
18032         DBL_NARROW_EVAL, reloading the PIC register as needed.
18033         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
18034         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
18035         FLT_NARROW_EVAL.  Use separate return path for case when first
18036         argument is NaN.
18037         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
18038         DEFINE_LDBL_MIN.
18039         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
18040         PIC register.
18041         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
18042         math_check_force_underflow_nonneg.
18043         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
18044         underflow for subnormal result.
18045         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
18046         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
18047         math_check_force_underflow_nonneg.
18048         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
18049         math_check_force_underflow.
18050         * sysdeps/x86_64/fpu/x86_64-math-asm.h
18051         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
18052         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
18053         DEFINE_LDBL_MIN.
18054         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
18055         * math/auto-libm-test-in: Add more tests of pow.
18056         * math/auto-libm-test-out: Regenerated.
18058 2015-09-25  Florian Weimer  <fweimer@redhat.com>
18060         * nss/bug17079.c (init_test_items): Add diagnostic for
18061         inconsistent entries.
18062         (test_buffer_size): Skip inconsistent entries.
18064 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
18066         [BZ #13304]
18067         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
18068         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
18069         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
18071         [BZ #13304]
18072         * sysdeps/microblaze/s_fma.c: New file.
18073         * sysdeps/microblaze/s_fmaf.c: Likewise.
18074         * sysdeps/microblaze/sfp-machine.h: Likewise.
18076 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
18078         [BZ #17250]
18079         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
18080         member.
18082 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
18084         [BZ #18803]
18085         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
18086         (MO): New macro.
18087         (__ieee754_hypot) [PIC]: Load PIC register.
18088         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
18089         DBL_NARROW_EVAL.
18090         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
18091         math_check_force_underflow_nonneg in case where result might be
18092         tiny.
18093         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18094         Likewise.
18095         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
18096         Likewise.
18097         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
18098         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
18099         * math/auto-libm-test-in: Add more tests of hypot.
18100         * math/auto-libm-test-out: Regenerated.
18102 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
18104         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
18106 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
18108         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
18109         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
18110         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
18111         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
18112         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
18113         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
18114         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
18116         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
18117         LOAD_PIC_REG.
18119         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
18120         (FLT_CHECK_FORCE_UFLOW): Likewise.
18121         (DBL_CHECK_FORCE_UFLOW): Likewise.
18122         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
18123         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
18124         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
18125         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
18126         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
18127         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
18128         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
18129         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
18130         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
18131         (dbl_min): Replace with use of DEFINE_DBL_MIN.
18132         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
18133         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
18134         (flt_min): Replace with use of DEFINE_FLT_MIN.
18135         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
18136         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
18137         (dbl_min): Replace with use of DEFINE_DBL_MIN.
18138         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
18139         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
18140         (flt_min): Replace with use of DEFINE_FLT_MIN.
18141         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
18142         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
18143         (dbl_min): Replace with use of DEFINE_DBL_MIN.
18144         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
18145         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
18146         (flt_min): Replace with use of DEFINE_FLT_MIN.
18147         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
18148         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
18149         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
18150         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
18151         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
18152         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
18153         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
18154         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
18155         (dbl_min): Replace with use of DEFINE_DBL_MIN.
18156         (__atan): Use DBL_CHECK_FORCE_UFLOW.
18157         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
18158         (flt_min): Replace with use of DEFINE_FLT_MIN.
18159         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
18160         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
18161         (dbl_min): Replace with use of DEFINE_DBL_MIN.
18162         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
18163         main computation.
18164         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
18165         (flt_min): Replace with use of DEFINE_FLT_MIN.
18166         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
18167         main computation.
18168         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
18169         (dbl_min): Replace with use of DEFINE_DBL_MIN.
18170         (MO): New macro.
18171         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
18172         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
18173         (flt_min): Replace with use of DEFINE_FLT_MIN.
18174         (MO): New macro.
18175         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
18176         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
18177         (__log1pl): Use MO.
18179         [BZ #19003]
18180         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
18181         $(config-cflags-nofma).
18183 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18185         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18187 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
18189         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
18190         (TWO127): Likewise.
18192         * sysdeps/generic/math_private.h (fabs_tg): New macro.
18193         (min_of_type): Likewise.
18194         (math_check_force_underflow): Likewise.
18195         (math_check_force_underflow_nonneg): Likewise.
18196         (math_check_force_underflow_complex): Likewise.
18197         * math/e_exp2l.c (__ieee754_exp2l): Use
18198         math_check_force_underflow_nonneg.
18199         * math/k_casinh.c (__kernel_casinh): Likewise.
18200         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18201         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18202         * math/s_catan.c (__catan): Use
18203         math_check_force_underflow_complex.
18204         * math/s_catanf.c (__catanf): Likewise.
18205         * math/s_catanh.c (__catanh): Likewise.
18206         * math/s_catanhf.c (__catanhf): Likewise.
18207         * math/s_catanhl.c (__catanhl): Likewise.
18208         * math/s_catanl.c (__catanl): Likewise.
18209         * math/s_ccosh.c (__ccosh): Likewise.
18210         * math/s_ccoshf.c (__ccoshf): Likewise.
18211         * math/s_ccoshl.c (__ccoshl): Likewise.
18212         * math/s_cexp.c (__cexp): Likewise.
18213         * math/s_cexpf.c (__cexpf): Likewise.
18214         * math/s_cexpl.c (__cexpl): Likewise.
18215         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
18216         * math/s_clog10.c (__clog10): Likewise.
18217         * math/s_clog10f.c (__clog10f): Likewise.
18218         * math/s_clog10l.c (__clog10l): Likewise.
18219         * math/s_clogf.c (__clogf): Likewise.
18220         * math/s_clogl.c (__clogl): Likewise.
18221         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
18222         * math/s_csinf.c (__csinf): Likewise.
18223         * math/s_csinh.c (__csinh): Likewise.
18224         * math/s_csinhf.c (__csinhf): Likewise.
18225         * math/s_csinhl.c (__csinhl): Likewise.
18226         * math/s_csinl.c (__csinl): Likewise.
18227         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
18228         * math/s_csqrtf.c (__csqrtf): Likewise.
18229         * math/s_csqrtl.c (__csqrtl): Likewise.
18230         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
18231         * math/s_ctanf.c (__ctanf): Likewise.
18232         * math/s_ctanh.c (__ctanh): Likewise.
18233         * math/s_ctanhf.c (__ctanhf): Likewise.
18234         * math/s_ctanhl.c (__ctanhl): Likewise.
18235         * math/s_ctanl.c (__ctanl): Likewise.
18236         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
18237         instead of volatile.
18238         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
18239         math_check_force_underflow.
18240         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18241         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
18242         volatile when forcing underflow.
18243         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18244         math_check_force_underflow_nonneg.
18245         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
18246         Likewise.
18247         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
18248         math_check_force_underflow.
18249         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18250         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18251         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18252         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
18253         math_check_force_underflow_nonneg.
18254         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
18255         math_check_force_underflow.
18256         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
18257         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
18258         instead of volatile.
18259         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
18260         math_check_force_underflow.
18261         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18262         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18263         math_check_force_underflow_nonneg.
18264         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
18265         math_check_force_underflow.
18266         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
18267         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18268         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
18269         math_check_force_underflow_nonneg.
18270         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
18271         Likewise.
18272         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
18273         math_check_force_underflow.
18274         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18275         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
18276         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
18277         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
18278         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
18279         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
18280         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
18281         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
18282         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
18283         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
18284         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
18285         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
18286         Likewise.
18287         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
18288         math_check_force_underflow_nonneg.
18289         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
18290         Likewise.
18291         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
18292         math_check_force_underflow.
18293         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18294         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
18295         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
18296         Likewise.
18297         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
18298         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
18299         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
18300         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
18301         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
18302         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
18303         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
18304         instead of volatile.
18305         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
18306         math_check_force_underflow.
18307         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
18308         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
18309         math_check_force_underflow.
18310         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
18311         Likewise.
18312         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18313         Use math_check_force_underflow_nonneg.
18314         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
18315         math_check_force_underflow.
18316         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
18317         Likewise.
18318         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
18319         Likewise.
18320         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18321         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18322         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18323         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18324         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
18325         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18326         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
18327         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
18328         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
18329         math_check_force_underflow_nonneg.
18330         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
18331         math_check_force_underflow.
18332         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18333         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
18334         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
18335         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
18336         math_check_force_underflow_nonneg.
18337         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
18338         math_check_force_underflow.
18339         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
18340         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
18341         instead of volatile.
18342         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
18343         math_check_force_underflow.
18345         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
18346         * stdlib/strtod_l.c: Include <math_private.h>.
18347         (overflow_value): Use math_narrow_eval.
18348         (underflow_value): Likewise.
18349         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18350         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
18351         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
18352         (__ieee754_gamma_r): Likewise.
18353         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
18354         Likewise.
18355         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
18356         Likewise.
18357         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
18358         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
18359         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
18360         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
18361         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
18362         (__ieee754_gammaf_r): Likewise.
18363         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
18364         Likewise.
18365         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
18366         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
18367         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
18368         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
18369         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
18370         volatile.
18371         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
18372         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
18373         math_narrow_eval.
18374         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
18375         Likewise.
18376         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18377         Likewise.
18378         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
18379         Likewise.
18380         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
18381         volatile.
18382         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
18383         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
18384         math_narrow_eval.
18385         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18386         Likewise.
18387         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18388         Likewise.
18390 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
18392         * nptl/Versions: Remove ignored symbols.
18394 2015-09-22  Florian Weimer  <fweimer@redhat.com>
18396         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
18397         * nss/Makefile (tests): Update.
18399 2015-09-22  Florian Weimer  <fweimer@redhat.com>
18401         * nss/bug18287.c: New file.
18402         * nss/Makefile (tests): Add bug18287.
18404 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18406         * mach/Versions (__mach_host_self_): Add symbol.
18408 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18410         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
18411         vm_page_size.
18413 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18415         Really fix sysdeps/i386/fpu/s_scalbn.S build
18417         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
18418         (libc: GLIBC_2_22): Remove unused version set.
18420 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
18422         * config.make.in (enable-timezone-tools): New variable.
18423         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
18424         (enable_timezone_tools): Export to generated files.
18425         * configure: Regenerate.
18426         * INSTALL: Regenerate.
18427         * manual/install.texi (--disable-timezone-tools): Document new flag.
18428         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
18429         ifeq ($(enable-timezone-tools),yes) check.
18431 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
18433         * timezone/Makefile: Revert previous change.
18435         [BZ #18980]
18436         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
18437         (DEFINE_DBL_MIN): Likewise.
18438         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
18439         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
18440         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
18441         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
18442         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
18443         (dbl_min): Replace with use of DEFINE_DBL_MIN.
18444         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
18445         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
18446         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
18447         (dbl_min): Replace with use of DEFINE_DBL_MIN.
18448         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
18449         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
18450         (flt_min): Replace with use of DEFINE_FLT_MIN.
18451         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
18452         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
18453         (dbl_min): Replace with use of DEFINE_DBL_MIN.
18454         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
18455         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
18456         (flt_min): Replace with use of DEFINE_FLT_MIN.
18457         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
18458         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
18459         (flt_min): Replace with use of DEFINE_FLT_MIN.
18460         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
18461         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
18462         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
18463         (__ieee754_hypot): Use DBL_NARROW_EVAL.
18464         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
18465         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
18466         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
18467         (__ieee754_pow): Use DBL_NARROW_EVAL.
18468         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
18469         (__ieee754_powf): Use FLT_NARROW_EVAL.
18470         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
18471         (__ieee754_expf_sse2): Convert double-precision result to single
18472         precision.
18473         * sysdeps/i386/fpu/libm-test-ulps: Update.
18475 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18477         * timezone/Makefile: Ignore unused variable errors due to private.h
18478         (time_t_min) and (time_t_max).
18479         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
18480         Likewise.
18482 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
18484         [BZ #18981]
18485         * sysdeps/i386/fpu/i386-math-asm.h: New file.
18486         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
18487         (__ieee754_scalb): Use DBL_NARROW_EVAL.
18488         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
18489         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
18490         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
18491         (__scalbn): Use DBL_NARROW_EVAL.
18492         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
18493         (__scalbnf): Use FLT_NARROW_EVAL.
18495 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18497         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
18498         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
18499         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
18500         * stdio-common/printf_fp.c (___printf_fp):
18501         Use signbit to get the sign. Use isinf macro to allow inlining.
18502         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
18503         * stdio-common/printf_size.c (__printf_size): Likewise.
18505 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
18507         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
18509 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
18511         [BZ #18980]
18512         * sysdeps/generic/math_private.h: Include <float.h>.
18513         (math_narrow_eval): New macro.
18514         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
18515         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
18516         math_narrow_eval on overflowing return value.
18517         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
18518         Likewise.
18519         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18520         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
18521         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
18522         Likewise.
18523         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
18525 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18527         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
18528         * math/Makefile: Remove isinf_ns.c.
18529         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
18530         * math/multc3.c (__multc3): Likewise.
18531         * math/s_casin.c (__casin): Likewise.
18532         * math/s_casinf.c (__casinf): Likewise.
18533         * math/s_casinl.c (__casinl): Likewise.
18534         * math/s_cproj.c (__cproj): Likewise.
18535         * math/s_cprojf.c (__cprojf): Likewise.
18536         * math/s_cprojl.c (__cprofl): Likewise.
18537         * math/s_ctan.c (__ctan): Likewise.
18538         * math/s_ctanf.c (__ctanf): Likewise.
18539         * math/s_ctanh.c (__ctanh): Likewise.
18540         * math/s_ctanhf.c (__ctanhf): Likewise.
18541         * math/s_ctanhl.c (__ctanhl): Likewise.
18542         * math/s_ctanl.c (__ctanl): Likewise.
18543         * math/w_fmod.c (__fmod): Likewise.
18544         * math/w_fmodf.c (__fmodf): Likewise.
18545         * math/w_fmodl.c (_fmodl): Likewise.
18546         * math/w_remainder.c (__remainder): Likewise.
18547         * math/w_remainderf.c (__remainderf): Likewise.
18548         * math/w_remainderl.c (__remainderl): Likewise.
18549         * math/w_scalb.c (__scalb): Likewise.
18550         * math/w_scalbf.c (__scalbf): Likewise.
18551         * math/w_scalbl.c (__scalbl): Likewise.
18552         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
18553         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
18554         with isinf.
18555         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
18556         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
18557         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
18558         __isinf_nsf with isinf.
18559         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
18560         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
18561         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
18562         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
18563         with isinf.
18564         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
18565         __isinf_nsl with isinf.
18566         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
18567         with isinf.
18568         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
18569         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
18570         __isinf_nsl with isinf.
18571         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
18572         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
18573         with isinf.
18575 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18577         * resolv/base64.c (rcsid): Remove unused static.
18578         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
18579         static.  (tqpi1): Likewise.
18580         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
18581         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
18582         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
18583         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
18584         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
18585         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
18586         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
18587         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
18588         Likewise.
18590 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
18592         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
18593         <nptl/pthreadP.h>.
18594         (_longjmp_unwind): Use __libc_ptf_call.
18595         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
18597 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
18599         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
18600         * sysdeps/arm/__longjmp.S: Likewise.
18602 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18604         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
18605         Use __builtin_signbit.
18606         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
18607         Use __builtin_signbitf.
18608         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
18609         Use __builtin_signbitl.
18610         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18611         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
18613 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18615         [BZ #15367]
18616         [BZ #17441]
18618         * math/Makefile: Build test-snan.c with -fsignaling-nans.
18619         * math/math.h (fpclassify): Use __builtin_fpclassify when
18620         available.  (signbit): Use __builtin_signbit(f/l).
18621         (isfinite): Use__builtin_isfinite.  (isnormal): Use
18622         __builtin_isnormal.  (isnan): Use __builtin_isnan.
18623         (isinf): Use __builtin_isinf_sign.
18625 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18627         * benchtests/Makefile: Add bench-math-inlines, link with libm.
18628         * benchtests/bench-math-inlines.c: New benchmark.
18629         * benchtests/bench-util.h: New file.
18630         * benchtests/bench-util.c: New file.
18631         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
18633 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
18635         * elf/tst-dlmopen1.c: Define TEST_SO.
18636         (do_test): Use TEST_SO.
18638         * elf/dl-load.c: Include libc-internal.h.
18639         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
18641 2015-09-18  Vincent Bernat  <vincent@bernat.im>
18643         [BZ #17887]
18644         * time/strptime_l.c (__strptime_internal): Make %z accept
18645         [+-]HH:MM time zones.
18647 2015-09-18  Vincent Bernat  <vincent@bernat.im>
18649         [BZ #17886]
18650         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
18651         valid time zone.
18653 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
18655         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
18656         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
18657         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18658         (__ASSUME_FDATASYNC): Delete.
18660 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
18662         * conform/linknamespace.pl: Require weak undefined symbols to be
18663         in the standard namespace.
18664         (%strong_syms): Rename to %seen_syms.
18665         (%strong_seen): Rename to %seen_where.
18667 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
18669         [BZ #18970]
18670         * misc/error.c (error): Replace pthread_setcancelstate with
18671         __pthread_setcancelstate.
18672         (error_at_line): Likewise.
18673         * posix/wordexp.c (parse_comm): Likewise.
18674         * stdlib/fmtmsg.c (fmtmsg): Likewise.
18675         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
18676         (__pthread_setcancelstate): This.
18677         (pthread_setcancelstate): Add an alias.
18678         * nptl/nptl-init.c (pthread_functions): Replace
18679         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
18680         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
18681         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
18682         hidden_proto.
18683         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
18684         it with hidden_def.
18685         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
18686         (pthread_setcancelstate): Renamed to ...
18687         (__pthread_setcancelstate): This.
18688         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
18689         __libc_ptf_call with __pthread_setcancelstate.
18691 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
18692             Andreas Schwab  <schwab@suse.de>
18694         [BZ #17118]
18695         * math/s_ctan.c (__ctan): Determine sign of zero real part of
18696         result when imaginary part of argument is infinite using sine and
18697         cosine.
18698         * math/s_ctanf.c (__ctanf): Likewise.
18699         * math/s_ctanl.c (__ctanl): Likewise.
18700         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
18701         of result when real part of argument is infinite using sine and
18702         cosine.
18703         * math/s_ctanhf.c (__ctanhf): Likewise.
18704         * math/s_ctanhl.c (__ctanhl): Likewise.
18705         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
18706         (ctanh_test_data): Add more tests of ctanh.
18708 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
18710         [BZ #15384]
18711         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
18712         bit-mask as in subtraction.
18713         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
18714         Likewise.
18715         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
18716         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
18717         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
18719         [BZ #18951]
18720         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
18721         underflow exception for small results.
18722         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
18723         Likewise.
18724         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
18725         Likewise.
18726         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18727         Likewise.
18728         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18729         Likewise.
18730         * math/auto-libm-test-in: Add more tests of tgamma.
18731         * math/auto-libm-test-out: Regenerated.
18733 2015-09-17  Andreas Schwab  <schwab@suse.de>
18735         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
18737 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
18739         [BZ #18977]
18740         * math/bits/mathcalls.h
18741         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
18742         not declare.
18743         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
18744         Likewise.
18745         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
18746         Likewise.
18747         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
18748         Likewise.
18749         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
18750         Likewise.
18751         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
18752         Likewise.
18753         * conform/data/math.h-data
18754         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
18755         function.
18756         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
18757         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
18758         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
18759         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
18760         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
18761         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
18762         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
18763         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
18764         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
18765         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
18766         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
18768         [BZ #6803]
18769         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
18770         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
18771         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
18772         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
18773         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
18774         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
18775         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
18776         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
18777         [NO_LONG_DOUBLE] (scalbnl): Likewise.
18778         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
18779         Likewise.
18780         [NO_LONG_DOUBLE] (scalbnl): Likewise.
18781         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
18782         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
18783         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
18784         long_double_symbol calls.
18785         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
18786         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
18787         strong alias of __ldexpl.
18788         (scalbnl): Define using long_double_symbol.
18789         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
18790         Remove alias.
18791         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
18792         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
18793         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
18794         (scalbln_test_data): Add more errno expectations.
18796 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
18798         Cache the host port like we cache the task port.  This way we do not
18799         need to call the kernel just to get the port.  Furthermore, we no
18800         longer increase the reference count on every invocation of
18801         `mach_host_self'.
18803         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
18804         Protect declarations against the macro expansion.
18805         * mach/mach_init.c (__mach_host_self_): New variable.
18806         (mach_init): Initialize `__mach_host_self_'.
18807         * mach/mach_init.h (__mach_host_self_): New declaration.
18808         (__mach_host_self, mach_host_self): New macros.
18809         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
18810         Release reference.
18812 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
18814         [BZ #4404]
18815         * po/de.po: Update from Translation Project.
18817         [BZ #16415]
18818         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
18819         (__expm1l): Remove code to handle positive infinity and overflow.
18820         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
18821         variable.
18822         (__expm1l): Remove code to handle positive infinity and overflow.
18824 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
18825             Paul Pluzhnikov  <ppluzhnikov@google.com>
18827         [BZ #18872]
18828         * stdio-common/Makefile (tst-printf-bz18872): New test.
18829         (tst-printf-bz18872-mem.out): Likewise.
18830         * stdio-common/tst-printf-bz18872.sh: Generate new test.
18831         * stdio-common/vfprintf.c: Fix memory leaks.
18833 2015-09-16  Andreas Schwab  <schwab@suse.de>
18835         [BZ #17244]
18836         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
18837         Remove extra va_start/va_end calls.
18839         [BZ #17243]
18840         * posix/execl.c (execl): Add missing va_end.
18841         * posix/execle.c (execle): Likewise.
18842         * posix/execlp.c (execlp): Likewise.
18844 2015-09-15  Roland McGrath  <roland@hack.frob.com>
18846         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
18847         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
18849 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
18851         [BZ #18967]
18852         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
18853         undefine around includes of <bits/mathcalls.h>.
18854         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
18855         not declare function.
18856         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
18857         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
18858         (scalb): Likewise.
18859         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
18860         not define macro.
18861         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
18862         variable.
18863         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
18864         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
18865         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
18867         [BZ #18857]
18868         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
18869         return non-finite argument without doing ordered comparisons on
18870         it.
18872         [BZ #16296]
18873         * math/fenv.h (fegetround): Use __attribute_pure__.
18874         * include/fenv.h (__fegetround): Likewise.
18876         [BZ #18595]
18877         * math/s_ctan.c (__ctan): Force underflow exception for results
18878         whose real or imaginary part has small absolute value.
18879         * math/s_ctanf.c (__ctanf): Likewise.
18880         * math/s_ctanh.c (__ctanh): Likewise.
18881         * math/s_ctanhf.c (__ctanhf): Likewise.
18882         * math/s_ctanhl.c (__ctanhl): Likewise.
18883         * math/s_ctanl.c (__ctanl): Likewise.
18884         * math/auto-libm-test-in: Do not allow missing underflow for ctan
18885         and ctanh.  Add more tests of ctan and ctanh.
18887         [BZ #15918]
18888         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
18889         handling of cases where one argument is an infinity.
18891         [BZ #18875]
18892         [BZ #18966]
18893         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
18894         (MO): New macro.
18895         (__ieee754_exp10): For small results, force underflow exception
18896         and remove excess range and precision from return value.
18897         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
18898         (MO): New macro.
18899         (__ieee754_exp10f): For small results, force underflow exception
18900         and remove excess range and precision from return value.
18901         * math/auto-libm-test-in: Add more tests of exp10.
18902         * math/auto-libm-test-out: Regenerated.
18904 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
18906         [BZ #18875]
18907         [BZ #18961]
18908         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
18909         (MO): New macro.
18910         (__ieee754_exp): For small results, force underflow exception and
18911         remove excess range and precision from return value.
18912         (__exp_finite): Likewise.
18913         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
18914         (MO): New macro.
18915         (__ieee754_expf): For small results, force underflow exception and
18916         remove excess range and precision from return value.
18917         (__expf_finite): Likewise.
18918         * math/auto-libm-test-in: Add more tests of exp.
18919         * math/auto-libm-test-out: Regenerated.
18921         [BZ #16521]
18922         [BZ #18875]
18923         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
18924         small results.
18925         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
18926         (MO): New macro.
18927         (__ieee754_exp2): For small results, force underflow exception and
18928         remove excess range and precision from return value.
18929         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
18930         (MO): New macro.
18931         (__ieee754_exp2f): For small results, force underflow exception
18932         and remove excess range and precision from return value.
18933         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
18934         (MO): New macro.
18935         (__ieee754_exp2l): Force underflow exception for small results.
18936         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18937         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18938         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
18939         (MO): New macro.
18940         (__ieee754_exp2l): Force underflow exception for small results.
18941         * math/auto-libm-test-in: Add more tests or exp2.
18942         * math/auto-libm-test-out: Regenerated.
18944 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
18946         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
18948         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
18949         /dev/null.
18951 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18953         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18954         io fs process)): Drop spurious backslash.
18956 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18958         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
18959         Use sysinfo system call instead of parsing /proc/meminfo.
18960         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
18961         Likewise.
18963 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
18965         [BZ #16985]
18966         * programs/localedef.c (main): Display argv[remaining] when
18967         output_path is NULL.
18969 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
18971         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18972         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
18973         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
18974         tanh.
18975         * math/auto-libm-test-out: Regenerated.
18976         * sysdeps/i386/fpu/libm-test-ulps: Update.
18977         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18978         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18981 2015-09-11  Roland McGrath  <roland@hack.frob.com>
18983         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
18984         Use 'override' keyword to freeze the value here, preventing
18985         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
18987 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
18989         [BZ #14912]
18990         * sysdeps/aarch64/bits/atomic.h: Move to ...
18991         * sysdeps/aarch64/atomic-machine.h: ...here.
18992         (_AARCH64_BITS_ATOMIC_H): Rename macro to
18993         _AARCH64_ATOMIC_MACHINE_H.
18994         * sysdeps/alpha/bits/atomic.h: Move to ...
18995         * sysdeps/alpha/atomic-machine.h: ...here.
18996         * sysdeps/arm/bits/atomic.h: Move to ...
18997         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
18998         * bits/atomic.h: Move to ...
18999         * sysdeps/generic/atomic-machine.h: ...here.
19000         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
19001         * sysdeps/i386/bits/atomic.h: Move to ...
19002         * sysdeps/i386/atomic-machine.h: ...here.
19003         * sysdeps/ia64/bits/atomic.h: Move to ...
19004         * sysdeps/ia64/atomic-machine.h: ...here.
19005         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
19006         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
19007         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
19008         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
19009         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
19010         * sysdeps/microblaze/bits/atomic.h: Move to ...
19011         * sysdeps/microblaze/atomic-machine.h: ...here.
19012         * sysdeps/mips/bits/atomic.h: Move to ...
19013         * sysdeps/mips/atomic-machine.h: ...here.
19014         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
19015         * sysdeps/powerpc/bits/atomic.h: Move to ...
19016         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
19017         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
19018         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
19019         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
19020         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
19021         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
19022         <atomic-machine.h> instead of <bits/atomic.h>.
19023         * sysdeps/s390/bits/atomic.h: Move to ...
19024         * sysdeps/s390/atomic-machine.h: ...here.
19025         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
19026         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
19027         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
19028         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
19029         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
19030         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
19031         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
19032         * sysdeps/tile/bits/atomic.h: Move to ...
19033         * sysdeps/tile/atomic-machine.h: ...here.
19034         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
19035         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
19036         <sysdeps/tile/atomic-machine.h> instead of
19037         <sysdeps/tile/bits/atomic.h>.
19038         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
19039         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
19040         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
19041         <sysdeps/tile/atomic-machine.h> instead of
19042         <sysdeps/tile/bits/atomic.h>.
19043         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
19044         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
19045         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
19046         <sysdeps/arm/atomic-machine.h> instead of
19047         <sysdeps/arm/bits/atomic.h>.
19048         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
19049         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
19050         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
19051         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
19052         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
19053         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
19054         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
19055         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
19056         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
19057         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
19058         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
19059         * sysdeps/x86_64/bits/atomic.h: Move to ...
19060         * sysdeps/x86_64/atomic-machine.h: ...here.
19061         * include/atomic.h: Include <atomic-machine.h> instead of
19062         <bits/atomic.h>.
19064         * sysdeps/mips/mips32/libm-test-ulps: Update.
19065         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19067         [BZ #18952]
19068         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
19069         not convert non-integer negative arguments to int to determine the
19070         value of signgam.
19071         * math/auto-libm-test-in: Add more tests of lgamma.
19072         * math/auto-libm-test-out: Regenerated.
19074         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
19075         cosh, csqrt, erfc, expm1 and lgamma.
19076         * math/auto-libm-test-out: Regenerated.
19077         * sysdeps/i386/fpu/libm-test-ulps: Update.
19078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19080 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
19082         [BZ #2542]
19083         [BZ #2543]
19084         [BZ #2558]
19085         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
19086         __lgamma_neg for arguments from -28.0 to -2.0.
19087         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
19088         __lgamma_negf for arguments from -15.0 to -2.0.
19089         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19090         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
19091         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
19092         Call __lgamma_negl for arguments from -33.0 to -2.0.
19093         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
19094         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
19095         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
19096         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
19097         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
19098         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
19099         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
19100         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
19101         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
19102         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
19103         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
19104         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
19105         (__lgamma_neg): Likewise.
19106         (__lgamma_negl): Likewise.
19107         (__lgamma_product): Likewise.
19108         (__lgamma_productl): Likewise.
19109         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
19110         * math/auto-libm-test-in: Add more tests of lgamma.
19111         * math/auto-libm-test-out: Regenerated.
19112         * sysdeps/i386/fpu/libm-test-ulps: Update.
19113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19115 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
19117         [BZ #18675]
19118         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
19120 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
19122         [BZ #14912]
19123         * bits/libc-lock.h: Move to ...
19124         * sysdeps/generic/libc-lock.h: ...here.
19125         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
19126         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
19127         * sysdeps/mach/hurd/libc-lock.h: ...here.
19128         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
19129         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
19130         * sysdeps/mach/bits/libc-lock.h: Move to ...
19131         * sysdeps/mach/libc-lock.h: ...here.
19132         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
19133         * sysdeps/nptl/bits/libc-lock.h: Move to ...
19134         * sysdeps/nptl/libc-lock.h: ...here.
19135         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
19136         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
19137         * sysdeps/nptl/libc-lockP.h: ...here.
19138         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
19139         * crypt/crypt_util.c: Include <libc-lock.h> instead of
19140         <bits/libc-lock.h>.
19141         * dirent/scandir-tail.c: Likewise.
19142         * dlfcn/dlerror.c: Likewise.
19143         * elf/dl-close.c: Likewise.
19144         * elf/dl-iteratephdr.c: Likewise.
19145         * elf/dl-lookup.c: Likewise.
19146         * elf/dl-open.c: Likewise.
19147         * elf/dl-support.c: Likewise.
19148         * elf/dl-writev.h: Likewise.
19149         * elf/rtld.c: Likewise.
19150         * grp/fgetgrent.c: Likewise.
19151         * gshadow/fgetsgent.c: Likewise.
19152         * gshadow/sgetsgent.c: Likewise.
19153         * iconv/gconv_conf.c: Likewise.
19154         * iconv/gconv_db.c: Likewise.
19155         * iconv/gconv_dl.c: Likewise.
19156         * iconv/gconv_int.h: Likewise.
19157         * iconv/gconv_trans.c: Likewise.
19158         * include/link.h: Likewise.
19159         * inet/getnameinfo.c: Likewise.
19160         * inet/getnetgrent.c: Likewise.
19161         * inet/getnetgrent_r.c: Likewise.
19162         * intl/bindtextdom.c: Likewise.
19163         * intl/dcigettext.c: Likewise.
19164         * intl/finddomain.c: Likewise.
19165         * intl/gettextP.h: Likewise.
19166         * intl/loadmsgcat.c: Likewise.
19167         * intl/localealias.c: Likewise.
19168         * intl/textdomain.c: Likewise.
19169         * libidn/idn-stub.c: Likewise.
19170         * libio/libioP.h: Likewise.
19171         * locale/duplocale.c: Likewise.
19172         * locale/freelocale.c: Likewise.
19173         * locale/newlocale.c: Likewise.
19174         * locale/setlocale.c: Likewise.
19175         * login/getutent_r.c: Likewise.
19176         * login/getutid_r.c: Likewise.
19177         * login/getutline_r.c: Likewise.
19178         * login/utmp-private.h: Likewise.
19179         * login/utmpname.c: Likewise.
19180         * malloc/mtrace.c: Likewise.
19181         * misc/efgcvt.c: Likewise.
19182         * misc/error.c: Likewise.
19183         * misc/fstab.c: Likewise.
19184         * misc/getpass.c: Likewise.
19185         * misc/mntent.c: Likewise.
19186         * misc/syslog.c: Likewise.
19187         * nis/nis_call.c: Likewise.
19188         * nis/nis_callback.c: Likewise.
19189         * nis/nss-default.c: Likewise.
19190         * nis/nss_compat/compat-grp.c: Likewise.
19191         * nis/nss_compat/compat-initgroups.c: Likewise.
19192         * nis/nss_compat/compat-pwd.c: Likewise.
19193         * nis/nss_compat/compat-spwd.c: Likewise.
19194         * nis/nss_nis/nis-alias.c: Likewise.
19195         * nis/nss_nis/nis-ethers.c: Likewise.
19196         * nis/nss_nis/nis-grp.c: Likewise.
19197         * nis/nss_nis/nis-hosts.c: Likewise.
19198         * nis/nss_nis/nis-network.c: Likewise.
19199         * nis/nss_nis/nis-proto.c: Likewise.
19200         * nis/nss_nis/nis-pwd.c: Likewise.
19201         * nis/nss_nis/nis-rpc.c: Likewise.
19202         * nis/nss_nis/nis-service.c: Likewise.
19203         * nis/nss_nis/nis-spwd.c: Likewise.
19204         * nis/nss_nisplus/nisplus-alias.c: Likewise.
19205         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
19206         * nis/nss_nisplus/nisplus-grp.c: Likewise.
19207         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
19208         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
19209         * nis/nss_nisplus/nisplus-network.c: Likewise.
19210         * nis/nss_nisplus/nisplus-proto.c: Likewise.
19211         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
19212         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
19213         * nis/nss_nisplus/nisplus-service.c: Likewise.
19214         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
19215         * nis/ypclnt.c: Likewise.
19216         * nptl/libc_pthread_init.c: Likewise.
19217         * nss/getXXbyYY.c: Likewise.
19218         * nss/getXXent.c: Likewise.
19219         * nss/getXXent_r.c: Likewise.
19220         * nss/nss_db/db-XXX.c: Likewise.
19221         * nss/nss_db/db-netgrp.c: Likewise.
19222         * nss/nss_db/nss_db.h: Likewise.
19223         * nss/nss_files/files-XXX.c: Likewise.
19224         * nss/nss_files/files-alias.c: Likewise.
19225         * nss/nsswitch.c: Likewise.
19226         * posix/regex_internal.h: Likewise.
19227         * posix/wordexp.c: Likewise.
19228         * pwd/fgetpwent.c: Likewise.
19229         * resolv/res_hconf.c: Likewise.
19230         * resolv/res_libc.c: Likewise.
19231         * shadow/fgetspent.c: Likewise.
19232         * shadow/lckpwdf.c: Likewise.
19233         * shadow/sgetspent.c: Likewise.
19234         * socket/opensock.c: Likewise.
19235         * stdio-common/reg-modifier.c: Likewise.
19236         * stdio-common/reg-printf.c: Likewise.
19237         * stdio-common/reg-type.c: Likewise.
19238         * stdio-common/vfprintf.c: Likewise.
19239         * stdio-common/vfscanf.c: Likewise.
19240         * stdlib/abort.c: Likewise.
19241         * stdlib/cxa_atexit.c: Likewise.
19242         * stdlib/fmtmsg.c: Likewise.
19243         * stdlib/random.c: Likewise.
19244         * stdlib/setenv.c: Likewise.
19245         * string/strsignal.c: Likewise.
19246         * sunrpc/auth_none.c: Likewise.
19247         * sunrpc/bindrsvprt.c: Likewise.
19248         * sunrpc/create_xid.c: Likewise.
19249         * sunrpc/key_call.c: Likewise.
19250         * sunrpc/rpc_thread.c: Likewise.
19251         * sysdeps/arm/backtrace.c: Likewise.
19252         * sysdeps/generic/ldsodefs.h: Likewise.
19253         * sysdeps/generic/stdio-lock.h: Likewise.
19254         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
19255         * sysdeps/i386/backtrace.c: Likewise.
19256         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19257         * sysdeps/m68k/backtrace.c: Likewise.
19258         * sysdeps/mach/hurd/cthreads.c: Likewise.
19259         * sysdeps/mach/hurd/dirstream.h: Likewise.
19260         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
19261         * sysdeps/nptl/malloc-machine.h: Likewise.
19262         * sysdeps/nptl/stdio-lock.h: Likewise.
19263         * sysdeps/posix/dirstream.h: Likewise.
19264         * sysdeps/posix/getaddrinfo.c: Likewise.
19265         * sysdeps/posix/system.c: Likewise.
19266         * sysdeps/pthread/aio_suspend.c: Likewise.
19267         * sysdeps/s390/s390-32/backtrace.c: Likewise.
19268         * sysdeps/s390/s390-64/backtrace.c: Likewise.
19269         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19270         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
19271         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
19272         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
19273         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
19274         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
19275         * sysdeps/unix/sysv/linux/system.c: Likewise.
19276         * sysdeps/x86_64/backtrace.c: Likewise.
19277         * time/alt_digit.c: Likewise.
19278         * time/era.c: Likewise.
19279         * time/tzset.c: Likewise.
19280         * wcsmbs/wcsmbsload.c: Likewise.
19281         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
19282         instead of <bits/libc-lock.h> in comment.
19284 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
19286         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
19287         Only use .set mips2 if the current ISA is below mips2.
19288         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
19289         Likewise.
19290         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
19291         mips32r2 if the current ISA is below mips32r2.
19292         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
19293         (TLS_IE): Updated to use the TLD_RDHWR macro.
19294         (TLS_LE): Likewise.
19295         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
19296         __ASSEMBLER__ condition.
19298 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19300         Fix parallel build of before-compile targets.
19302         * sysdeps/mach/Makefile ($(patsubst
19303         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
19304         mach-before-compile target.
19305         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
19306         io fs process)): Move rule to dedicated hurd-before-compile target.
19308 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19310         Fix rules generating headers in hurd/ and mach/ when initial make call
19311         has subdir= explicitly set.
19313         * sysdeps/mach/Makefile ($(patsubst
19314         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
19315         calling $(MAKE).
19316         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
19317         io fs process)): Force subdir to hurd when calling $(MAKE).
19318         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
19319         subdir to mach when calling $(MAKE).
19321 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
19323         Check sysheaders when looking for Mach and Hurd headers
19325         * sysdeps/mach/configure.ac: Add sysheaders check.
19326         * sysdeps/mach/configure: Regenerate.
19327         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
19328         * sysdeps/mach/hurd/configure: Regenerate.
19330 2015-09-04  Roland McGrath  <roland@hack.frob.com>
19332         [BZ #18921]
19333         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
19334         Fix inverted sense of test of 'o_directory_works' value.
19335         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
19336         Bernhard Voelker <mail@bernhard-voelker.de>.
19338 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
19340         [BZ #14912]
19341         * bits/linkmap.h: Move to ...
19342         * sysdeps/generic/linkmap.h: ...here.
19343         * sysdeps/aarch64/bits/linkmap.h: Move to ...
19344         * sysdeps/aarch64/linkmap.h: ...here.
19345         * sysdeps/arm/bits/linkmap.h: Move to ...
19346         * sysdeps/arm/linkmap.h: ...here.
19347         * sysdeps/hppa/bits/linkmap.h: Move to ...
19348         * sysdeps/hppa/linkmap.h: ...here.
19349         * sysdeps/ia64/bits/linkmap.h: Move to ...
19350         * sysdeps/ia64/linkmap.h: ...here.
19351         * sysdeps/mips/bits/linkmap.h: Move to ...
19352         * sysdeps/mips/linkmap.h: ...here.
19353         * sysdeps/s390/bits/linkmap.h: Move to ...
19354         * sysdeps/s390/linkmap.h: ...here.
19355         * sysdeps/sh/bits/linkmap.h: Move to ...
19356         * sysdeps/sh/linkmap.h: ...here.
19357         * sysdeps/x86/bits/linkmap.h: Move to ...
19358         * sysdeps/x86/linkmap.h: ...here.
19359         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
19361 2015-09-04  Andreas Schwab  <schwab@suse.de>
19363         [BZ #18635]
19364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
19365         (__makecontext): Terminate FDE before return label.
19366         (__novec_makecontext): Likewise.
19368 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19370         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
19371         first member of struct sv in syscall macro.
19373 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
19375         [BZ #14912]
19376         * bits/stdio-lock.h: Move to ...
19377         * sysdeps/generic/stdio-lock.h: ...here.
19378         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
19379         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
19380         * sysdeps/nptl/stdio-lock.h: ...here.
19381         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
19382         * include/libio.h: Include <stdio-lock.h> instead of
19383         <bits/stdio-lock.h>.
19384         * sysdeps/nptl/fork.c: Likewise.
19385         * sysdeps/pthread/flockfile.c: Likewise.
19386         * sysdeps/pthread/ftrylockfile.c: Likewise.
19387         * sysdeps/pthread/funlockfile.c: Likewise.
19389         [BZ #14912]
19390         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
19391         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
19392         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
19393         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
19394         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
19395         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
19396         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
19398 2015-09-03  Roland McGrath  <roland@hack.frob.com>
19400         * elf/Makefile (test-xfail-tst-protected1a): New variable.
19401         (test-xfail-tst-protected1b): New variable.
19403 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
19405         [BZ #14912]
19406         * bits/libc-tsd.h: Move to ...
19407         * sysdeps/generic/libc-tsd.h: ...here.
19408         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
19409         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
19410         * sysdeps/mach/hurd/libc-tsd.h: ...here.
19411         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
19412         * include/ctype.h: Include <libc-tsd.h> instead of
19413         <bits/libc-tsd.h>.
19414         * include/rpc/rpc.h: Likewise.
19415         * locale/localeinfo.h: Likewise.
19416         * sunrpc/rpc_thread.c: Likewise.
19417         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
19418         * sysdeps/nptl/malloc-machine.h: Likewise.
19420         * Makefile (headers): Remove bits/libc-lock.h.
19421         * libio/Makefile (headers): Remove bits/stdio-lock.h.
19423         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
19424         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
19425         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
19426         <bits/stdio-lock.h>.
19427         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
19428         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
19430 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
19432         [BZ #18757]
19433         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
19434         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
19435         BZ #18757.
19437 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
19439         * malloc/mtrace.pl: Filter out NULL entries.
19441 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
19443         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
19444         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
19445         macro.
19447         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
19448         (TCP_CC_INFO): Likewise.
19449         (TCP_SAVE_SYN): Likewise.
19450         (TCP_SAVED_SYN): Likewise.
19452 2015-08-31  Brett Neumeier <brett@neumeier.us>
19454         [BZ #18870]
19455         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
19457 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
19459         [BZ #18873]
19460         Fix broken overflow check in posix_fallocate
19461         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
19462         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
19463         Fix parenthesization typo.
19465 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
19467         [BZ #18887]
19468         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
19469         tst-mntent-blank-passno.
19470         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
19471         * misc/tst-mntent-blank-corrupt.c: New test.
19472         * misc/tst-mntent-blank-passno.c: New test ripped from ...
19473         * misc/tst-mntent.c (do_test): ... here.
19475 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
19477         [BZ #4404]
19478         * po/de.po: Fix SIGALRM typo.
19480 2015-08-28  James Perkins  <james@loowit.net>
19482         * time/tst-strptime2.c (tests): Replace short list of test
19483         strings for strptime %z specifier with code which exhaustively
19484         tests every combination of sign and 0 to 5 digits. Tests for
19485         rejection of invalid strings.
19487 2015-08-28  James Perkins  <james@loowit.net>
19489         [BZ #16141]
19490         * time/strptime_l.c (__strptime_internal): Fix %z minutes
19491         calculation, removing incorrect decimal time rounding, so that
19492         all minute values result in a valid seconds value.
19493         * time/strptime_l.c (__strptime_internal): Extend %z time zone
19494         offset range limits to UTC-99:59 through UTC+99:59 to parse
19495         current and historical use cases.
19496         * time/tst-strptime2.c (tests): Modify and add tests for the
19497         strptime %z input field descriptor, specifically conversion of
19498         minutes to seconds and validating an offset range of -9959 to
19499         +9959.
19501 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19502             Dmitry V. Levin  <ldv@altlinux.org>
19504         [BZ #18877]
19505         * posix/Makefile (tests): Add tst-mmap-offset.
19506         * posix/tst-mmap.c: New file.
19507         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
19508         offset calculation for negative values.
19510 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19512         * sysdeps/i386/init-arch.h: New file.
19513         * sysdeps/i386/i586/init-arch.h: Likewise.
19514         * sysdeps/i386/i686/init-arch.h: Likewise.
19515         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
19516         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
19517         * sysdeps/x86/cpu-features.h (bit_I586): New.
19518         (bit_I686): Likewise.
19519         (bit_CX8): Likewise.
19520         (bit_CMOV): Likewise.
19521         (index_CX8): Likewise.
19522         (index_CMOV): Likewise.
19523         (index_I586): Likewise.
19524         (index_I686): Likewise.
19525         (reg_CX8): Likewise.
19526         (reg_CMOV): Likewise.
19527         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
19528         available at compile-time.
19529         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
19530         available at compile-time.
19531         * sysdeps/x86/init-arch.h (USE_I586): New macro.
19532         (USE_I686): Likewise.
19534 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19536         * sysdeps/i386/bcopy.S: New file.
19537         * sysdeps/i386/bzero.S: Likewise.
19538         * sysdeps/i386/memcpy.S: Likewise.
19539         * sysdeps/i386/memmove.S: Likewise.
19540         * sysdeps/i386/mempcpy.S: Likewise.
19541         * sysdeps/i386/memset.S: Likewise.
19542         * sysdeps/i386/bzero.c: Removed.
19543         * sysdeps/i386/memset.c: Likewise.
19544         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
19545         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
19546         * sysdeps/i386/i586/memset_chk.S: Likewise.
19547         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
19548         * sysdeps/i386/memcpy_chk.S: Here.
19549         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
19550         * sysdeps/i386/memmove_chk.S: Here.
19551         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
19552         * sysdeps/i386/mempcpy_chk.S: Likewise.
19553         * sysdeps/i386/i686/memset_chk.S: Moved to ...
19554         * sysdeps/i386/memset_chk.S: Likewise.
19556 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
19558         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
19559         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
19560         file, move DIAG_POP_NEEDS_COMMENT to end of file.
19561         * soft-fp/fmadf4.c: Ditto.
19562         * soft-fp/fmatf4.c: Ditto.
19564 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19566         * sysdeps/i386/i586/Implies: Removed.
19567         * sysdeps/i386/i686/Implies: Likewise.
19569 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19571         * sysdeps/i386/i486/strlen.S: Moved to ...
19572         * sysdeps/i386/strlen.S: Here.
19574 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19576         * sysdeps/i386/i486/strcat.S: Moved to ...
19577         * sysdeps/i386/strcat.S: Here.
19579 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19581         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
19582         * sysdeps/i386/pthread_spin_trylock.S: Here.
19583         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
19584         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
19586 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19588         * sysdeps/i386/i486/string-inlines.c: Moved to ...
19589         * sysdeps/i386/string-inlines.c: Here.
19591 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19593         * sysdeps/i386/i486/htonl.S: Moved ...
19594         * sysdeps/i386/htonl.S: here.
19596 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19598         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
19599         * sysdeps/i386/bits/atomic.h: Here.
19601 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19603         * sysdeps/i386/i486/Versions: Removed.
19605 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19607         [BZ #2898]
19608         * misc/mktemp.c: Add mkdtemp to the link_warning message.
19609         Based on patch by Aurelien Jarno.
19611 2015-08-26  Stan Shebs  <stanshebs@google.com>
19613         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
19614         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
19616 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19618         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
19619         * sysdeps/powerpc/dl-procinfo.c:
19620         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
19621         feature so it shows when LD_SHOW_AUXV=1.
19623 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19625         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
19626         (__arch_compare_and_exchange_val_32_acq): Remove and use common
19627         definition.  ISA 2.07B no longer requires full sync.
19629 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
19631         [BZ #18863]
19632         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
19633         (si_call_addr): Define.
19634         (si_syscall): Define.
19635         (si_arch): Define.
19637 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
19639         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
19640         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
19641         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
19642         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
19643         (__memset_zero_constant_len_parameter): New.
19644         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
19645         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
19646         (__memset_zero_constant_len_parameter): Don't define if
19647         __memset_chk or USE_AS_BZERO are defined.
19649         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
19650         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
19651         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
19653         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
19654         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
19655         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
19656         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
19657         comments.
19658         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
19659         -mno-mmx for $(all-rtld-routines).
19660         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
19661         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
19662         i386.
19664 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19666         * sysdeps/generic/unwind.h
19667         (_Unwind_Word): Use __mode__(__unwind_word__)
19668         instead of __mode__(__word__).
19669         (_Unwind_Sword): Likewise.
19671         * sysdeps/s390/s390-64/utf8-utf16-z9.c
19672         (MAX_NEEDED_INPUT): New define.
19673         (MAX_NEEDED_OUTPUT): New define.
19675         * NEWS: New item for IBM z13 string optimizations.
19677         * sysdeps/s390/multiarch/memrchr-c.c: New File.
19678         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
19679         * sysdeps/s390/multiarch/memrchr.c: Likewise.
19680         * sysdeps/s390/multiarch/Makefile
19681         (sysdep_routines): Add memrchr functions.
19682         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19683         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
19685         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
19686         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
19687         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
19688         * sysdeps/s390/multiarch/Makefile
19689         (sysdep_routines): Add wmemcmp functions.
19690         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19691         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
19692         * benchtests/bench-wmemcmp.c: New File.
19693         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
19695         * sysdeps/s390/multiarch/wmemset-c.c: New File.
19696         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
19697         * sysdeps/s390/multiarch/wmemset.c: Likewise.
19698         * sysdeps/s390/multiarch/Makefile
19699         (sysdep_routines): Add wmemset functions.
19700         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19701         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
19702         * wcsmbs/wmemset.c: Use WMEMSET if defined.
19703         * string/test-memset.c: Add wmemset support.
19704         * wcsmbs/test-wmemset.c: New File.
19705         * wcsmbs/Makefile (strop-tests): Add wmemset.
19706         * benchtests/bench-memset.c: Add wmemset support.
19707         * benchtests/bench-wmemset.c: New File.
19708         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
19710         * sysdeps/s390/multiarch/memccpy-c.c: New File.
19711         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
19712         * sysdeps/s390/multiarch/memccpy.c: Likewise.
19713         * sysdeps/s390/multiarch/Makefile
19714         (sysdep_routines): Add memccpy functions.
19715         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19716         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
19717         * string/memccpy.c: Use MEMCCPY if defined.
19719         * sysdeps/s390/multiarch/memchr-vx.S: New File.
19720         * sysdeps/s390/multiarch/memchr.c: Likewise.
19721         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
19722         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
19723         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
19724         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
19725         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
19726         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
19727         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
19728         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
19729         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
19730         and rawmemchr functions.
19731         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19732         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
19733         and wmemchr.
19734         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
19735         * string/test-memchr.c: Add wmemchr support.
19736         * wcsmbs/test-wmemchr.c: New File.
19737         * wcsmbs/Makefile (strop-tests): Add wmemchr.
19738         * benchtests/bench-memchr.c: Add wmemchr support.
19739         * benchtests/bench-wmemchr.c: New File.
19740         * benchtests/Makefile (wcsmbs-bench): wmemchr.
19742         * sysdeps/s390/multiarch/strcspn-c.c: New File.
19743         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
19744         * sysdeps/s390/multiarch/strcspn.c: Likewise.
19745         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
19746         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
19747         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
19748         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
19749         wcscspn functions.
19750         * sysdeps/s390/multiarch/ifunc-impl-list.c
19751         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
19752         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
19753         * string/test-strcspn.c: Add wcscspn support.
19754         * wcsmbs/test-wcscspn.c: New File.
19755         * wcsmbs/Makefile (strop-tests): Add wcscspn.
19756         * benchtests/bench-strcspn.c: Add wcscspn support.
19757         * benchtests/bench-wcscspn.c: New File.
19758         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
19760         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
19761         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
19762         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
19763         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
19764         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
19765         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
19766         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
19767         wcspbrk functions.
19768         * sysdeps/s390/multiarch/ifunc-impl-list.c
19769         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
19770         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
19771         * string/test-strpbrk.c: Add wcspbrk support.
19772         * wcsmbs/test-wcspbrk.c: New File.
19773         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
19774         * benchtests/bench-strpbrk.c: Add wcspbrk support.
19775         * benchtests/bench-wcspbrk.c: New File.
19776         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
19778         * sysdeps/s390/multiarch/strspn-c.c: New File.
19779         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
19780         * sysdeps/s390/multiarch/strspn.c: Likewise.
19781         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
19782         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
19783         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
19784         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
19785         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
19786         wcsspn functions.
19787         * sysdeps/s390/multiarch/ifunc-impl-list.c
19788         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
19789         * string/test-strspn.c: Add wcsspn support.
19790         * wcsmbs/test-wcsspn.c: New File.
19791         * wcsmbs/Makefile (strop-tests): Add wcsspn.
19792         * benchtests/bench-strspn.c: Add wcsspn support.
19793         * benchtests/bench-wcsspn.c: New File.
19794         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
19796         * sysdeps/s390/multiarch/strrchr-c.c: New File.
19797         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
19798         * sysdeps/s390/multiarch/strrchr.c: Likewise.
19799         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
19800         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
19801         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
19802         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
19803         wcsrchr functions.
19804         * sysdeps/s390/multiarch/ifunc-impl-list.c
19805         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
19806         * benchtests/bench-wcsrchr.c: New File.
19807         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
19809         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
19810         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
19811         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
19812         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
19813         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
19814         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
19815         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
19816         wcschrnul functions.
19817         * sysdeps/s390/multiarch/ifunc-impl-list.c
19818         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
19819         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
19820         * string/test-strchr.c: Add wcschrnul support.
19821         * wcsmbs/test-wcschrnul.c: New File.
19822         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
19823         * benchtests/bench-strchr.c: Add wcschrnul support.
19824         * benchtests/bench-wcschrnul.c: New File.
19825         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
19827         * sysdeps/s390/multiarch/strchr-c.c: New File.
19828         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
19829         * sysdeps/s390/multiarch/strchr.c: Likewise.
19830         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
19831         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
19832         * sysdeps/s390/multiarch/wcschr.c: Likewise.
19833         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
19834         wcschr functions.
19835         * sysdeps/s390/multiarch/ifunc-impl-list.c
19836         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
19837         * string/strchr.c (STRCHR): Define and use macro.
19838         * benchtests/bench-wcschr.c: New File.
19839         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
19841         * sysdeps/s390/multiarch/strncmp-c.c: New File.
19842         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
19843         * sysdeps/s390/multiarch/strncmp.c: Likewise.
19844         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
19845         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
19846         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
19847         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
19848         wcsncmp functions.
19849         * sysdeps/s390/multiarch/ifunc-impl-list.c
19850         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
19851         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
19852         * benchtests/bench-strncmp.c: Add wcsncmp support.
19853         * benchtests/bench-wcsncmp.c: New File.
19854         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
19856         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
19857         * sysdeps/s390/multiarch/strcmp.c: Likewise.
19858         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
19859         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
19860         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
19861         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
19862         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
19863         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
19864         wcscmp functions.
19865         * sysdeps/s390/multiarch/ifunc-impl-list.c
19866         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
19867         * string/strcmp.c (STRCMP): Define and use macro.
19868         * benchtests/bench-wcscmp.c: New File.
19869         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
19870         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
19871         instead of _HAVE_STRING_ARCH_memchr.
19873         * sysdeps/s390/multiarch/strncat-c.c: New File.
19874         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
19875         * sysdeps/s390/multiarch/strncat.c: Likewise.
19876         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
19877         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
19878         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
19879         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
19880         wcsncat functions.
19881         * sysdeps/s390/multiarch/ifunc-impl-list.c
19882         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
19883         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
19884         * string/test-strncat.c: Add wcsncat support.
19885         * wcsmbs/test-wcsncat.c: New File.
19886         * wcsmbs/Makefile (strop-tests): Add wcsncat.
19887         * benchtests/bench-strncat.c: Add wcsncat support.
19888         * benchtests/bench-wcsncat.c: New File.
19889         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
19891         * sysdeps/s390/multiarch/strcat-c.c: New File.
19892         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
19893         * sysdeps/s390/multiarch/strcat.c: Likewise.
19894         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
19895         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
19896         * sysdeps/s390/multiarch/wcscat.c: Likewise.
19897         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
19898         wcscat functions.
19899         * sysdeps/s390/multiarch/ifunc-impl-list.c
19900         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
19901         * string/strcat.c (STRCAT): Define and use macro.
19902         * wcsmbs/wcscat.c: Use WCSCAT if defined.
19903         * string/test-strcat.c: Add wcscat support.
19904         * wcsmbs/test-wcscat.c: New File.
19905         * wcsmbs/Makefile (strop-tests): Add wcscat.
19906         * benchtests/bench-strcat.c: Add wcscat support.
19907         * benchtests/bench-wcscat.c: New File.
19908         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
19910         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
19911         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
19912         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
19913         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
19914         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
19915         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
19916         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
19917         wcpncpy functions.
19918         * sysdeps/s390/multiarch/ifunc-impl-list.c
19919         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
19920         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
19921         * string/test-stpncpy.c: Add wcpncpy support.
19922         * wcsmbs/test-wcpncpy.c: New File.
19923         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
19924         * benchtests/bench-stpncpy.c: Add wcpncpy support.
19925         * benchtests/bench-wcpncpy.c: New File.
19926         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
19928         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
19929         * sysdeps/s390/multiarch/strncpy.c: Likewise.
19930         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
19931         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
19932         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
19933         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
19934         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
19935         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
19936         wcsncpy functions.
19937         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
19938         * sysdeps/s390/multiarch/ifunc-impl-list.c
19939         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
19940         * string/test-strncpy.c: Add wcsncpy support.
19941         * wcsmbs/test-wcsncpy.c: New File.
19942         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
19943         * benchtests/bench-strncpy.c: Add wcsncpy support.
19944         * benchtests/bench-wcsncpy.c: New File.
19945         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
19947         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
19948         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
19949         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
19950         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
19951         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
19952         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
19953         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
19954         wcpcpy functions.
19955         * string/stpcpy.c: Use STPCPY if defined.
19956         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
19957         * sysdeps/s390/multiarch/ifunc-impl-list.c
19958         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
19959         * string/test-stpcpy.c: Add wcpcpy support.
19960         * wcsmbs/test-wcpcpy.c: New File.
19961         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
19962         * benchtests/bench-stpcpy.c: Add wcpcpy support.
19963         * benchtests/bench-wcpcpy.c: New File.
19964         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
19966         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
19967         * sysdeps/s390/multiarch/strcpy.c: Likewise.
19968         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
19969         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
19970         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
19971         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
19972         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
19973         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
19974         wcscpy functions.
19975         * sysdeps/s390/multiarch/ifunc-impl-list.c
19976         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
19977         * benchtests/bench-wcscpy.c: New File.
19978         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
19980         * sysdeps/s390/multiarch/strnlen-c.c: New File.
19981         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
19982         * sysdeps/s390/multiarch/strnlen.c: Likewise.
19983         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
19984         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
19985         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
19986         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
19987         wcsnlen functions.
19988         * sysdeps/s390/multiarch/ifunc-impl-list.c
19989         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
19990         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
19991         * string/test-strnlen.c: Add wcsnlen support.
19992         * wcsmbs/test-wcsnlen.c: New File.
19993         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
19994         * benchtests/bench-strnlen.c: Add wcsnlen support.
19995         * benchtests/bench-wcsnlen.c: New File.
19996         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
19998         * sysdeps/s390/multiarch/Makefile: New File.
19999         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
20000         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
20001         * sysdeps/s390/multiarch/strlen.c: Likewise.
20002         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
20003         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
20004         * sysdeps/s390/multiarch/wcslen.c: Likewise.
20005         * string/strlen.c (STRLEN): Define and use macro.
20006         * sysdeps/s390/multiarch/ifunc-impl-list.c
20007         (IFUNC_VX_IMPL): New macro function.
20008         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
20009         * benchtests/Makefile (wcsmbs-bench): New variable.
20010         (string-bench-all): Added wcsmbs-bench.
20011         * benchtests/bench-wcslen.c: New File.
20013         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
20014         s390_vx_libc_ifunc2): New macro function.
20016         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
20017         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
20018         assembler support.
20019         * sysdeps/s390/configure: Regenerated.
20021         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
20022         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
20024         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
20025         * sysdeps/s390/dl-procinfo.h: Add vector capability.
20026         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
20028         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
20029         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
20030         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
20031         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
20032         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
20033         (memcmp, bcmp): Use __memcmp_default as alias source.
20034         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
20035         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
20036         Rename to __memcmp_default.
20037         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
20038         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
20039         (memcpy): Use __memcpy_default as alias source.
20040         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
20041         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
20042         Rename to __memcpy_default.
20043         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
20044         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
20045         (memset): Use __memset_default as alias source.
20046         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
20047         * sysdeps/s390/s390-32/memset.S (__memset_g5):
20048         Rename to __memset_default.
20049         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
20050         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
20051         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
20052         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
20053         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
20054         (memcmp, bcmp): Use __memcmp_default as alias source.
20055         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
20056         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
20057         Rename to __memcmp_default.
20058         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
20059         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
20060         (memcpy): Use __memcpy_default as alias source.
20061         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
20062         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
20063         Rename to __memcpy_default.
20064         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
20065         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
20066         (memset): Use __memset_default as alias source.
20067         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
20068         * sysdeps/s390/s390-64/memset.S (__memset_z900):
20069         Rename to __memset_default.
20070         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
20071         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
20073         [BZ #18610]
20074         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
20075         __ieee_instruction_pointer to __unused.
20076         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
20077         __ieee_instruction_pointer.
20078         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
20079         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
20080         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
20081         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
20082         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
20083         Mark dxc-field as reserved.
20085 2015-08-25  Roland McGrath  <roland@hack.frob.com>
20087         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
20088         if the weak reference is not null.
20090 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
20092         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
20094         [BZ #11214]
20095         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
20097 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20099         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
20100         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
20101         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
20102         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
20103         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
20104         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
20105         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
20106         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
20107         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
20108         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
20109         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
20110         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
20111         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
20112         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
20113         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
20114         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
20115         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
20116         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
20118 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20120         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
20121         register other than r0 for tabort, it has special meaning.
20122         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
20123         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
20124         transaction before starting syscall.
20126 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20128         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
20130 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
20132         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
20134         * sysdeps/x86_64/rtld-memcmp.c: Removed.
20135         * sysdeps/x86_64/rtld-memset.S: Likewise.
20136         * sysdeps/x86_64/rtld-strchr.S: Likewise.
20137         * sysdeps/x86_64/rtld-strlen.S: Likewise.
20138         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
20139         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
20141         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
20143 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
20145         * debug/strcpy_chk.c: Improve performance.
20146         * debug/stpcpy_chk.c: Likewise.
20147         * sysdeps/x86_64/strcpy_chk.S: Remove.
20148         * sysdeps/x86_64/stpcpy_chk.S: Remove.
20150         [BZ #18240]
20151         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
20153 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
20155         [BZ #15128]
20156         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
20157         ifuncmain8.
20158         (modules-names): Add ifuncmod8.
20159         ($(objpfx)ifuncmain8): New rule.
20160         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
20161         <cpuid.h>.
20162         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
20163         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
20164         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
20165         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
20166         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
20167         * sysdeps/x86_64/dl-trampoline.h: Likewise.
20168         * sysdeps/x86_64/ifuncmain8.c: New file.
20169         * sysdeps/x86_64/ifuncmod8.c: Likewise.
20170         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
20171         Removed.
20172         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
20173         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
20174         Change rtld_savespace_sse to __glibc_unused2.
20175         (RTLD_CHECK_FOREIGN_CALL): Removed.
20176         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
20177         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
20178         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
20180 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
20182         * sysdeps/aarch64/bzero.S (__bzero): Remove.
20184 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
20186         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
20187         Unconditionally set __fpcr to avoid uninialized warning.
20188         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
20190 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20192         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
20193         is corrupt.
20195         * malloc/arena.c (arena_get2): Drop unused argument.
20196         (arena_lock): Adjust.
20197         (arena_get_retry): Likewise.
20199 2015-08-24  Andreas Schwab  <schwab@suse.de>
20201         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
20202         Don't define.
20203         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20204         (__ASSUME_IPC64): Don't undef.
20205         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
20206         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20207         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20208         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
20209         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
20210         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
20211         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
20212         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
20213         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
20214         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
20215         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
20216         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
20217         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
20218         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
20219         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
20220         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
20221         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
20222         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
20223         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
20224         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
20225         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
20227 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
20229         * manual/Makefile (install): Only build manual when perl is available.
20231 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20233         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
20234         '#undef memcpy' by '#undef memchr'.
20236 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20238         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
20239         memchr not point to the internal __GI_memchr implementation.
20241 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
20243         * timezone/Makefile (CFLAGS-zdump.c): Remove
20244         -Wno-strict-prototypes.
20245         (CFLAGS-zic.c): Likewise.
20246         (CFLAGS-ialloc.c): Likewise.
20247         (CFLAGS-scheck.c): Likewise.
20249         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
20250         -Wno-error=undef.
20252 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
20254         * i386/i686/multiarch/strcasestr-c.c: Removed.
20255         * x86_64/multiarch/strcasestr.c: Likewise.
20256         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20257         Remove strcasestr.
20259 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
20261         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
20263         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
20264         variables for high and low parts before possibly modifying them.
20266 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
20268         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
20269         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
20270         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
20271         of "multiarch/init-arch.h".
20272         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
20273         * sysdeps/x86/init-arch.h: This.
20275 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
20277         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
20278         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
20280 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
20282         [BZ #17787]
20283         * manual/macros.texi: Add twoexp macro.
20284         * manual/filesys.texi: Fix exponents.
20285         * manual/llio.texi: Likewise.
20286         * manual/stdio.texi: Likewise.
20288 2015-08-20  Florian Weimer  <fweimer@redhat.com>
20290         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
20291         incorrect use.
20293 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
20295         [BZ #18370]
20296         * math/s_csqrt.c (__csqrt): Force underflow exception for results
20297         whose real or imaginary part has small absolute value.
20298         * math/s_csqrtf.c (__csqrtf): Likewise.
20299         * math/s_csqrtl.c (__csqrtl): Likewise.
20300         * math/auto-libm-test-in: Add more tests of csqrt.
20301         * math/auto-libm-test-out: Regenerated.
20302         * sysdeps/i386/fpu/libm-test-ulps: Update.
20304 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20306         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
20307         __ppc_set_ppr_very_low): New functions.
20308         * manual/platform.texi: Add documentation about
20309         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
20311 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
20313         * string/stpncpy.c (stpncpy): Improve performance using
20314         __strnlen/memcpy/memset.
20316 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
20318         [BZ #18796]
20319         * scripts/test-installation.pl: Don't add -lmvec to build options if
20320         libmvec wasn't built.
20322 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
20324         [BZ #14341]
20325         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
20326         case when there is a gap between DT_REL and DT_JMPREL sections.
20327         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
20328         (LDFLAGS-tst-split-dynreloc): New.
20329         (tst-split-dynreloc-ENV): Likewise.
20330         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
20331         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
20333 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
20335         [BZ #18822]
20336         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
20337         attribute_hidden.
20338         (__xstat64_conv): Likewise.
20339         (__xstat32_conv): Likewise.
20341 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
20343         [BZ #18822]
20344         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
20345         Don't load %ebx when calling __setcontext.  Call __setcontext
20346         with HIDDEN_JUMPTARGET.
20347         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
20348         libc_hidden_def.
20350 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
20352         * sysdeps/i386/i686/Makefile
20353         [$(subdir) == string] (sysdep_routines): Moved to ...
20354         * sysdeps/i386/Makefile: Here.
20355         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
20356         * sysdeps/i386/cacheinfo.c: Here.
20357         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
20358         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
20359         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
20360         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
20362 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
20364         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
20365         __i586__ is defined.
20366         (HAS_I686): Defined to 1 if __i686__ is defined.
20368 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
20370         * elf/Makefile [$(have-z-execstack) = yes]
20371         (CPPFLAGS-tst-execstack.c): New variable.
20373         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
20374         conditional to [defined UTMPX || _HAVE_UT_TYPE].
20375         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
20376         UTMPX || _HAVE_UT_TV].
20377         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
20378         UTMPX || _HAVE_UT_TV - 0].
20380 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
20382         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
20383         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
20384         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
20386 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20388         * sysdeps/powerpc/dl-procinfo.c:
20389         (_dl_powerpc_cap_flags): Added missing strings for some
20390         hwcap features.
20391         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
20393 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
20395         Port the 0x7efe...feff pattern to GCC 6.
20396         See Steve Ellcey's bug report in:
20397         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
20398         * string/memrchr.c (MEMRCHR):
20399         * string/rawmemchr.c (RAWMEMCHR):
20400         * string/strchr.c (strchr):
20401         * string/strchrnul.c (STRCHRNUL):
20402         Rewrite code to avoid issues with signed shift overflow.
20404 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
20406         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
20407         whether cpuid is available only if HAS_CPUID is 0.
20408         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
20409         (HAS_I586): Likewise.
20410         (HAS_I686): Likewise.
20412 2015-08-18  Zack Weinberg  <zackw@panix.com>
20414         * misc/Versions (libc): Add GLIBC_2.23.
20416 2015-08-18  Alan Modra  <amodra@gmail.com>
20418         [BZ #18421]
20419         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
20420         .Lp__global.
20421         (_start): Load %dp via .Lp__global.
20422         [!SHARED]: Use .section .rodata.
20424 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20426         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
20427         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
20429 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20431         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
20432         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
20434 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20436         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
20437         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
20439 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20441         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
20442         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
20444 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20446         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
20447         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
20449 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20451         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
20452         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
20454 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20456         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
20458 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20460         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
20461         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
20462         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20463         (__ASSUME_LWS_CAS): Delete.
20465 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20467         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
20468         * sysdeps/hppa/configure: Regenerated.
20469         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
20470         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
20471         * sysdeps/hppa/nptl/tls.h: Likewise.
20473 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
20475         [BZ #18823]
20476         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
20477         for scaling up small arguments.
20478         * math/s_csqrtf.c (__csqrtf): Likewise.
20479         * math/s_csqrtl.c (__csqrtl): Likewise.
20480         * math/auto-libm-test-in: Add more tests of csqrt.
20481         * math/auto-libm-test-out: Regenerated.
20483 2015-08-17  Andreas Schwab  <schwab@suse.de>
20485         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
20486         version set GLIBC_2.19.
20488 2015-08-16  Zack Weinberg  <zackw@panix.com>
20490         [BZ #18681]
20491         * misc/regexp.h: This interface is no longer supported.
20492         Remove all contents, leaving only an #error directive.
20493         * misc/regexp.c (loc1, loc2, locs, step, advance):
20494         Demote to compatibility symbols.
20496 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
20498         [BZ #18084]
20499         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
20500         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
20501         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
20502         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
20503         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
20504         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
20505         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
20506         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
20507         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
20509 2015-08-15  Zack Weinberg  <zackw@panix.com>
20511         [BZ #18795]
20512         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
20513         buffer length is known to be too large, not if it's known to be
20514         small enough.
20515         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
20516         overflow at runtime, involving a length parameter, twice: once
20517         with a compile-time constant length parameter, once without.
20519 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
20521         [BZ #18824]
20522         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
20523         scaling x * y up instead of down.
20524         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20525         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20526         * math/auto-libm-test-in: Add more tests of fma.
20527         * math/auto-libm-test-out: Regenerated.
20529 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
20531         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20533 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20535         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
20536         unnecessary movq.
20537         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
20538         Likewise.
20540 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
20542         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20543         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
20544         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
20545         and tgamma.
20546         * math/auto-libm-test-out: Regenerated.
20547         * sysdeps/i386/fpu/libm-test-ulps: Update.
20548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20550         [BZ #16520]
20551         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
20552         (__tanh): Force underflow exception for arguments with small
20553         absolute value.
20554         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
20555         (__tanhf): Force underflow exception for arguments with small
20556         absolute value.
20557         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
20558         (__tanhl): Force underflow exception for arguments with small
20559         absolute value.
20560         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
20561         (__tanhl): Force underflow exception for arguments with small
20562         absolute value.
20563         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
20564         (__tanhl): Force underflow exception for arguments with small
20565         absolute value.
20566         * math/auto-libm-test-in: Add more tests of tanh.
20567         * math/auto-libm-test-out: Regenerated.
20568         * sysdeps/i386/fpu/libm-test-ulps: Update.
20570 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20572         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
20573         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
20575 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20577         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
20578         <cpuid.h>.
20580 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20582         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
20583         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
20585 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20587         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
20588         Remove $(objpfx)init-arch.o.
20589         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
20590         init-arch.
20591         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
20592         (INIT_ARCH_EXT): Defined as empty.
20593         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
20594         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
20595         __init_cpu_features call.  Replace HAS_XXX with
20596         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20597         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
20598         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
20599         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
20600         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
20601         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
20602         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
20603         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
20604         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
20605         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
20606         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
20607         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
20608         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
20609         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
20610         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
20611         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
20612         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
20613         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
20614         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
20615         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
20616         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
20617         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
20618         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
20619         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
20620         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
20621         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
20622         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
20623         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
20624         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
20625         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
20626         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
20627         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
20628         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
20629         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
20630         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
20631         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
20633 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20635         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
20636         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20637         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
20638         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
20639         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
20640         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
20641         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
20642         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
20643         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
20644         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
20645         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
20646         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
20647         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20648         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20649         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20650         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20651         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20652         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20653         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20654         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20655         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20656         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20657         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20658         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20659         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20660         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20661         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20662         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20663         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20664         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20665         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20666         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20667         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20668         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20669         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20670         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20671         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20672         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20673         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20674         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20675         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20676         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20677         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20679 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20681         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
20682         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20683         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20684         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20685         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20686         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
20687         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20688         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
20689         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20690         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20691         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20692         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
20693         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
20694         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
20695         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
20696         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
20697         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
20698         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
20699         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
20700         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
20701         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
20702         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
20703         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
20704         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20705         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20706         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
20707         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
20708         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
20709         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20710         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20711         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20712         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20713         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20714         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20715         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20716         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20717         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20718         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20719         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20720         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20721         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20722         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20723         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20725 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20727         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
20728         (dl_platform_init): Call init_cpu_features.
20729         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
20730         * sysdeps/i386/i686/cacheinfo.c
20731         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
20732         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
20733         * sysdeps/i386/i686/multiarch/Versions: Removed.
20734         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
20735         Removed.
20736         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
20737         * sysdeps/unix/sysv/linux/x86/Makefile
20738         (libpthread-sysdep_routines): Remove init-arch.
20739         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
20740         <sysdeps/x86_64/dl-procinfo.c> instead of
20741         sysdeps/generic/dl-procinfo.c>.
20742         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
20743         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
20744         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
20745         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
20746         [$(subdir) == elf] (tests-static): Add
20747         tst-get-cpu-features-static.
20748         * sysdeps/x86/Versions: New file.
20749         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
20750         * sysdeps/x86/cpu-features.c: Likewise.
20751         * sysdeps/x86/cpu-features.h: Likewise.
20752         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
20753         * sysdeps/x86/libc-start.c: Likewise.
20754         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
20755         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
20756         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
20757         * sysdeps/x86_64/dl-procinfo.c: Likewise.
20758         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
20759         Assume USE_MULTIARCH is defined and don't check it.
20760         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
20761         (is_amd): Likewise.
20762         (max_cpuid): Likewise.
20763         (intel_check_word): Likewise.
20764         (__cache_sysconf): Don't call __init_cpu_features.
20765         (__x86_preferred_memory_instruction): Removed.
20766         (init_cacheinfo): Don't call __init_cpu_features. Replace
20767         __cpu_features with GLRO(dl_x86_cpu_features).
20768         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
20769         (dl_platform_init): Call init_cpu_features.
20770         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
20771         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
20772         * sysdeps/x86_64/multiarch/Versions: Removed.
20773         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
20774         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
20775         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
20776         Removed.
20777         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
20779 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20781         [BZ #18820]
20782         * libio/Makefile (test-fmemopen-mem): New test.
20783         * libio/test-fmemopen.c (do_bz18820): New test.
20784         * libio/fmemopen.c (__fmemopen): Fix memory leak.
20785         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
20787 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20789         [BZ #16734]
20790         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
20791         (FREE_BUF): Delete.
20792         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
20793         * libio/genops.c (_IO_setb): Use malloc and free directly.
20794         (_IO_default_doallocate, _IO_default_finish): Likewise.
20795         ( _IO_unbuffer_all): Likewise.
20796         ( libc_freeres_fn): Likewise.
20797         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
20798         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
20799         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
20800         (_IO_wdefault_doallocate): Likewise.
20802 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20804         [BZ #18086]
20805         * sysdeps/posix/nice.c (nice): Restore old errno.
20806         * posix/tst-nice.c (do_test): Add test for BZ #18086.
20808 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
20810         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
20812 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20814         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
20815         __bcopy and add a weak_alias to bcopy.
20816         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
20817         for static build.
20819         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
20820         cleanup macro usage.
20821         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
20822         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
20823         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
20824         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
20825         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
20826         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
20827         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
20828         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
20829         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20830         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
20831         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20832         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
20833         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20834         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
20835         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20836         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
20837         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
20838         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
20839         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
20841         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
20842         libc_hidden_def.
20843         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
20845         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
20846         (sysdep_routines): Add strstr-ppc64.
20847         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
20849 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
20851         [BZ #18778]
20852         * elf/Makefile (tests): Add Add tst-nodelete2.
20853         (modules-names): Add tst-nodelete2mod.
20854         (tst-nodelete2mod.so-no-z-defs): New.
20855         ($(objpfx)tst-nodelete2): Likewise.
20856         ($(objpfx)tst-nodelete2.out): Likewise.
20857         (LDFLAGS-tst-nodelete2): Likewise.
20858         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
20859         out of loop through all loaded libraries.
20860         * elf/tst-nodelete2.c: New file.
20861         * elf/tst-nodelete2mod.c: Likewise.
20862         * elf/tst-znodelete-zlib.cc: Delete.
20864 2015-08-11  Andreas Schwab  <schwab@suse.de>
20866         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
20867         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
20868         (__openat64_nocancel): Likewise.
20870 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
20872         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
20873         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
20874         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
20875         * math/auto-libm-test-out: Regenerated.
20876         * sysdeps/i386/fpu/libm-test-ulps: Update.
20877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20879 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
20881         [BZ #18790]
20882         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
20883         threshold for returning +/- 1.
20884         * math/auto-libm-test-in: Add more tests of tanh.
20885         * math/auto-libm-test-out: Regenerated.
20886         * sysdeps/i386/fpu/libm-test-ulps: Update.
20888 2015-08-10  Andreas Schwab  <schwab@suse.de>
20890         [BZ #18781]
20891         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
20892         MORE_OFLAGS to oflag.
20893         * io/test-lfs.c (do_test): Test openat64.
20895 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
20897         [BZ #18789]
20898         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
20899         smaller threshold for returning the argument.
20900         * math/auto-libm-test-in: Add more tests of sinh.
20901         * math/auto-libm-test-out: Regenerated.
20902         * sysdeps/i386/fpu/libm-test-ulps: Update.
20904 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
20906         [BZ #18674]
20907         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
20908         break.
20910 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
20912         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
20913         (generated): Don't add $(addprefix z.,$(tzfiles)).
20915 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20917         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
20918         * scripts/sysd-rules.awk: Likewise.
20920 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20922         * iconvdata/tst-tables.sh: Change echo -n to printf.
20923         * nss/db-Makefile: Likewise.
20924         * posix/tst-getconf.sh: Likewise.
20925         * stdio-common/tst-unbputc.sh: Likewise.
20927 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20929         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
20930         MADV_*_PAGES defines behind this feature check.
20932 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
20934         [BZ #18480]
20935         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
20936         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
20937         Define.
20938         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
20939         LOAD_REGS_5, LOAD_REGS_6): Update.
20940         (INTERNAL_SYSCALL): Update using new LOAD defines.
20941         (INTERNAL_SYSCALL_NCS): Likewise.
20942         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
20944 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20946         [BZ #16734]
20947         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
20949 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20951         [BZ #17905]
20952         * catgets/Makefile (tst-catgets-mem): New test.
20953         * catgets/catgets.c (catopen): Don't use unbounded alloca.
20954         * catgets/open_catalog.c (__open_catalog): Likewise.
20955         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
20957 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
20959         [BZ #18787]
20960         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
20961         clobber registers.
20962         (atomic_compare_and_exchange_val_acq): Use register asms to assign
20963         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
20964         Cast return to __typeof (oldval).
20966 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
20968         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
20969         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
20970         and delete sys/syscall.h include.
20972 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
20974         [BZ #16517]
20975         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
20976         (tan): Force underflow exception for arguments with small absolute
20977         value.
20978         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
20979         (__kernel_tanf): Force underflow exception for arguments with
20980         small absolute value.
20981         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
20982         (__kernel_tanl): Force underflow exception for arguments with
20983         small absolute value.
20984         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
20985         (__kernel_tanl): Force underflow exception for arguments with
20986         small absolute value.
20987         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
20988         (__kernel_tanl): Force underflow exception for arguments with
20989         small absolute value.
20990         * math/auto-libm-test-in: Add more tests of tan.
20991         * math/auto-libm-test-out: Regenerated.
20993 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20995         Fix sysdeps/i386/fpu/s_scalbn.S build
20997         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
20999 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
21001         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
21003 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21005         Fix gcrt0.o compilation
21007         When static-start-installed-name is different from
21008         start-installed-name, we must not use the shared objects.
21010         * csu/Makefile
21011         (extra-objs): Add gmon-start.o when building shared library and
21012         $(static-start-installed-name) is different from
21013         $(start-installed-name).
21014         $(objpfx)g$(static-start-installed-name): When building shared
21015         library and $(static-start-installed-name) is different from
21016         $(static-start-installed-name), revert to non-shared rule,
21017         i.e. using $(objpfx)% and gmon-start.o.
21019 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
21021         [BZ #16519]
21022         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
21023         (__ieee754_sinh): Force underflow exception for arguments with
21024         small absolute value.
21025         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
21026         (__ieee754_sinhf): Force underflow exception for arguments with
21027         small absolute value.
21028         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
21029         (__ieee754_sinhl): Force underflow exception for arguments with
21030         small absolute value.
21031         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
21032         (__ieee754_sinhl): Force underflow exception for arguments with
21033         small absolute value.
21034         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
21035         (__ieee754_sinhl): Force underflow exception for arguments with
21036         small absolute value.
21037         * math/auto-libm-test-in: Add more tests of sinh.
21038         * math/auto-libm-test-out: Regenerated.
21039         * sysdeps/i386/fpu/libm-test-ulps: Update.
21041 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21043         * libio/oldfileops.c: Include unistd.h.
21045 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
21047         * stdlib/isomac.c: Include ctype.h.
21049 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
21051         * dirent/tst-seekdir.c (main): Converted to ...
21052         (do_test): ... this.
21053         (TEST_FUNCTION): New macro.
21054         Include test-skeleton.c.
21055         * elf/tst-dlmodcount.c (main): Converted to ...
21056         (do_test): ... this.
21057         (TEST_FUNCTION): New macro.
21058         Include test-skeleton.c.
21059         * elf/tst-order-main.c (main): Converted to ...
21060         (do_test): ... this.
21061         (TEST_FUNCTION): New macro.
21062         Include test-skeleton.c.
21063         * elf/tst-pie2.c (main): Converted to ...
21064         (do_test): ... this.
21065         (TEST_FUNCTION): New macro.
21066         Include test-skeleton.c.
21067         * inet/tst-ether_aton.c (main): Converted to ...
21068         (do_test): ... this.
21069         (TEST_FUNCTION): New macro.
21070         Include test-skeleton.c.
21071         * misc/tst-mntent.c (main): Converted to ...
21072         (do_test): ... this.
21073         (TEST_FUNCTION): New macro.
21074         Include test-skeleton.c.
21075         * misc/tst-tsearch.c (main): Converted to ...
21076         (do_test): ... this.
21077         (TEST_FUNCTION): New macro.
21078         Include test-skeleton.c.
21079         * posix/tst-regexloc.c (main): Converted to ...
21080         (do_test): ... this.
21081         (TEST_FUNCTION): New macro.
21082         Include test-skeleton.c.
21083         * resolv/tst-aton.c (main): Converted to ...
21084         (do_test): ... this.
21085         (TEST_FUNCTION): New macro.
21086         Include test-skeleton.c.
21087         * stdio-common/test-fwrite.c (main): Converted to ...
21088         (do_test): ... this.
21089         (TEST_FUNCTION): New macro.
21090         Include test-skeleton.c.
21091         * stdio-common/tst-ferror.c (main): Converted to ...
21092         (do_test): ... this.
21093         (TEST_FUNCTION): New macro.
21094         Include test-skeleton.c.
21095         * stdio-common/tst-printf.c (main): Converted to ...
21096         (do_test): ... this.
21097         (TEST_FUNCTION): New macro.
21098         Include test-skeleton.c.
21099         * stdio-common/tst-printfsz.c (main): Converted to ...
21100         (do_test): ... this.
21101         (TEST_FUNCTION): New macro.
21102         Include test-skeleton.c.
21103         * stdlib/tst-strtod.c (main): Converted to ...
21104         (do_test): ... this.
21105         (TEST_FUNCTION): New macro.
21106         Include test-skeleton.c.
21107         * string/tst-strlen.c (main): Converted to ...
21108         (do_test): ... this.
21109         (TEST_FUNCTION): New macro.
21110         Include test-skeleton.c.
21111         * string/tst-svc.c (main): Converted to ...
21112         (do_test): ... this.
21113         (TEST_FUNCTION): New macro.
21114         Include test-skeleton.c.
21115         * time/tst-strptime.c (main): Converted to ...
21116         (do_test): ... this.
21117         (TEST_FUNCTION): New macro.
21118         Include test-skeleton.c.
21119         * timezone/tst-timezone.c (main): Converted to ...
21120         (do_test): ... this.
21121         (TEST_FUNCTION): New macro.
21122         Include test-skeleton.c.
21124 2015-08-05  Zack Weinberg  <zackw@panix.com>
21126         * misc/regexp.h: Update comments.
21128 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
21130         [BZ #18635]
21131         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
21132         before return label.
21134 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
21136         [BZ #18661]
21137         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
21138         when calling __errno_location.
21139         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
21140         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
21142 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
21144         [BZ #18661]
21145         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
21146         (__lll_timedwait_tid): Align stack to 16 bytes when calling
21147         __gettimeofday.
21149 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
21151         [BZ #18661]
21152         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21153         (__start_context): Don't use pop to restore %rdi so that stack
21154         is aligned to 16 bytes when calling __setcontext.
21156 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
21158         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
21159         only for libc.
21160         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21162 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
21164         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
21165         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
21166         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
21168 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
21170         * string/memccpy.c (memccpy):
21171         Improve performance by using memchr/memcpy/__mempcpy.
21173 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
21175         * string/strncpy.c (strncpy):
21176         Improve performance by using __strnlen/memcpy.
21178 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
21180         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
21181         Optimize to avoid an unnecessary FPCR read.
21183 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
21185         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
21186         Optimize to reduce FPCR/FPSR accesses.
21188 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
21190         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
21191         dead->data[category] != NULL.
21193 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
21195         [BZ #18647]
21196         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
21197         and |x| close to 1, use absolute value of x when computing log.
21198         * math/auto-libm-test-in: Add more tests of pow.
21199         * math/auto-libm-test-out: Regenerated.
21201 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21203         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
21204         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
21205         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
21207 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
21209         [BZ #18525]
21210         * locales/km_KH: Remove timezone definition.
21211         * locales/lo_LA: Likewise.
21212         * locales/my_MM: Likewise.
21213         * locales/nan_TW@latin: Likewise.
21214         * locales/th_TH: Likewise.
21215         * locales/uk_UA: Likewise.
21217 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
21219         [BZ #18265]
21220         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
21221         (wcsncat): Likewise.
21222         (wcscmp): Likewise.
21223         (wcsncmp): Likewise.
21225 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
21227         * test-skeleton.c (usage): New function.
21228         (main): Call usage when opt is '?'.
21230 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
21232         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
21233         before first use.
21235 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
21237         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
21238         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
21239         in there too.
21241 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
21243         * version.h (RELEASE): Set to "development".
21244         (VERSION): Set to "2.22.90"
21246         * version.h (RELEASE): Set to "stable".
21247         (VERSION): Set to "2.22"
21248         * include/features.h (__GLIBC_MINOR__): Set to 22.
21250 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
21252         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
21253         Restructure macro to avoid "value computed is not used" warning.
21254         (atomic_compare_and_exchange_val_acq): Likewise.
21256 2015-08-04  Andreas Schwab  <schwab@suse.de>
21258         [BZ #18635]
21259         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
21260         ret.
21261         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
21263 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
21265         * po/pl.po: Updated translation.
21266         * po/uk.po: Likewise.
21267         * po/fi.po: Likewise.
21268         * po/ko.po: Likewise.
21269         * po/ru.po: Likewise.
21270         * po/vi.po: Likewise.
21272 2015-07-31  Zack Weinberg  <zackw@panix.com>
21274         [BZ #18681]
21275         * regexp.h: Add unconditional #warning stating that this header
21276         will be removed soon.  Revise banner comment to match.
21277         (compile): Consistently use ERROR instead of RETURN to report
21278         errors (partial fix for bz#18681).
21279         * regexp.c: Don't include regexp.h. Remove some unnecessary
21280         declarations.
21282 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
21284         * po/libc.pot: Regenerated.
21286 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
21288         [BZ #18740]
21289         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
21290         float-vlen4-arch-ext-cflags): Removed.
21291         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
21292         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
21294 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
21296         [BZ #14113]
21297         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
21298         aligned to __aligned__.
21299         (pthread_cond_t, pthread_rwlock_t): Likewise.
21301 2015-07-30  Torvald Riegel  <triegel@redhat.com>
21303         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
21305 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
21307         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
21308         (struct sigaction): Change sa_flags from a long to an int, and add
21309         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
21311 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
21313         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
21314         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
21315         sysdeps/generic/sysdep.h include.
21316         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
21317         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
21318         sysdeps/hppa/sysdep.h.
21319         (ENTRY, PSEUDO): Undefine before defining.
21321 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
21323         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
21324         from scratch to use INTERNAL_SYSCALL.
21326 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
21328         [BZ #18078]
21329         * scripts/check-localplt.awk: Support alternate relocations.
21330         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
21331         sections.
21332         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
21333         malloc entries with + REL R_386_GLOB_DAT.
21334         * sysdeps/x86_64/localplt.data: New file.
21336 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
21338         [BZ #18731]
21339         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
21340         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21341         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21343 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
21345         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
21347 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
21349         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
21350         directly in terms of __sync_fetch_and_add and delete (int) cast.
21352 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
21354         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
21355         the -D_ASM_IA64_CURRENT_H flag.
21357 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
21359         [BZ #18641]
21360         * pwd/pwd.h (putpwent): Delete __nonnull markings.
21362 2015-07-27  Andreas Schwab  <schwab@suse.de>
21364         * conform/conformtest.pl (checknamespace): Filter out string
21365         literals while tokenizing.
21367 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
21369         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
21370         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
21371         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
21373 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
21375         * nptl/tst-join7mod.c: Add #include <string.h>.
21377 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
21379         * sysdeps/nios2/libm-test-ulps: Update.
21381 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
21383         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
21384         Fix order of arguments to the rt_sigprocmask syscall.
21385         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
21386         Likewise.
21388 2015-07-24  Roland McGrath  <roland@hack.frob.com>
21390         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
21392 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21394         [BZ #18457]
21395         * nptl/Makefile (tests): New test case tst-join7.
21396         (modules-names): New test case module tst-join7mod.
21397         * nptl/tst-join7.c: New file.
21398         * nptl/tst-join7mod.c: New file.
21399         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
21400         all translation units in libc.so, libpthread.so and rtld.
21402 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21404         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21406 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
21408         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
21409         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
21410         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
21411         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
21412         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
21413         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
21414         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
21415         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
21416         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
21417         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
21418         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
21419         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
21420         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
21421         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
21422         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
21423         implementation.
21425 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21427         [BZ #17711]
21428         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
21429         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
21430         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
21431         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
21432         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
21433         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
21435 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21437         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
21438         instead of just saying load lock in the comments.
21440 2015-07-23  Roland McGrath  <roland@hack.frob.com>
21442         * sysdeps/unix/Subdirs: Moved ...
21443         * sysdeps/posix/Subdirs: ... here.
21444         * login/pty.h (struct termios, struct winsize): Add forward decls.
21445         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
21446         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
21447         * sysdeps/arm/nacl/libc.abilist: Updated.
21448         * sysdeps/nacl/libutil.abilist: New file.
21450         * bits/signum.h: Update comments to mention 1003.1-2013 too.
21451         (SIGWINCH): New macro.
21453         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
21454         * sysdeps/arm/nacl/libc.abilist: Add it.
21456 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
21458         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
21460 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
21462         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
21463         Swap __glibc_reserved0 and sa_flags order.
21465 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21467         [BZ #18657]
21468         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
21469         are pending TLS destructor calls.
21470         * include/link.h (struct link_map): Add concurrency note for
21471         L_TLS_DTOR_COUNT.
21472         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
21473         Don't touch the link map flag.  Atomically increment
21474         l_tls_dtor_count.
21475         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
21476         Avoid taking the load lock and don't touch the link map flag.
21477         * stdlib/tst-tls-atexit-nodelete.c: New test case.
21478         * stdlib/Makefile (tests): Use it.
21479         * stdlib/tst-tls-atexit.c (do_test): dlopen
21480         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
21481         to allow tst-tls-atexit-nodelete test case to use it.
21483 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
21485         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
21486         to bits/types.h.
21487         (msgqnum_t): New typedef.
21488         (msglen_t): Likewise.
21489         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
21490         and msg_qbytes type to msglen_t.
21492 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
21494         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
21495         pad0 to __glibc_reserved0.
21496         (struct stat64): Likewise.
21498 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
21500         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
21501         Change sa_flags from a long to an int and add __glibc_reserved0 before
21502         it for padding.
21504 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
21506         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
21507         anonymous by deleting "siginfo" name.
21509 2015-07-21  Roland McGrath  <roland@hack.frob.com>
21511         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
21512         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
21513         rather than __nacl_irt_filename.
21514         * sysdeps/nacl/xstat.c (__xstat): Likewise.
21516         * NEWS: New item for arm-nacl port.
21517         * sysdeps/arm/nacl/libc.abilist: New file.
21518         * sysdeps/nacl/ld.abilist: New file.
21519         * sysdeps/nacl/libBrokenLocale.abilist: New file.
21520         * sysdeps/nacl/libanl.abilist: New file.
21521         * sysdeps/nacl/libcrypt.abilist: New file.
21522         * sysdeps/nacl/libdl.abilist: New file.
21523         * sysdeps/nacl/libm.abilist: New file.
21524         * sysdeps/nacl/libpthread.abilist: New file.
21525         * sysdeps/nacl/libresolv.abilist: New file.
21526         * sysdeps/nacl/librt.abilist: New file.
21528 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
21530         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
21531         __startcontext to initialize the new context.
21532         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
21533         up CFI directive to forbid further backtracing.
21535 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
21537         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
21538         reference.
21539         * charmaps/ANSI_X3.4-1968: Likewise.
21540         * charmaps/BS_4730: Likewise.
21541         * charmaps/BS_VIEWDATA: Likewise.
21542         * charmaps/CP1250: Likewise.
21543         * charmaps/CP1251: Likewise.
21544         * charmaps/CP1252: Likewise.
21545         * charmaps/CP1253: Likewise.
21546         * charmaps/CP1254: Likewise.
21547         * charmaps/CP1255: Likewise.
21548         * charmaps/CP1256: Likewise.
21549         * charmaps/CSN_369103: Likewise.
21550         * charmaps/EBCDIC-DK-NO: Likewise.
21551         * charmaps/GB_1988-80: Likewise.
21552         * charmaps/GREEK-CCITT: Likewise.
21553         * charmaps/GREEK7: Likewise.
21554         * charmaps/INIS-8: Likewise.
21555         * charmaps/ISIRI-3342: Likewise.
21556         * charmaps/ISO_2033-1983: Likewise.
21557         * charmaps/ISO_5427-EXT: Likewise.
21558         * locales/POSIX: Likewise.
21559         * locales/ar_SA: Likewise.
21560         * locales/be_BY: Likewise.
21561         * locales/be_BY@latin: Likewise.
21562         * locales/ca_ES: Likewise.
21563         * locales/cs_CZ: Likewise.
21564         * locales/da_DK: Likewise.
21565         * locales/de_BE: Likewise.
21566         * locales/de_CH: Likewise.
21567         * locales/de_LU: Likewise.
21568         * locales/en_AU: Likewise.
21569         * locales/en_BW: Likewise.
21570         * locales/en_CA: Likewise.
21571         * locales/en_DK: Likewise.
21572         * locales/en_GB: Likewise.
21573         * locales/en_IE: Likewise.
21574         * locales/en_NZ: Likewise.
21575         * locales/en_ZA: Likewise.
21576         * locales/en_ZW: Likewise.
21577         * locales/es_AR: Likewise.
21578         * locales/es_BO: Likewise.
21579         * locales/es_CL: Likewise.
21580         * locales/es_CO: Likewise.
21581         * locales/es_DO: Likewise.
21582         * locales/es_EC: Likewise.
21583         * locales/es_ES: Likewise.
21584         * locales/es_HN: Likewise.
21585         * locales/es_MX: Likewise.
21586         * locales/es_PA: Likewise.
21587         * locales/es_PE: Likewise.
21588         * locales/es_PY: Likewise.
21589         * locales/es_SV: Likewise.
21590         * locales/es_US: Likewise.
21591         * locales/es_UY: Likewise.
21592         * locales/es_VE: Likewise.
21593         * locales/et_EE: Likewise.
21594         * locales/fa_IR: Likewise.
21595         * locales/fo_FO: Likewise.
21596         * locales/fr_CA: Likewise.
21597         * locales/fr_CH: Likewise.
21598         * locales/gv_GB: Likewise.
21599         * locales/he_IL: Likewise.
21600         * locales/hr_HR: Likewise.
21601         * locales/id_ID: Likewise.
21602         * locales/is_IS: Likewise.
21603         * locales/it_CH: Likewise.
21604         * locales/iw_IL: Likewise.
21605         * locales/kl_GL: Likewise.
21606         * locales/ko_KR: Likewise.
21607         * locales/kw_GB: Likewise.
21608         * locales/lg_UG: Likewise.
21609         * locales/lt_LT: Likewise.
21610         * locales/lv_LV: Likewise.
21611         * locales/mi_NZ: Likewise.
21612         * locales/nhn_MX: Likewise.
21613         * locales/nl_BE: Likewise.
21614         * locales/pl_PL: Likewise.
21615         * locales/sk_SK: Likewise.
21616         * locales/sl_SI: Likewise.
21617         * locales/sv_FI: Likewise.
21618         * locales/tl_PH: Likewise.
21619         * locales/tr_TR: Likewise.
21620         * locales/vi_VN: Likewise.
21622 2015-07-21  Khem Raj  <raj.khem@gmail.com>
21624         [BZ #17475]
21625         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
21626         of tu_IN and bh_IN.
21628 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
21630         [BZ #18694]
21631         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
21632         bits/wordsize.h.
21633         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
21635 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21637         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
21638         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
21639         (spawn_thread): New function.
21640         (load): Rename to reg_dtor_and_close.  Move dlopen to...
21641         (do_test): ... here.  Use IS_LOADED to test for its
21642         availability.
21644 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
21646         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
21648 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
21650         [BZ #18696]
21651         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
21652         si_addr_bnd.
21653         (si_lower): New.
21654         (si_upper): Likewise.
21656 2015-07-16  David S. Miller  <davem@davemloft.net>
21658         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
21660 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21662         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
21663         buffer.
21664         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
21665         fail output information.
21667 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21669         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
21670         and strstr-ppc64..
21671         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21672         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
21673         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
21674         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
21675         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
21677 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
21679         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
21680         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
21681         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
21682         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
21684 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
21686         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
21687         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
21688         rtld_hidden_proto.
21689         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
21691 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21693         * tst-nodelete-opened.c (do_test): Add comment to clarify how
21694         the test can fail.
21696         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
21698         [BZ #18676]
21699         * elf/tst-nodelete-opened.c: New test case.
21700         * elf/tst-nodelete-opened-lib.c: New test case module.
21701         * elf/Makefile (tests, modules-names): Use them.
21702         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
21703         early.
21705 2015-07-15  David S. Miller  <davem@davemloft.net>
21707         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
21708         futex-intenal.h
21709         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
21710         * sysdeps/sparc/sparc64/Makefile: Likewise.
21711         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
21712         Remove space from macro define.
21713         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
21715 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
21717         [BZ #17475]
21718         * locale/iso-639.def: Update Bhili and Tulu language codes as
21719         per iso639-3.
21721 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
21723         * elf/tst-leaks1.c (main): Converted to ...
21724         (do_test): ... this.
21725         (TEST_FUNCTION): New macro.
21726         Include test-skeleton.c.
21727         * localedata/tst-langinfo.c (main): Converted to ...
21728         (do_test): ... this.
21729         (TEST_FUNCTION): New macro.
21730         Include test-skeleton.c.
21731         * math/test-fpucw.c (main): Converted to ...
21732         (do_test): ... this.
21733         (TEST_FUNCTION): New macro.
21734         Include test-skeleton.c.
21735         * math/test-tgmath.c (main): Converted to ...
21736         (do_test): ... this.
21737         (TEST_FUNCTION): New macro.
21738         Include test-skeleton.c.
21739         * math/test-tgmath2.c (main): Converted to ...
21740         (do_test): ... this.
21741         (TEST_FUNCTION): New macro.
21742         Include test-skeleton.c.
21743         * setjmp/tst-setjmp.c (main): Converted to ...
21744         (do_test): ... this.
21745         (TEST_FUNCTION): New macro.
21746         Include test-skeleton.c.
21747         * stdio-common/tst-sscanf.c (main): Converted to ...
21748         (do_test): ... this.
21749         (TEST_FUNCTION): New macro.
21750         Include test-skeleton.c.
21751         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
21752         (do_test): ... this.
21753         (TEST_FUNCTION): New macro.
21754         Include test-skeleton.c.
21756         * elf/tst-audit9.c (main): Converted to ...
21757         (do_test): ... this.
21758         (TEST_FUNCTION): New macro.
21759         Include test-skeleton.c.
21761 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
21763         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
21765 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
21767         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
21768         New variable.
21770 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
21772         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21774 2015-07-14  Roland McGrath  <roland@hack.frob.com>
21776         * sysdeps/generic/dl-fileid.h: New file.
21777         * sysdeps/posix/dl-fileid.h: New file.
21778         * sysdeps/nacl/dl-fileid.h: New file.
21779         * include/link.h: Include <dl-fileid.h>.
21780         (struct link_map): Replace l_dev and l_ino with l_file_id.
21781         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
21782         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
21783         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
21785 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21787         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
21789 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21791         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
21792         Add iff $CXX is set.
21793         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
21794         Likewise.
21795         (tst-nodelete-zmodiff): Likewise.
21796         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
21798 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21800         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
21802 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
21804         * sysdeps/aarch64/fpu/math_private.h
21805         (define math_opt_barrier): Add AArch64 version.
21806         (math_force_eval): Likewise.
21808 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
21810         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
21812 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
21814         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
21815         %ld with %jd and cast to intmax_t.
21816         (do_test_length_zero): Likewise.
21818 2015-07-10  Roland McGrath  <roland@hack.frob.com>
21820         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
21822 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
21824         * sysdeps/tile/libm-test-ulps: Regenerated.
21826         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
21827         Comment out the whole function, not just its body.
21829 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21831         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
21832         locks.
21834         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
21836 2015-07-10  Torvald Riegel  <triegel@redhat.com>
21838         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
21839         (sem_assume_only_signals_cause_futex_EINTR): Remove.
21841 2015-07-10  Torvald Riegel  <triegel@redhat.com>
21843         * sysdeps/nptl/futex-internal.h: New file.
21844         * sysdeps/nacl/futex-internal.h: New file.
21845         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
21846         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
21847         error checking.
21848         (setxid_unmark_thread): Likewise.
21849         (__nptl_setxid): Likewise.
21850         (__wait_lookup_done): Likewise.
21851         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
21852         * nptl/nptl-init.c (sighandler_setxid): Likewise.
21853         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
21854         * nptl/pthread_once.c (clear_once_control): Likewise.
21855         (__pthread_once_slow): Likewise.
21856         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
21857         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
21858         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
21859         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21860         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
21861         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
21862         Likewise.
21863         (__pthread_rwlock_rdlock): Likewise.
21864         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21865         Likewise.
21866         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21867         Likewise.
21868         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
21869         Likewise.
21870         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
21871         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
21872         Likewise.
21873         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
21874         __ASSUME_PRIVATE_FUTEX check.
21875         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
21876         Check that shared futexes are supported.
21877         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
21878         wrappers with error checking.
21879         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
21880         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
21881         * nptl/pthread_barrierattr_setpshared.c
21882         (pthread_barrierattr_setpshared): Check that shared futexes are
21883         supported.
21884         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
21885         Likewise.
21886         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
21887         Likewise.
21888         * nptl/sem_init.c (futex_private_if_supported): Remove.
21889         (__new_sem_init): Adapt and check that shared futexes are supported.
21890         * nptl/sem_open.c (sem_open): Likewise.
21891         * nptl/sem_post.c (futex_wake): Remove.
21892         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
21893         (do_futex_wait): Use futex wrappers with error checking.
21894         * nptl/sem_wait.c: Include lowlevellock.h.
21895         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
21896         Use futex_supports_pshared.
21897         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
21898         Use futex wrappers with error checking.
21899         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
21900         Likewise.
21901         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
21902         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
21903         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
21904         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
21905         (futex_wake): Likewise.
21906         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
21907         (do_futex_wait): Use futex wrappers with error checking.
21908         (__new_sem_wait_slow): Update EINTR handling.
21909         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
21911 2015-07-09  Martin Sebor  <msebor@redhat.com>
21913         [BZ #18435]
21914         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
21915         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
21916         * nptl/Makefile (test-xfail-tst-once5): Define.
21918 2015-07-09  Roland McGrath  <roland@hack.frob.com>
21920         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
21921         * elf/dl-minimal.c: For readability, reorder some definitions and
21922         introduce more page breaks.  Include <stdio.h>.
21923         (__libc_fatal): New function.
21925         * include/unistd.h: Add rtld_hidden_proto for _exit.
21926         * posix/_exit.c: Add rtld_hidden_def.
21927         * sysdeps/mach/hurd/_exit.c: Likewise.
21928         * sysdeps/nacl/_exit.c: Likewise.
21929         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
21930         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
21932 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
21934         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
21935         bndmov encoding with zero displacement.
21937 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
21938             H.J. Lu  <hongjiu.lu@intel.com>
21940         [BZ #18134]
21941         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
21942         * sysdeps/i386/configure: Regenerated.
21943         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
21944         (_dl_runtime_profile): Save and restore Intel MPX return bound
21945         registers when calling _dl_call_pltexit.  Add
21946         PRESERVE_BND_REGS_PREFIX before return.
21947         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
21948         (LRV_BND1_OFFSET): Likewise.
21949         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
21950         lrv_bnd1.
21951         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
21952         typo in bndmov encoding.
21953         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
21954         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
21955         branch instructions to preserve bounds.
21957 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
21960         [GLIBC_2.22]: Add fmemopen.
21962 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21964         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
21965         returns an error, also try to use host port from __mach_host_self for
21966         the __vm_wire call.
21967         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
21969 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21971         [BZ #18400]
21972         [BZ #18648]
21973         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
21974         Fix pr_uid and pr_gid members.
21975         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
21976         definition to elf_greg_t.
21978 2015-07-08  Roland McGrath  <roland@hack.frob.com>
21980         [BZ #18383]
21981         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
21982         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
21983         * sysdeps/arm/configure: Regenerated.
21984         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
21985         (test-xfail-tst-tlsalign-static): Variable removed.
21987         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
21988         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
21989         rather than explicit 'ln -s'.
21991         * resolv/rpc/netdb.h: New file.
21992         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
21994 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21996         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
21997         length buffers.
21998         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
21999         test-skeleton.c.
22001         [BZ #6544]
22002         [BZ #11216]
22003         [BZ #12836]
22004         [BZ #13151]
22005         [BZ #13152]
22006         [BZ #14292]
22007         * include/stdio.h (fmemopen): Remove hidden prototype.
22008         (__fmemopen): Add new hidden prototype.
22009         * libio/Makefile: Add oldfmemopen object.
22010         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
22011         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
22012         compliance.
22013         * libio/oldfmemopen.c: New file: old fmemopen implementation for
22014         symbol compatibility.
22015         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
22016         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
22017         fmemopen.
22018         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
22019         on append and read mode.
22020         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
22021         fmemopen.
22022         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
22023         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
22024         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
22025         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
22026         Likewise.
22027         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
22028         [GLIBC_2.22]: Likewise.
22029         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
22030         Likewise.
22031         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
22032         Likewise.
22033         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
22034         [GLIBC_2.22]: Likewise.
22035         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
22036         [GLIBC_2.22]: Likewise.
22037         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
22038         [GLIBC_2.22]: Likewise.
22039         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
22040         [GLIBC_2.22]: Likewise.
22041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
22042         [GLIBC_2.22]: Likewise.
22043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
22044         [GLIBC_2.22]: Likewise.
22045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
22046         [GLIBC_2.22]: Likewise.
22047         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
22048         Likewise.
22049         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
22050         Likewise.
22051         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
22052         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
22053         [GLIBC_2.22]: Likewise.
22054         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
22055         [GLIBC_2.22]: Likewise.
22056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
22057         [GLIBC_2.22]: Likewise.
22058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
22059         [GLIBC_2.22]: Likewise.
22060         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
22061         Likewise.
22062         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
22063         Likewise.
22064         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
22065         Likewise.
22066         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
22067         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
22069 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
22071         [BZ #18643]
22072         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
22073         IPV6_PATHMTU, and IPV6_DONTFRAG.
22075 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
22077         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
22078         and _IO_UNBUFFERED.
22079         * libio/oldfileops.c: Likewise.
22080         * libio/wfileops.c: Likewise.
22082 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
22084         * nscd/selinux.c: Delete selinux/flask.h include.
22086 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
22088         [BZ #18641]
22089         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
22090         (putpwent): Likewise.
22091         (getpwnam): Likewise.
22092         (getpwent_r): Likewise.
22093         (getpwuid_r): Likewise.
22094         (getpwnam_r): Likewise.
22095         (fgetpwent_r): Likewise.
22097 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
22099         [BZ #18557]
22100         * inet/rcmd.c (__validuser2_sa): Check user first to
22101         short-circuit host check.
22103 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
22104             Mikhail Ilin  <m.ilin@samsung.com>
22106         [BZ #17833]
22107         * elf/Makefile (tests): Add tst-nodelete.
22108         (modules-names): Add tst-nodelete-uniquemod.
22109         (tst-nodelete-uniquemod.so-no-z-defs): New.
22110         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
22111         (tst-nodelete-zmod.so-no-z-defs): Likewise.
22112         ($(objpfx)tst-nodelete): Likewise.
22113         ($(objpfx)tst-nodelete.out): Likewise.
22114         (LDFLAGS-tst-nodelete): Likewise.
22115         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
22116         * elf/dl-close.c (_dl_close_worker): Add a parameter to
22117         implement forced object deletion.
22118         (_dl_close): Pass false to _dl_close_worker.
22119         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
22120         * elf/tst-nodelete.cc: New file.
22121         * elf/tst-nodeletelib.cc: Likewise.
22122         * elf/tst-znodeletelib.cc: Likewise.
22123         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
22125 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
22127         [BZ #18508]
22128         * stdlib/Makefile ($(objpfx)tst-makecontext3):
22129         Depend on $(libdl).
22130         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
22131         is not called infinitely times.
22132         (backtrace_helper): New function.
22133         (trace_arg): New struct.
22134         (st1): Enlarge stack size.
22135         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
22136         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
22137         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
22138         Likewise.
22140 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
22142         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22144 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
22146         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
22147         Include sys/types.h instead of bits/types.h.
22148         Remove inclusion of bits/wordsize.h.
22150 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
22152         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
22153         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
22154         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
22155         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
22156         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
22157         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
22159 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
22161         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
22162         link-defines.sym.
22163         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
22164         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
22165         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
22166         and LR_SIZE.
22167         * sysdeps/i386/link-defines.sym: New file.
22169 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
22171         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
22172         (modules-names): Add tst-auditmod3a tst-auditmod3b.
22173         ($(objpfx)tst-audit3): New rule.
22174         ($(objpfx)tst-audit3.out): Likewise.
22175         * sysdeps/i386/tst-audit3.c: New file.
22176         * sysdeps/i386/tst-audit3.h: Likewise.
22177         * sysdeps/i386/tst-auditmod3a.c: Likewise.
22178         * sysdeps/i386/tst-auditmod3b.c: Likewise.
22180 2015-07-07  Torvald Riegel  <triegel@redhat.com>
22182         [BZ #18633]
22183         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
22184         pointer in C code.
22185         (__strcat_c): Likewise.
22186         (__strcat_g): Likewise.
22188 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
22190         [BZ #18592]
22191         * misc/sbrk.c: Set errno to ENOMEM on overflow.
22193 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
22195         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
22196         New function.  (__ieee754_sqrtf): New function.
22197         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
22198         New function.
22199         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
22200         New function.
22202 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
22204         * sysdeps/ieee754/support.c: Remove unused file.
22206 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22208         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
22209         registers instead of d ones so the layout is kernel abi compatible.
22210         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
22211         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
22212         Likewise.
22214 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22216         * sysdeps/aarch64/libm-test-ulps: Regenerated.
22218 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
22220         [BZ #18619]
22221         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
22222         and return argument in case of subnormal argument.
22224 2015-07-01  Martin Sebor  <msebor@redhat.com>
22226         [BZ #18435]
22227         * nptl/Makefile: Add tst-once5.cc.
22228         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
22229         Remove macro redefinitions.
22230         * nptl/tst-once5.cc: New test.
22232 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
22234         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22236         * sysdeps/arm/libm-test-ulps: Regenerated.
22238         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22239         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22241 2015-06-30  Torvald Riegel  <triegel@redhat.com>
22243         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
22244         lll_lock_wait_private and lll_futex_wake probes.
22246         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
22247         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
22248         Likewise.
22249         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
22250         atomic_spin_nop.
22251         * sysdeps/x86_64/bits/atomic.h: Likewise.
22252         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
22253         to atomic_spin_nop and move ...
22254         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
22255         ... here and ...
22256         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
22257         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
22258         atomic_spin_nop instead of BUSY_WAIT_NOP.
22259         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
22260         Likewise.
22261         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
22262         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
22263         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
22264         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
22265         instead of atomic_delay.
22267 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
22269         [BZ #18613]
22270         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
22271         X_ADJ not X when adjusting exponent.
22272         (__ieee754_gamma_r): Do intermediate computations in
22273         round-to-nearest then adjust overflowing and underflowing results
22274         as needed.
22275         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
22276         of X_ADJ not X when adjusting exponent.
22277         (__ieee754_gammaf_r): Do intermediate computations in
22278         round-to-nearest then adjust overflowing and underflowing results
22279         as needed.
22280         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
22281         log of X_ADJ not X when adjusting exponent.
22282         (__ieee754_gammal_r): Do intermediate computations in
22283         round-to-nearest then adjust overflowing and underflowing results
22284         as needed.  Use 1.0L not 1.0f as numerator of division.
22285         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
22286         log of X_ADJ not X when adjusting exponent.
22287         (__ieee754_gammal_r): Do intermediate computations in
22288         round-to-nearest then adjust overflowing and underflowing results
22289         as needed.  Use 1.0L not 1.0f as numerator of division.
22290         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
22291         of X_ADJ not X when adjusting exponent.
22292         (__ieee754_gammal_r): Do intermediate computations in
22293         round-to-nearest then adjust overflowing and underflowing results
22294         as needed.  Use 1.0L not 1.0f as numerator of division.
22295         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
22296         to auto-libm-test-in.
22297         (tgamma_test): Use ALL_RM_TEST.
22298         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
22299         tests of tgamma with spurious-overflow.
22300         * math/auto-libm-test-out: Regenerated.
22301         * math/gen-libm-have-vector-test.sh: Do not check for START.
22302         * sysdeps/i386/fpu/libm-test-ulps: Update.
22303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22305         [BZ #18612]
22306         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
22307         arguments, just return 0.5 times the argument, with underflow
22308         forced as needed.
22309         * math/auto-libm-test-in: Add more tests of j1.
22310         * math/auto-libm-test-out: Regenerated.
22312         [BZ #16559]
22313         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
22314         (__ieee754_j1): Force underflow exception for small results.
22315         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
22316         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
22317         (__ieee754_j1f): Force underflow exception for small results.
22318         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
22319         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
22320         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22321         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
22322         (__ieee754_j1l): Force underflow exception for small results.
22323         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
22324         * math/auto-libm-test-in: Add more tests of j1 and jn.
22325         * math/auto-libm-test-out: Regenerated.
22327         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
22328         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
22329         (PF_MPLS): Likewise.
22330         (AF_IB): Likewise.
22331         (AF_MPLS): Likewise.
22332         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
22333         value and macro.
22334         (MS_RMT_MASK): Include MS_LAZYTIME.
22336 2015-06-26  Mel Gorman  <mgorman@suse.de>
22338         [BZ #18502]
22339         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
22340         already minimal.
22342 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
22344         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
22345         (DT_MIPS_NUM): Update.
22346         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
22347         DT_MIPS_RLD_MAP_REL.
22349 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
22351         [BZ #16559]
22352         [BZ #18602]
22353         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
22354         round-to-nearest internally then recompute results that
22355         underflowed to zero in the original rounding mode.
22356         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
22357         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
22358         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22359         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
22360         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
22361         * sysdeps/i386/fpu/libm-test-ulps: Update.
22362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22364 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
22366         * NEWS: Fixed description of link with vector math library.
22368 2015-06-25  Andreas Schwab  <schwab@suse.de>
22370         [BZ #18549]
22371         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
22372         * libio/test-fmemopen.c (do_test): Add test for it.
22374 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
22376         [BZ #17841]
22377         * Makeconfig (no-pie-ldflag): New.
22378         (+link): Set to $(+link-pie) if default to PIE.
22379         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
22380         * config.make.in (build-pie-default): New.
22381         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
22382         is default.  AC_SUBST.
22383         * configure: Regenerated.
22384         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
22386 2015-06-24  Roland McGrath  <roland@hack.frob.com>
22388         * nptl/descr.h (struct pthread): Change type of field setxid_futex
22389         to 'unsigned int'.
22391         * resolv/gai_misc.h (struct waitlist): Change type of field
22392         counterp to 'volatile unsigned int *'.
22393         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
22394         FUTEXADDR and OLDVAL.
22395         * resolv/getaddrinfo_a.c (getaddrinfo_a):
22396         Give local variable TOTAL type 'volatile unsigned int'.
22397         (struct async_waitlist): Change type of field counter to 'unsigned int'.
22398         * resolv/gai_suspend.c (gai_suspend):
22399         Give local variable CNTR type 'unsigned int'.
22401         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
22402         counterp to 'volatile unsigned int *'.
22403         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
22404         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
22405         (aio_suspend): Give local variable CNTR type 'unsigned int'.
22406         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
22407         Give local variable TOTAL type 'volatile unsigned int'.
22408         (struct async_waitlist): Change type of field counter to 'unsigned int'.
22410 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
22412         [BZ #18383]
22413         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
22414         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
22415         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
22416         comment for i386/x86-64.
22417         (test-xfail-tst-tlsalign-extern-static): Removed.
22419 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
22421         * math/test-double.h: New file.
22422         * math/test-float.h: Likewise.
22423         * math/test-ldouble.h: Likewise.
22424         * math/test-math-inline.h: Likewise.
22425         * math/test-math-no-inline.h: Likewise.
22426         * math/test-math-scalar.h: Likewise.
22427         * math/test-math-vector.h: Likewise.
22428         * math/test-vec-loop.h: Remove file.  Contents moved into
22429         test-math-vector.h.
22430         * math/libm-test.inc (MATHCONST): Do not document macro.
22431         * math/test-double.c: Include test-double.h, test-math-no-inline.h
22432         and test-math-scalar.h.
22433         (FUNC): Remove macro.
22434         (FUNC_TEST): Likewise.
22435         (FLOAT): Likewise.
22436         (MATHCONST): Likewise.
22437         (PRINTF_EXPR): Likewise.
22438         (PRINTF_XEXPR): Likewise.
22439         (PRINTF_NEXPR): Likewise.
22440         (TEST_DOUBLE): Likewise.
22441         (TEST_MATHVEC): Likewise.
22442         (__NO_MATH_INLINES): Likewise.
22443         * math/test-float.c: Include test-float.h, test-math-no-inline.h
22444         and test-math-scalar.h.
22445         (FUNC): Remove macro.
22446         (FUNC_TEST): Likewise.
22447         (FLOAT): Likewise.
22448         (MATHCONST): Likewise.
22449         (PRINTF_EXPR): Likewise.
22450         (PRINTF_XEXPR): Likewise.
22451         (PRINTF_NEXPR): Likewise.
22452         (TEST_FLOAT): Likewise.
22453         (TEST_MATHVEC): Likewise.
22454         (__NO_MATH_INLINES): Likewise.
22455         * math/test-idouble.c: Include test-double.h, test-math-inline.h
22456         and test-math-scalar.h.
22457         (FUNC): Remove macro.
22458         (FUNC_TEST): Likewise.
22459         (FLOAT): Likewise.
22460         (MATHCONST): Likewise.
22461         (PRINTF_EXPR): Likewise.
22462         (PRINTF_XEXPR): Likewise.
22463         (PRINTF_NEXPR): Likewise.
22464         (TEST_DOUBLE): Likewise.
22465         (TEST_MATHVEC): Likewise.
22466         (TEST_INLINE): Likewise.
22467         (__NO_MATH_INLINES): Likewise.
22468         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
22469         test-math-scalar.h.
22470         (FUNC): Remove macro.
22471         (FUNC_TEST): Likewise.
22472         (FLOAT): Likewise.
22473         (MATHCONST): Likewise.
22474         (PRINTF_EXPR): Likewise.
22475         (PRINTF_XEXPR): Likewise.
22476         (PRINTF_NEXPR): Likewise.
22477         (TEST_FLOAT): Likewise.
22478         (TEST_MATHVEC): Likewise.
22479         (TEST_INLINE): Likewise.
22480         (__NO_MATH_INLINES): Likewise.
22481         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
22482         and test-math-scalar.h.
22483         (FUNC): Remove macro.
22484         (FUNC_TEST): Likewise.
22485         (FLOAT): Likewise.
22486         (MATHCONST): Likewise.
22487         (PRINTF_EXPR): Likewise.
22488         (PRINTF_XEXPR): Likewise.
22489         (PRINTF_NEXPR): Likewise.
22490         (TEST_LDOUBLE): Likewise.
22491         (TEST_MATHVEC): Likewise.
22492         (TEST_INLINE): Likewise.
22493         (__NO_MATH_INLINES): Likewise.
22494         * math/test-ldouble.c: Include test-ldouble.h,
22495         test-math-no-inline.h and test-math-scalar.h.
22496         (FUNC): Remove macro.
22497         (FUNC_TEST): Likewise.
22498         (FLOAT): Likewise.
22499         (MATHCONST): Likewise.
22500         (PRINTF_EXPR): Likewise.
22501         (PRINTF_XEXPR): Likewise.
22502         (PRINTF_NEXPR): Likewise.
22503         (TEST_LDOUBLE): Likewise.
22504         (TEST_MATHVEC): Likewise.
22505         (__NO_MATH_INLINES): Likewise.
22506         * math/test-double-vlen2.h: Include test-double.h,
22507         test-math-no-inline.h and test-math-vector.h.
22508         (FLOAT): Remove macro.
22509         (FUNC): Likewise.
22510         (MATHCONST): Likewise.
22511         (PRINTF_EXPR): Likewise.
22512         (PRINTF_XEXPR): Likewise.
22513         (PRINTF_NEXPR): Likewise.
22514         (TEST_DOUBLE): Likewise.
22515         (TEST_MATHVEC): Likewise.
22516         (__NO_MATH_INLINES): Likewise.
22517         (CNCT): Likewise.
22518         (CONCAT): Likewise.
22519         (WRAPPER_NAME): Likewise.
22520         (WRAPPER_DECL): Likewise.
22521         (WRAPPER_DECL_ff): Likewise.
22522         (WRAPPER_DECL_fFF): Likewise.
22523         (VECTOR_WRAPPER): Likewise.
22524         (VECTOR_WRAPPER_ff): Likewise.
22525         (VECTOR_WRAPPER_fFF): Likewise.
22526         (VEC_LEN): New macro.
22527         * math/test-double-vlen4.h: Include test-double.h,
22528         test-math-no-inline.h and test-math-vector.h.
22529         (FLOAT): Remove macro.
22530         (FUNC): Likewise.
22531         (MATHCONST): Likewise.
22532         (PRINTF_EXPR): Likewise.
22533         (PRINTF_XEXPR): Likewise.
22534         (PRINTF_NEXPR): Likewise.
22535         (TEST_DOUBLE): Likewise.
22536         (TEST_MATHVEC): Likewise.
22537         (__NO_MATH_INLINES): Likewise.
22538         (CNCT): Likewise.
22539         (CONCAT): Likewise.
22540         (WRAPPER_NAME): Likewise.
22541         (WRAPPER_DECL): Likewise.
22542         (WRAPPER_DECL_ff): Likewise.
22543         (WRAPPER_DECL_fFF): Likewise.
22544         (VECTOR_WRAPPER): Likewise.
22545         (VECTOR_WRAPPER_ff): Likewise.
22546         (VECTOR_WRAPPER_fFF): Likewise.
22547         (VEC_LEN): New macro.
22548         * math/test-double-vlen8.h: Include test-double.h,
22549         test-math-no-inline.h and test-math-vector.h.
22550         (FLOAT): Remove macro.
22551         (FUNC): Likewise.
22552         (MATHCONST): Likewise.
22553         (PRINTF_EXPR): Likewise.
22554         (PRINTF_XEXPR): Likewise.
22555         (PRINTF_NEXPR): Likewise.
22556         (TEST_DOUBLE): Likewise.
22557         (TEST_MATHVEC): Likewise.
22558         (__NO_MATH_INLINES): Likewise.
22559         (CNCT): Likewise.
22560         (CONCAT): Likewise.
22561         (WRAPPER_NAME): Likewise.
22562         (WRAPPER_DECL): Likewise.
22563         (WRAPPER_DECL_ff): Likewise.
22564         (WRAPPER_DECL_fFF): Likewise.
22565         (VECTOR_WRAPPER): Likewise.
22566         (VECTOR_WRAPPER_ff): Likewise.
22567         (VECTOR_WRAPPER_fFF): Likewise.
22568         (VEC_LEN): New macro.
22569         * math/test-float-vlen4.h: Include test-float.h,
22570         test-math-no-inline.h and test-math-vector.h.
22571         (FLOAT): Remove macro.
22572         (FUNC): Likewise.
22573         (MATHCONST): Likewise.
22574         (PRINTF_EXPR): Likewise.
22575         (PRINTF_XEXPR): Likewise.
22576         (PRINTF_NEXPR): Likewise.
22577         (TEST_FLOAT): Likewise.
22578         (TEST_MATHVEC): Likewise.
22579         (__NO_MATH_INLINES): Likewise.
22580         (CNCT): Likewise.
22581         (CONCAT): Likewise.
22582         (WRAPPER_NAME): Likewise.
22583         (WRAPPER_DECL): Likewise.
22584         (WRAPPER_DECL_ff): Likewise.
22585         (WRAPPER_DECL_fFF): Likewise.
22586         (VECTOR_WRAPPER): Likewise.
22587         (VECTOR_WRAPPER_ff): Likewise.
22588         (VECTOR_WRAPPER_fFF): Likewise.
22589         (VEC_LEN): New macro.
22590         * math/test-float-vlen8.h: Include test-float.h,
22591         test-math-no-inline.h and test-math-vector.h.
22592         (FLOAT): Remove macro.
22593         (FUNC): Likewise.
22594         (MATHCONST): Likewise.
22595         (PRINTF_EXPR): Likewise.
22596         (PRINTF_XEXPR): Likewise.
22597         (PRINTF_NEXPR): Likewise.
22598         (TEST_FLOAT): Likewise.
22599         (TEST_MATHVEC): Likewise.
22600         (__NO_MATH_INLINES): Likewise.
22601         (CNCT): Likewise.
22602         (CONCAT): Likewise.
22603         (WRAPPER_NAME): Likewise.
22604         (WRAPPER_DECL): Likewise.
22605         (WRAPPER_DECL_ff): Likewise.
22606         (WRAPPER_DECL_fFF): Likewise.
22607         (VECTOR_WRAPPER): Likewise.
22608         (VECTOR_WRAPPER_ff): Likewise.
22609         (VECTOR_WRAPPER_fFF): Likewise.
22610         (VEC_LEN): New macro.
22611         * math/test-float-vlen16.h: Include test-float.h,
22612         test-math-no-inline.h and test-math-vector.h.
22613         (FLOAT): Remove macro.
22614         (FUNC): Likewise.
22615         (MATHCONST): Likewise.
22616         (PRINTF_EXPR): Likewise.
22617         (PRINTF_XEXPR): Likewise.
22618         (PRINTF_NEXPR): Likewise.
22619         (TEST_FLOAT): Likewise.
22620         (TEST_MATHVEC): Likewise.
22621         (__NO_MATH_INLINES): Likewise.
22622         (CNCT): Likewise.
22623         (CONCAT): Likewise.
22624         (WRAPPER_NAME): Likewise.
22625         (WRAPPER_DECL): Likewise.
22626         (WRAPPER_DECL_ff): Likewise.
22627         (WRAPPER_DECL_fFF): Likewise.
22628         (VECTOR_WRAPPER): Likewise.
22629         (VECTOR_WRAPPER_ff): Likewise.
22630         (VECTOR_WRAPPER_fFF): Likewise.
22631         (VEC_LEN): New macro.
22632         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
22633         test-vec-loop.h.
22634         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22635         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22636         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22637         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22638         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22639         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22640         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
22642 2015-06-24  Roland McGrath  <roland@hack.frob.com>
22644         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
22645         (__getlogin_r): ... this.
22647 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
22649         [BZ #18594]
22650         * math/s_ccosh.c (__ccosh): Compare with least normal value
22651         instead of comparing class with FP_SUBNORMAL.
22652         * math/s_ccoshf.c (__ccoshf): Likewise.
22653         * math/s_ccoshl.c (__ccoshl): Likewise.
22654         * math/s_cexp.c (__cexp): Likewise.
22655         * math/s_cexpf.c (__cexpf): Likewise.
22656         * math/s_cexpl.c (__cexpl): Likewise.
22657         * math/s_csin.c (__csin): Likewise.
22658         * math/s_csinf.c (__csinf): Likewise.
22659         * math/s_csinh.c (__csinh): Likewise.
22660         * math/s_csinhf.c (__csinhf): Likewise.
22661         * math/s_csinhl.c (__csinhl): Likewise.
22662         * math/s_csinl.c (__csinl): Likewise.
22663         * math/s_ctan.c (__ctan): Likewise.
22664         * math/s_ctanf.c (__ctanf): Likewise.
22665         * math/s_ctanh.c (__ctanh): Likewise.
22666         * math/s_ctanhf.c (__ctanhf): Likewise.
22667         * math/s_ctanhl.c (__ctanhl): Likewise.
22668         * math/s_ctanl.c (__ctanl): Likewise.
22669         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
22670         csin, csinh, ctan and ctanh.
22671         * math/auto-libm-test-out: Regenerated.
22672         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
22673         * sysdeps/i386/fpu/libm-test-ulps: Update.
22674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22676 2015-06-24  Roland McGrath  <roland@hack.frob.com>
22678         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
22679         return value is wrong, print the expected value too.
22681 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
22683         [BZ #18585]
22684         * elf/readlib.c (is_gdb_python_file): New.
22685         (process_file): Don't issue errors on filenames with -gdb.py
22686         suffix.
22688 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
22690         * math/auto-libm-test-in: Add more tests of csin and csinh.
22691         * math/auto-libm-test-out: Regenerated.
22692         * math/libm-test.inc (csin_test_data): Remove tests moved to
22693         auto-libm-test-in.
22694         (csinh_test_data): Likewise.
22696         [BZ #18593]
22697         * math/s_csin.c (__csin): Negate before rather than after possibly
22698         overflowing multiplication.
22699         * math/s_csinf.c (__csinf): Likewise.
22700         * math/s_csinh.c (__csinh): Likewise.
22701         * math/s_csinhf.c (__csinhf): Likewise.
22702         * math/s_csinhl.c (__csinhl): Likewise.
22703         * math/s_csinl.c (__csinl): Likewise.
22704         * math/auto-libm-test-in: Add some tests of csin and csinh.
22705         * math/auto-libm-test-out: Regenerated.
22706         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
22707         (csinh_test_data): Likewise.
22708         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22710         [BZ #18586]
22711         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
22712         underflow exception for small results.
22714 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
22716         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
22717         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
22718         variable and included header.
22719         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
22720         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
22721         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
22722         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
22723         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
22724         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
22725         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
22726         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
22727         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
22728         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
22729         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
22730         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
22731         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
22732         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
22733         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
22734         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
22736 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
22738         [BZ #16526]
22739         [BZ #16538]
22740         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
22741         (__sin): Force underflow exception for arguments with small
22742         absolute value.
22743         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
22744         (__kernel_sinf): Force underflow exception for arguments with
22745         small absolute value.
22746         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
22747         (__kernel_sincosl): Force underflow exception for arguments with
22748         small absolute value.
22749         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
22750         (__kernel_sinl): Force underflow exception for arguments with
22751         small absolute value.
22752         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
22753         (__kernel_sincosl): Force underflow exception for arguments with
22754         small absolute value.
22755         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
22756         (__kernel_sinl): Force underflow exception for arguments with
22757         small absolute value.
22758         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
22759         (__kernel_sinl): Force underflow exception for arguments with
22760         small absolute value.
22761         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
22762         (__kernel_sinf): Force underflow exception for arguments with
22763         small absolute value.
22764         * math/auto-libm-test-in: Add more tests of sin and sincos.
22765         * math/auto-libm-test-out: Regenerated.
22767         [BZ #18245]
22768         [BZ #18583]
22769         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
22770         (__kernel_standard_l): Use feholdexcept and fesetenv around
22771         conversion to double instead of special-casing overflow and
22772         underflow.
22773         * math/libm-test.inc (fmod_test_data): Add more tests.
22774         (remainder_test_data): Likewise.
22775         (sqrt_test_data): Likewise.
22777 2015-06-23  Torvald Riegel  <triegel@redhat.com>
22779         [BZ #17403]
22780         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
22781         atomic_read_barrier, atomic_write_barrier): Define.
22782         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
22783         atomic_read_barrier, atomic_write_barrier): Define.
22785 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
22787         * math/Makefile [$(PERL) != no]
22788         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
22789         dependency on libm-test.stmp below the inclusion of Rules.
22791 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
22793         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
22794         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
22795         and included header.
22796         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
22797         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
22798         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
22799         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
22800         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
22801         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
22802         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
22803         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
22804         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
22805         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
22806         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
22807         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
22808         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
22809         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
22810         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
22811         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
22812         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
22813         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
22814         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
22816 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
22818         [BZ #18371]
22819         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
22820         intermediate but not final result might underflow.
22821         * math/s_csqrtf.c (__csqrtf): Likewise.
22822         * math/s_csqrtl.c (__csqrtl): Likewise.
22823         * math/auto-libm-test-in: Add more tests of csqrt.
22824         * math/auto-libm-test-out: Regenerated.
22825         * sysdeps/i386/fpu/libm-test-ulps: Update.
22827         [BZ #18219]
22828         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
22829         threshold on absolute value of exponent for which scaling is used.
22830         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22831         * math/auto-libm-test-in: Add more tests of exp2.
22832         * math/auto-libm-test-out: Regenerated.
22834 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
22836         [BZ #17977]
22837         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
22838         when initializing interface list, based on the bug analysis
22839         and the patch proposed by Eric Newton.
22840         * resolv/tst-res_hconf_reorder.c: New test.
22841         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
22842         tst-res_hconf_reorder.
22843         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
22844         and $(shared-thread-library).
22845         (tst-res_hconf_reorder-ENV): New variable.
22847         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
22848         in comment.
22850 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
22852         [BZ #16353]
22853         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
22854         (__expm1): Force underflow exception for arguments with small
22855         absolute value.
22856         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
22857         (__expm1f): Force underflow exception for arguments with small
22858         absolute value.
22859         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
22860         (__expm1): Force underflow exception for arguments with small
22861         absolute value.
22862         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
22863         (__expm1f): Force underflow exception for arguments with small
22864         absolute value.
22865         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22866         Check for small arguments before calling __expm1.
22867         * math/auto-libm-test-in: Do not mark underflow exceptions as
22868         possibly missing for bug 16353.
22869         * math/auto-libm-test-out: Regenerated.
22871 2015-06-22  Andreas Schwab  <schwab@suse.de>
22873         [BZ #18513]
22874         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
22875         PTR queries.
22877 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
22879         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
22881         * string/strcoll_l.c: Remove unused struct element idxnow.
22883 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
22885         [BZ #18569]
22886         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
22887         underflow and return argument in case of subnormal argument.
22888         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22889         Likewise.
22890         * math/auto-libm-test-in: Add more tests of expm1.
22891         * math/auto-libm-test-out: Regenerated.
22893         [BZ #16361]
22894         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
22895         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
22896         tiny results.
22897         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
22898         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
22899         tiny results.
22900         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
22901         mark underflow exceptions as possibly missing for bug 16361.
22902         * math/auto-libm-test-out: Regenerated.
22904 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
22906         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
22907         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
22908         Remove variable.
22909         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22910         (test-xfail-XOPEN2K8/utmpx.h/conform).
22912         * conform/conformtest.pl ($xerrors): New variable.
22913         (note_error): New function.
22914         (compiletest): New argument $xfail.  Use not_error.
22915         (runtest): Likewise.
22916         (top level): Handle xfail- lines.  Update calls to compiletest and
22917         runtest.  Handle xfail- and optional- in headers listed with
22918         allow-header.
22919         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
22920         (O_EXEC): Likewise.
22921         (O_SEARCH): Likewise.
22922         * conform/data/stropts.h-data (ioctl): Likewise.
22923         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
22924         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
22925         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
22926         (msghdr.msg_controllen): Likewise.
22927         (cmsghdr.cmsg_len): Likewise.
22928         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
22929         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
22930         variable.
22931         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22932         (test-xfail-XPG4/stropts.h/conform): Likewise.
22933         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22934         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22935         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22936         (test-xfail-UNIX98/stropts.h/conform): Likewise.
22937         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22938         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22939         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22940         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22941         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22942         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22943         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22944         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22945         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22946         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22947         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22948         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22949         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22950         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22951         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22953 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
22955         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
22956         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
22957         definitions for proper unfolding of __MATHDECL_VEC.
22959 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22961         * benchtests/bench-strcoll.c:
22962         Include string.h.
22963         (main): Remove unused variable res.
22965 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22967         * timezone/Makefile (%/UTC %/Universal):
22968         Generate test-result files for UTC and Universal.
22970 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22972         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22974 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
22976         [BZ #16350]
22977         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
22978         for arguments with small absolute value.
22979         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
22980         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
22981         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
22982         (__asinh): Force underflow exception for arguments with small
22983         absolute value.
22984         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
22985         (__asinhf): Force underflow exception for arguments with small
22986         absolute value.
22987         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
22988         (__asinhl): Force underflow exception for arguments with small
22989         absolute value.
22990         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
22991         (__asinhl): Force underflow exception for arguments with small
22992         absolute value.
22993         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
22994         (__asinhl): Force underflow exception for arguments with small
22995         absolute value.
22996         * math/auto-libm-test-in: Do not mark underflow exceptions as
22997         possibly missing for bug 16350.
22998         * math/auto-libm-test-out: Regenerated.
23000         * include/bits/ipc.h: Remove file.
23001         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
23002         variable.
23003         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
23004         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
23005         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
23006         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
23007         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
23008         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
23009         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
23010         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
23011         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
23013         * math/auto-libm-test-in: Remove spurious underflow allowance for
23014         tests of cexp.
23015         * math/auto-libm-test-out: Regenerated.
23017         [BZ #18558]
23018         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
23019         unconditional definition.
23020         (MCAST_BLOCK_SOURCE): Likewise.
23021         (MCAST_UNBLOCK_SOURCE): Likewise.
23022         (MCAST_LEAVE_GROUP): Likewise.
23023         (MCAST_JOIN_SOURCE_GROUP): Likewise.
23024         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
23025         (MCAST_MSFILTER): Likewise.
23026         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
23027         Remove variable.
23028         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
23029         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
23030         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
23031         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
23032         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
23034 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
23036         * NEWS: Mention addition of x86_64 vector sincosf.
23037         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
23038         * math/test-float-vlen4.h: Likewise.
23039         * math/test-float-vlen8.h: Likewise.
23040         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
23041         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
23042         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23043         * sysdeps/x86_64/fpu/Versions: New versions added.
23044         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23045         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23046         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23047         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
23048         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
23049         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
23050         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
23051         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
23052         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
23053         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
23054         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
23055         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
23056         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
23057         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
23058         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
23059         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
23060         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
23061         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
23062         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23063         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
23064         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23065         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
23066         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23067         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23069         * NEWS: Mention addition of x86_64 vector sincos.
23070         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
23071         * math/math.h (__MATHDECL_VEC): New macro.
23072         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
23073         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
23074         declaration under condition.
23075         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
23076         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
23077         TEST_VEC_LOOP change.
23078         * math/test-double-vlen4.h: Likewise.
23079         * math/test-double-vlen8.h: Likewise.
23080         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
23081         * math/test-float-vlen4.h: Likewise.
23082         * math/test-float-vlen8.h: Likewise.
23083         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
23084         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
23085         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23086         * sysdeps/x86_64/fpu/Versions: New versions added.
23087         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23088         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23089         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23090         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
23091         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
23092         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
23093         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
23094         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
23095         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
23096         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
23097         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
23098         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
23099         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
23100         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
23101         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
23102         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
23103         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
23104         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23105         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23106         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23107         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23108         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23109         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23110         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23112         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
23113         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
23114         redirections for powf.
23115         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23116         * sysdeps/x86_64/fpu/Versions: New versions added.
23117         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23118         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23119         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23120         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
23121         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
23122         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
23123         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
23124         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
23125         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
23126         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
23127         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
23128         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
23129         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
23130         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
23131         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
23132         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
23133         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
23134         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
23135         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23136         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
23137         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23138         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
23139         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23140         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23141         * math/test-float-vlen16.h: Fixed 2 argument macro.
23142         * math/test-float-vlen4.h: Likewise.
23143         * math/test-float-vlen8.h: Likewise.
23144         * NEWS: Mention addition of x86_64 vector powf.
23146 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
23148         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23149         and redefine.
23150         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23151         and redefine.
23152         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
23153         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23154         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23156         [BZ #18553]
23157         * resource/getpriority.c (getpriority): Rename to __getpriority
23158         and define as weak alias of __getpriority.
23159         * resource/setpriority.c (setpriority): Rename to __setpriority
23160         and define as weak alias of __setpriority.
23161         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
23162         __getpriority and define as weak alias of __getpriority.
23163         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
23164         __setpriority and define as weak alias of __setpriority.
23165         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
23166         strong name.
23167         (setpriority): Use __setpriority as strong name.
23168         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
23169         __getpriority and define as weak alias of __getpriority.
23170         * include/sys/resource.h (__getpriority): Declare.  Use
23171         libc_hidden_proto.
23172         (__setpriority): Likewise.
23173         (getpriority): Don't use libc_hidden_proto.
23174         (setpriority): Likewise.
23175         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
23176         getpriority.  Call __setpriority instead of setpriority.
23177         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
23178         Remove variable.
23180         [BZ #18547]
23181         * misc/getttyent.c (getttynam): Rename to __getttynam and define
23182         as weak alias of __getttynam.  Use prototype function definition.
23183         Call __setttyent, __getttyent and __endttyent instead of
23184         setttyent, getttyent and endttyent.
23185         (getttyent): Rename to __getttyent and define as weak alias of
23186         __getttyent.  Call __setttyent instead of setttyent.  Call
23187         __fgets_unlocked instead of fgets_unlocked.
23188         (setttyent): Rename to __setttyent and define as weak alias of
23189         __setttyent.
23190         (endttyent): Rename to __endttyent and define as weak alias of
23191         __endttyent.
23192         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
23193         (__setttyent): Likewise.
23194         (__endttyent): Likewise.
23195         (getttyent): Don't use libc_hidden_proto.
23196         (setttyent): Likewise.
23197         (endttyent): Likewise.
23198         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
23199         __endttyent instead of setttyent, getttyent and endttyent.
23200         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
23201         Remove variable.
23203         [BZ #18546]
23204         * socket/recv.c (__recv): Use libc_hidden_def.
23205         * socket/socket.c (__socket): Likewise.
23206         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
23207         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
23208         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
23209         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
23210         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
23211         libc_hidden_def.
23212         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
23213         libc_hidden_weak.
23214         * include/sys/socket.h (__socket): Do not use attribute_hidden.
23215         Use libc_hidden_proto.
23216         (__recv): Likewise.
23217         * socket/Versions (libc): Export __recv and __socket at version
23218         GLIBC_PRIVATE.
23219         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
23220         instead of recv.
23221         (init_mq_netlink): Call __socket instead of socket.
23222         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
23223         Remove variable.
23225         [BZ #18545]
23226         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
23227         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
23228         hidden_weak.
23229         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
23230         define as alias of __mq_timedsend.  Use hidden_weak.
23231         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
23232         __mq_timedsend as strong name.
23233         (mq_timedreceive): Use __mq_timedreceive as strong name.
23234         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
23235         (__mq_timedreceive): Likewise.
23236         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
23237         __mq_timedreceive instead of mq_timedreceive.
23238         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
23239         instead of mq_timedsend.
23240         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
23241         Remove variable.
23243         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
23244         hidden_def and hidden_weak instead of libc_hidden_def and
23245         libc_hidden_weak.
23246         (top level): Refer to hidden_def in comment.
23247         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
23248         macro.  Use it instead of libc_hidden_def.
23249         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
23250         specify __GI_* name explicitly.
23251         (mq_timedreceive): Likewise.
23252         (mq_setattr): Likewise.
23254         [BZ #18544]
23255         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
23256         __pthread_barrier_init and define as weak alias of
23257         __pthread_barrier_init.
23258         * sysdeps/sparc/nptl/pthread_barrier_init.c
23259         (pthread_barrier_init): Likewise.
23260         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
23261         __pthread_barrier_wait and define as weak alias of
23262         __pthread_barrier_wait.
23263         * sysdeps/sparc/nptl/pthread_barrier_wait.c
23264         (pthread_barrier_wait): Likewise.
23265         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
23266         (pthread_barrier_wait): Likewise.
23267         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
23268         (pthread_barrier_wait): Likewise.
23269         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
23270         (pthread_barrier_wait): Likewise.
23271         * nptl/Versions (libpthread): Export __pthread_barrier_init and
23272         __pthread_barrier_wait at version GLIBC_PRIVATE.
23273         * include/pthread.h (__pthread_barrier_init): Declare.
23274         (__pthread_barrier_wait): Likewise.
23275         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
23276         Call __pthread_barrier_wait instead of pthread_barrier_wait.
23277         (helper_thread): Likewise.
23278         (init_mq_netlink): Call __pthread_barrier_init instead of
23279         pthread_barrier_init.
23281         [BZ #18542]
23282         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
23283         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
23284         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
23285         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
23286         vswscanf.
23287         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
23288         Remove variable.
23290         [BZ #18540]
23291         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
23292         strong alias of _IO_fflush.  Use libc_hidden_def.
23293         * libio/iofflush_u.c (fflush_unlocked): Rename to
23294         __fflush_unlocked and define as weak alias of __fflush_unlocked.
23295         Use libc_hidden_weak.
23296         * include/stdio.h (__fflush_unlocked): Declare.  Use
23297         libc_hidden_proto.
23298         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
23299         fflush_unlocked.
23300         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
23301         Remove variable.
23303         [BZ #18539]
23304         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
23305         define as weak alias of __addseverity.
23306         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
23307         Remove variable.
23308         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
23309         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
23310         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
23312         [BZ #18536]
23313         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
23314         (__tfind): Likewise.
23315         (__tdelete): Likewise.
23316         (__twalk): Likewise.
23317         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
23318         __twalk to GLIBC_PRIVATE.
23319         * include/search.h (__tsearch): Use libc_hidden_proto.
23320         (__tfind): Likewise.
23321         (__tdelete): Likewise.
23322         (__twalk): Likewise.
23323         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
23324         Call __tdelete instead of tdelete.
23325         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
23326         tfind.  Call __tsearch instead of tsearch.
23327         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
23328         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
23329         Remove variable.
23330         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
23332         [BZ #18534]
23333         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
23334         (dprintf): Define as a weak alias of __dprintf, not a strong
23335         alias.
23336         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
23337         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
23338         dprintf.
23339         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
23340         Remove variable.
23341         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
23342         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
23344         [BZ #18533]
23345         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
23346         not a strong alias.
23347         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
23348         Remove variable.
23350         [BZ #18532]
23351         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
23352         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
23353         (in6addr_loopback): Rename to __in6addr_loopback and define as
23354         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
23355         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
23356         libc_hidden_proto.
23357         (__in6addr_any): Likewise.
23358         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
23359         in6addr_any.
23360         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
23361         variable.
23362         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
23364 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
23366         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
23367         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
23368         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23369         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
23370         redirections for pow.
23371         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23372         * sysdeps/x86_64/fpu/Versions: New versions added.
23373         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23374         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23375         build of SSE, AVX2 and AVX512 IFUNC versions.
23376         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
23377         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
23378         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
23379         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
23380         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
23381         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
23382         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
23383         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
23384         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
23385         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
23386         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
23387         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
23388         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
23389         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
23390         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23391         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23392         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23393         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23394         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23395         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23396         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23397         * NEWS: Mention addition of x86_64 vector pow.
23399         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
23400         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
23401         redirections for expf.
23402         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23403         * sysdeps/x86_64/fpu/Versions: New versions added.
23404         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23405         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23406         build of SSE, AVX2 and AVX512 IFUNC versions.
23407         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
23408         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
23409         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
23410         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
23411         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
23412         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
23413         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
23414         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
23415         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
23416         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
23417         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
23418         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
23419         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
23420         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
23421         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23422         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
23423         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23424         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
23425         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23426         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23427         * NEWS: Mention addition of x86_64 vector expf.
23429         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
23430         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
23431         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23432         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
23433         redirections for exp.
23434         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23435         * sysdeps/x86_64/fpu/Versions: New versions added.
23436         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23437         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23438         build of SSE, AVX2 and AVX512 IFUNC versions.
23439         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
23440         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
23441         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
23442         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
23443         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
23444         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
23445         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
23446         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
23447         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
23448         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
23449         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
23450         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
23451         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
23452         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23453         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23454         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23455         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23456         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23457         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23458         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23459         * NEWS: Mention addition of x86_64 vector exp.
23461         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
23462         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
23463         redirections for logf.
23464         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23465         * sysdeps/x86_64/fpu/Versions: New versions added.
23466         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23467         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23468         build of SSE, AVX2 and AVX512 IFUNC versions.
23469         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
23470         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
23471         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
23472         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
23473         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
23474         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
23475         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
23476         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
23477         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
23478         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
23479         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
23480         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
23481         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
23482         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
23483         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23484         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
23485         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23486         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
23487         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23488         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23489         * NEWS: Mention addition of x86_64 vector logf.
23491         * bits/libm-simd-decl-stubs.h: Added stubs for log.
23492         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
23493         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23494         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
23495         redirections for log.
23496         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23497         * sysdeps/x86_64/fpu/Versions: New versions added.
23498         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23499         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23500         build of SSE, AVX2 and AVX512 IFUNC versions.
23501         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
23502         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
23503         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
23504         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
23505         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
23506         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
23507         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
23508         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
23509         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
23510         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
23511         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
23512         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
23513         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
23514         test.
23515         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23516         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23517         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23518         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23519         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23520         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23521         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23522         * NEWS: Mention addition of x86_64 vector log.
23524 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23526         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
23527         cfi_adjust_cfa_offset argument.
23528         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
23529         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
23531         [BZ #18034]
23532         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
23533         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
23534         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
23535         ordering using ldar.
23536         (_dl_tlsdesc_dynamic): Likewise.
23537         (_dl_tlsdesc_return_lazy): Likewise.
23538         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
23539         relaxed atomics instead of volatile and synchronize with release store.
23540         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
23541         volatile.
23542         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23544 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
23546         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
23547         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
23548         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23549         * sysdeps/x86_64/fpu/Versions: New versions added.
23550         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23551         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23552         build of SSE, AVX2 and AVX512 IFUNC versions.
23553         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
23554         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
23555         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
23556         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
23557         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
23558         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
23559         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
23560         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
23561         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
23562         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
23563         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
23564         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
23565         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
23566         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
23567         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23568         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
23569         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23570         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
23571         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23572         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23573         * NEWS: Mention addition of x86_64 vector sinf.
23575 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
23577         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
23578         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
23579         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
23580         Remove variable.
23581         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
23582         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
23584 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
23586         [BZ #18530]
23587         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
23588         strong alias of _IO_fputs.  Use libc_hidden_def.
23589         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
23590         and define as weak alias of __fputs_unlocked.  Use
23591         libc_hidden_weak.
23592         * include/stdio.h (__fputs_unlocked): Declare.  Use
23593         libc_hidden_proto.
23594         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
23595         fputs_unlocked.
23597         [BZ #18529]
23598         * resolv/netdb.h [__USE_POSIX]: Change condition to
23599         [__USE_XOPEN2K].
23600         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
23601         not expect.
23602         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
23603         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
23604         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
23605         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
23606         [XPG4 || UNIX98] (AI_ALL): Likewise.
23607         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
23608         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
23609         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
23610         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
23611         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
23612         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
23613         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
23614         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
23615         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
23616         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
23617         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
23618         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
23619         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
23620         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
23621         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
23622         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
23623         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
23624         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
23625         [XPG4 || UNIX98] (gai_strerror): Likewise.
23626         [XPG4 || UNIX98] (getaddrinfo): Likewise.
23627         [XPG4 || UNIX98] (getnameinfo): Likewise.
23629         [BZ #18528]
23630         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
23631         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
23632         __USE_XOPEN2K8].
23633         (getgrent): Likewise.
23634         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
23635         expect.
23636         [XPG3 || POSIX2008] (endgrent): Likewise.
23637         [XPG3] (setgrent): Likewise.
23638         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
23639         variable.
23640         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
23642         [BZ #18527]
23643         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
23644         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
23645         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
23646         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
23647         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
23648         * include/unistd.h (__getlogin_r): Declare.  Use
23649         libc_hidden_proto.
23650         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
23651         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
23652         variable.
23653         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
23654         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
23655         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
23657 2015-06-12  Martin Sebor  <msebor@redhat.com>
23659         [BZ #18512]
23660         * Makerules (check-install-supported): New target.
23661         (install): Add check-install-supported as a dependency.
23662         * manual/install.texi (Installing the C Library): Document
23663         that overriding prefix and exec_prefix is not supported.
23664         Mention DESTDIR.
23665         * INSTALL: Regenerate from the above.
23667 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
23669         [BZ #18519]
23670         * posix/Versions (libc): Export __libc_pread at version
23671         GLIBC_PRIVATE.
23672         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
23673         instead of pread.
23674         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
23675         variable.
23677         [BZ #18522]
23678         * misc/efgcvt_r.c
23679         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
23680         (cvt_symbol): Use weak_alias instead of strong_alias.
23681         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
23682         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
23683         Remove variable.
23684         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
23685         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
23687         [BZ #18520]
23688         * inet/herrno.c (h_errno): Rename to __h_errno.
23689         (__libc_h_errno): Define as alias of __h_errno not h_errno.
23690         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
23691         to __h_errno instead of h_errno.
23692         * nptl/herrno.c (h_errno): Rename to __h_errno.
23693         (__h_errno_location): Refer to __h_errno not h_errno.
23694         * resolv/Versions (h_errno): Rename to __h_errno.
23695         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
23696         Remove variable.
23697         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
23699 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
23701         * configure.ac: More strict check for AVX512 assembler support.
23702         * configure: Regenerated.
23704         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
23705         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
23706         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23707         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
23708         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23709         * sysdeps/x86_64/fpu/Versions: New versions added.
23710         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23711         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23712         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23713         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
23714         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
23715         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
23716         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
23717         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
23718         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
23719         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
23720         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
23721         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
23722         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
23723         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
23724         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
23725         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
23726         test.
23727         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23728         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23729         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23730         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23731         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23732         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23733         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23734         * NEWS: Mention addition of x86_64 vector sin.
23736 2015-06-11  Florian Weimer  <fweimer@redhat.com>
23738         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
23739         comment.
23741 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
23743         [BZ #18479]
23744         * nptl/pt-interp.c: New file.
23745         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
23746         Add pt-interp.
23747         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
23748         $(common-objpfx)runtime-linker.h.
23750 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
23752         * Makeconfig (+interp): Remove unused variable.
23753         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
23754         only.  Depend on $(common-objpfx)runtime-linker.h instead of
23755         $(elf-objpfx)runtime-linker.h.
23756         ($(elf-objpfx)runtime-linker.h): Rename to
23757         $(common-objpfx)runtime-linker.h and move ...
23758         * Makerules [$(build-shared) = yes]: ... here.
23759         * elf/interp.c: Include <runtime-linker.h> instead of
23760         <elf/runtime-linker.h>.
23762 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23764         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
23765         (__gettimeofday_syscall): Remove vsyscall fallback.
23766         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
23767         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
23768         Add syscall fallback function.
23769         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
23770         if vDSO is not present.
23771         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
23772         fallback function.
23773         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
23774         present.
23775         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
23776         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23778 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
23780         [BZ #18497]
23781         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
23782         of wcscmp.
23783         (wcscmp): Define as weak alias of WCSCMP.
23784         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
23785         wcscoll.
23786         (USE_HIDDEN_DEF): Define.
23787         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
23788         __wcscoll.  Don't use libc_hidden_weak.
23789         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
23790         wcscmp.
23791         * sysdeps/i386/i686/multiarch/wcscmp-c.c
23792         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
23793         __GI_wcscmp.
23794         (weak_alias): Undefine and redefine.
23795         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
23796         __wcscmp and define as weak alias of __wcscmp.
23797         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
23798         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
23799         (__wcscoll): Likewise.
23800         (wcscmp): Don't use libc_hidden_proto.
23801         (wcscoll): Likewise.
23802         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
23803         wcscoll.
23804         * posix/regexec.c (check_node_accept_bytes): Likewise.
23805         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
23806         variable.
23807         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
23808         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
23810         [BZ #18507]
23811         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
23812         __fstatvfs and define as weak alias of __fstatvfs.  Use
23813         libc_hidden_weak.
23814         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
23815         and define as weak alias of __statvfs.  Use libc_hidden_weak.
23816         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
23817         Define as alias of __fstatvfs, not fstatvfs.
23818         (fstatvfs64): Likewise.
23819         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
23820         Define as alias of __statvfs, not statvfs.
23821         (statvfs64): Likewise.
23822         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
23823         Remove variable.
23825 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23828         (HAVE_GETCPU_VSYSCALL): Define.
23829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23830         (HAVE_GETCPU_VSYSCALL): Likewise.
23831         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
23832         * sysdeps/unix/sysv/linux/sched_getcpu.c
23833         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
23834         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
23835         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
23836         prototype.
23837         * sysdeps/unix/sysv/linux/x86_64/init-first.c
23838         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
23839         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
23840         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
23841         Define.
23842         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
23843         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23844         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
23845         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23847 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
23849         * sysdeps/x86_64/fpu/Makefile: New file.
23850         * sysdeps/x86_64/fpu/Versions: New file.
23851         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
23852         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
23853         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
23854         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
23855         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
23856         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
23857         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
23858         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
23859         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
23860         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
23861         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
23862         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
23863         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
23864         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23865         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23866         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
23867         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
23868         * sysdeps/x86_64/configure.ac: Options for libmvec build.
23869         * sysdeps/x86_64/configure: Regenerated.
23870         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
23871         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
23872         * manual/install.texi (Configuring and compiling): Document
23873         --disable-mathvec.
23874         * INSTALL: Regenerated.
23875         * NEWS: Mention addition of libmvec and x86_64 vector cos.
23877         * math/Makefile: Added rules for vector tests.
23878         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
23879         declaration under condition.
23880         * math/test-double-vlen2.h: New file.
23881         * math/test-double-vlen4.h: New file.
23882         * math/test-double-vlen8.h: New file.
23883         * math/test-vec-loop.h: Added initialization macro.
23884         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
23885         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
23886         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
23887         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
23888         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
23889         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
23890         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
23891         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
23892         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
23893         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
23894         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
23896         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23897         * sysdeps/x86_64/fpu/Versions: New versions added.
23898         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
23899         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
23900         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
23901         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
23902         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
23903         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
23904         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
23905         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
23906         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
23907         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
23908         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
23909         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
23910         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
23911         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23912         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23913         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23914         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
23915         * NEWS: Mention addition of x86_64 vector cosf.
23917         * math/Makefile: Added CFLAGS for new tests.
23918         * math/test-float-vlen16.h: New file.
23919         * math/test-float-vlen4.h: New file.
23920         * math/test-float-vlen8.h: New file.
23921         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
23922         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
23923         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23924         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
23925         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
23926         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
23927         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
23928         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
23929         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
23930         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
23931         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
23933 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
23935         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
23936         * locale/programs/ld-ctype.c: Likewise.
23938 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
23940         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
23941         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
23942         bit_ZMM16_31_state): New macro.
23943         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23944         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
23946 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
23948         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
23950 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
23952         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
23954 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
23956         [BZ #18498]
23957         * libio/memstream.c (open_memstream): Rename to __open_memstream
23958         and define as weak alias of __open_memstream.
23959         * include/stdio.h (__open_memstream): Declare.  Use
23960         libc_hidden_proto.
23961         (open_memstream): Don't use libc_hidden_proto.
23962         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
23963         open_memstream.
23964         * posix/getopt.c (_getopt_internal_r): Likewise.
23965         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
23966         variable.
23967         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
23968         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
23969         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
23971         [BZ #18496]
23972         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
23973         instead of wcrtomb.
23975         [BZ #18483]
23976         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
23977         [__USE_XOPEN2K8].  Remove redundant #endif.
23978         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
23979         Remove redundant #if.
23980         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
23981         Remove variable.
23982         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
23983         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
23985         [BZ #18495]
23986         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
23987         (__iswlower): Likewise.
23988         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
23989         (__iswlower): Likewise.
23990         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
23991         instead of towlower.
23992         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
23993         instead of iswlower.  Call __towupper instead of towupper.
23994         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
23995         instead of iswalnum.
23997 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23999         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
24000         errors to stderr.
24002 2015-06-05  Florian Weimer  <fweimer@redhat.com>
24004         [BZ #15661]
24005         [BZ #17322]
24006         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
24007         Check for overflow properly.  Check for O_APPEND.  Ignore large
24008         file system block sizes.  Add comments about problems.
24009         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
24010         * manual/filesys.texi (Storage Allocation): New node.
24012 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24014         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
24015         cancellable syscalls.
24016         (SYS_ify): Add guard to no redefine it.
24017         (INLINE_SYSCALL): Likewise.
24018         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
24019         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
24020         SYSCALL_CANCEL instead.
24021         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
24022         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
24023         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
24024         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
24025         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
24026         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
24027         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
24028         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
24029         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
24030         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
24031         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
24032         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
24033         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
24034         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
24035         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
24036         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
24037         Likewise.
24038         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
24039         (__libc_pread64): Likewise.
24040         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
24041         (__libc_preadv): Likewise.
24042         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
24043         (__libc_readv64): Likewise.
24044         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
24045         (__libc_pwrite): Likewise.
24046         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
24047         (__libc_pwrite64): Likewise.
24048         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
24049         (__libc_pwritev): Likewise.
24050         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
24051         (__libc_pwritev64): Likewise.
24052         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
24053         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
24054         (sync_file_range): Likewise.
24055         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
24056         Likewise.
24057         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
24058         Likewise.
24059         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
24060         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
24061         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
24062         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
24063         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
24064         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
24065         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
24066         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
24067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
24068         Likewise.
24069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24070         (__libc_read64): Likewise.
24071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
24072         Likewise.
24073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
24074         Likewise.
24075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
24076         Likewise.
24077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
24078         Likewise.
24079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24080         (__libc_pread64): Likewise.
24081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
24082         Likewise.
24083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24084         (__libc_pwrite64): Likewise.
24085         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
24086         (sync_file_range): Likewise.
24087         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
24088         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
24089         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
24090         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
24091         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
24092         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
24093         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
24094         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
24095         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
24096         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
24097         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24098         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
24099         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
24100         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
24101         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
24102         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
24103         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
24104         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24105         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
24106         Likewise.
24107         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
24108         Likewise.
24109         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
24110         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
24111         Likewise.
24112         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
24113         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
24114         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
24115         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
24116         Likewise.
24117         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
24118         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
24119         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
24120         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
24121         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
24123 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
24125         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
24126         Include dl-vdso.
24127         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
24128         Use VDSO routines for gettimeofday, clock_gettime if
24129         available.
24130         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
24131         Declare VDSO symbols.
24132         * sysdeps/unix/sysv/linux/arm/sysdep.h:
24133         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
24134         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
24135         * sysdeps/unix/sysv/linux/arm/Versions: Add
24136         __vdso_clock_gettime.
24138 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24140         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
24141         be an inline implementation regardless of library is built within.
24142         (open_not_cancel_2): Likewise.
24143         (__read_nocancel): Likewise.
24144         (__write_nocancel): Likewise.
24145         (openat_not_cancel): Likewise.
24146         (openat_not_cancel_3): Likewise.
24147         (openat64_not_cancel): Likewise.
24148         (openat64_not_cancel_3): Likewise.
24149         (__close_nocancel): Likewise.
24150         (pause_not_cancel): Likewise.
24151         (nanosleep_not_cancel): Likewise.
24152         (sigsuspend_not_cancel): Likewise.
24154 2015-06-04  Torvald Riegel  <triegel@redhat.com>
24156         [BZ #14958]
24157         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
24158         wake-up.
24159         (__pthread_rwlock_rdlock_slow): Likewise.
24160         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
24161         Likewise.
24162         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
24163         Likewise.
24164         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
24165         * nptl/tst-rwlock16.c: New file.
24166         * nptl/Makefile (tests): Add new test.
24168 2015-06-04  Torvald Riegel  <triegel@redhat.com>
24170         [BZ #18324]
24171         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
24172         missing wake-up of readers.
24173         * nptl/tst-rwlock15.c: New file.
24174         * nptl/Makefile (tests): Add new test.
24176 2015-06-03  Roland McGrath  <roland@hack.frob.com>
24178         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
24179         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
24180         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
24181         and __nacl_supply_interface_rtld.
24182         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
24183         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
24184         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
24185         Add __nacl_supply_interface_rtld.
24186         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
24188 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
24190         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
24191         isfinite.
24192         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24193         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
24195 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
24197         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
24198         __signbit* with standard C99 macros.
24199         * math/e_exp10l.c: Likewise.
24200         * math/e_exp2l.c: Likewise.
24201         * math/e_scalb.c: Likewise.
24202         * math/e_scalbf.c: Likewise.
24203         * math/e_scalbl.c: Likewise.
24204         * math/s_ldexp.c: Likewise.
24205         * math/s_ldexpf.c: Likewise.
24206         * math/s_ldexpl.c: Likewise.
24207         * math/w_atan2.c: Likewise.
24208         * math/w_atan2f.c: Likewise.
24209         * math/w_atan2l.c: Likewise.
24210         * math/w_cosh.c: Likewise.
24211         * math/w_coshf.c: Likewise.
24212         * math/w_coshl.c: Likewise.
24213         * math/w_exp10.c: Likewise.
24214         * math/w_exp10f.c: Likewise.
24215         * math/w_exp10l.c: Likewise.
24216         * math/w_exp2.c: Likewise.
24217         * math/w_exp2f.c: Likewise.
24218         * math/w_exp2l.c: Likewise.
24219         * math/w_fmod.c: Likewise.
24220         * math/w_fmodf.c: Likewise.
24221         * math/w_fmodl.c: Likewise.
24222         * math/w_hypot.c: Likewise.
24223         * math/w_hypotf.c: Likewise.
24224         * math/w_hypotl.c: Likewise.
24225         * math/w_jnl.c: Likewise.
24226         * math/w_lgamma.c: Likewise.
24227         * math/w_lgamma_r.c: Likewise.
24228         * math/w_lgammaf.c: Likewise.
24229         * math/w_lgammaf_r.c: Likewise.
24230         * math/w_lgammal.c: Likewise.
24231         * math/w_lgammal_r.c: Likewise.
24232         * math/w_pow.c: Likewise.
24233         * math/w_powf.c: Likewise.
24234         * math/w_powl.c: Likewise.
24235         * math/w_remainder.c: Likewise.
24236         * math/w_remainderf.c: Likewise.
24237         * math/w_remainderl.c: Likewise.
24238         * math/w_scalb.c: Likewise.
24239         * math/w_scalbf.c: Likewise.
24240         * math/w_scalbl.c: Likewise.
24241         * math/w_scalbln.c: Likewise.
24242         * math/w_scalblnf.c: Likewise.
24243         * math/w_scalblnl.c: Likewise.
24244         * math/w_sinh.c: Likewise.
24245         * math/w_sinhf.c: Likewise.
24246         * math/w_sinhl.c: Likewise.
24247         * math/w_tgamma.c: Likewise.
24248         * math/w_tgammaf.c: Likewise.
24249         * math/w_tgammal.c: Likewise.
24250         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24251         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
24252         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24253         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24254         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24255         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24256         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24257         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
24258         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24259         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24260         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24261         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24262         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24263         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24264         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24265         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24266         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24267         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24268         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24269         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24270         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24271         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24272         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24273         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24274         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24275         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24276         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
24277         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24278         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24279         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24280         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
24281         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
24282         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
24283         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
24284         * stdio-common/printf_fp.c: Likewise.
24285         * stdio-common/printf_fphex.c: Likewise.
24286         * stdio-common/printf_size.c: Likewise.
24288 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
24290         [BZ #18470]
24291         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
24292         strnlen.
24293         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
24294         Remove variable.
24295         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
24296         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
24297         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
24298         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
24299         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
24300         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
24301         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
24302         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
24303         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
24304         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
24306         [BZ #18468]
24307         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
24308         weak alias of __wmemchr.  Use libc_hidden_weak.
24309         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
24310         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
24311         instead of wmemchr.
24313 2015-06-02  Roland McGrath  <roland@hack.frob.com>
24315         [BZ #18383]
24316         * elf/tst-tlsalign-extern.c: New file.
24317         * elf/tst-tlsalign-extern-static.c: New file.
24318         * elf/tst-tlsalign-vars.c: New file.
24319         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
24320         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
24321         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
24322         ($(objpfx)tst-tlsalign-extern-static): Likewise.
24323         (test-xfail-tst-tlsalign-extern-static): New variable.
24325 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
24327         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
24328         Use variable name _sc_err instead of err.
24329         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
24330         instead of ret.
24331         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
24332         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
24333         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
24334         (INLINE_SYSCALL): Likewise.
24336         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
24337         * include/string.h (__strnlen): Use libc_hidden_proto.
24338         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
24339         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
24340         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
24341         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
24342         (libc_hidden_def): Undefine and redefine.
24343         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
24344         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
24345         __GI_strnlen.
24346         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
24347         libc_hidden_def.
24348         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
24350         [BZ #18469]
24351         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
24352         weak alias of __towlower.  Use libc_hidden_weak.
24353         (towupper): Rename to __towupper and define as weak alias of
24354         __towupper.  Use libc_hidden_weak.
24355         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
24356         (__towupper): Likewise.
24357         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
24358         __towlower instead of towlower.
24360 2015-06-02  Roland McGrath  <roland@hack.frob.com>
24362         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
24363         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
24365 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24367         * sysdeps/aarch64/libm-test-ulps: Update.
24369 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24371         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
24372         Define.
24373         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
24374         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
24375         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
24376         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
24377         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
24378         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
24379         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
24381 2015-06-01  Martin Sebor  <msebor@redhat.com>
24383         [BZ #18116]
24384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
24385         (__setcontext): Use extended four-operand version of mtsf whenever
24386         possible.
24387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
24388         (__novec_swapcontext): Likewise.
24390 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24392         * benchtests/scripts/compare_bench.py: New file.
24393         * benchtests/scripts/import_bench.py (mean): New function.
24394         (split_list): Likewise.
24395         (do_for_all_timings): Likewise.
24396         (compress_timings): Likewise.
24398         * benchtests/scripts/import_bench.py: New file.
24399         * benchtests/scripts/validate_benchout.py: Import import_bench
24400         instead of jsonschema.
24401         (validate_bench): Remove function.
24402         (main): Use import_bench.
24404 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
24406         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
24407         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
24409 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24411         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24413 2015-05-28  Roland McGrath  <roland@hack.frob.com>
24415         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
24416         set THREAD_SELF->tid to a magic value and futex-wake it.
24417         Pass its address to the thread_exit system call.
24418         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
24419         bit is clear.
24420         * sysdeps/nacl/lowlevellock.h: New file.
24421         * sysdeps/nacl/lll_timedwait_tid.c: New file.
24423         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
24424         Add TIMEOUT to current time, don't subtract it.
24426 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
24428         [BZ #2981]
24429         [BZ #18422]
24430         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
24431         ($(objpfx)tst-audit2.out): Also depend on
24432         $(objpfx)tst-auditmod9b.so.
24433         * elf/tst-audit2.c: Include <dlfcn.h>.
24434         (calloc_called): New.
24435         (calloc): Allow to be called more than once.
24436         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
24438 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
24440         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
24441         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
24443 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
24445         * stdlib/monetary.h: Fix comment.
24447 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
24449         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
24450         Avoid using variables in #defines that might cause shadowing.
24451         (INTERNAL_VSYSCALL_CALL): Likewise.
24453 2015-05-26  Roland McGrath  <roland@hack.frob.com>
24455         * sysdeps/nacl/lll_timedlock_wait.c: New file.
24457         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
24458         * nptl/lll_timedlock_wait.c: ... to this new file.
24459         * nptl/Makefile (libpthread-routines): Add it.
24460         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
24461         * nptl/lll_timedwait_tid.c: ... to this new file.
24462         * nptl/Makefile (libpthread-routines): Add it.
24463         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
24464         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
24465         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
24466         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
24467         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
24468         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
24469         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
24470         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
24471         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
24472         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
24474 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24476         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
24477         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24478         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
24479         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
24480         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
24481         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24482         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
24483         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24484         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
24485         * sysdeps/unix/sysv/linux/tile/sysdep.h
24486         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
24487         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
24488         using vDSO syscall macro.
24490 2015-05-26  Andriy Rysin  <arysin@gmail.com>
24492         [BZ #17293]
24493         * uk_UA: Fix sorting order for Ukrainian locale
24495 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
24497         * stdlib/monetary.h: Fix comment.
24499 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24501         [BZ #18234]
24502         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
24503         st_mtim and st_ctim members.
24504         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
24505         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
24506         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
24507         (struct stat64): Likewise.
24508         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
24509         (struct stat64): Likewise.
24510         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
24511         (struct stat64): Likewise.
24513 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24515         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
24516         Define and include sysdep-vdso.h.
24517         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
24518         Likewise.
24519         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
24520         Likewise.
24521         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
24522         Define with VDSO_SYMBOL and use PTR_MANGLE.
24523         (__vdso_clock_gettime): Likewise.
24524         (__vdso_clock_getres): Likewise.
24525         (_libc_vdso_platform_setup): Likewise.
24526         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
24527         Likewise.
24528         (_libc_vdso_platform_setup): Likewise.
24529         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
24530         Likewise.
24531         (__vdso_clock_gettime): Likewise.
24532         (__vdso_clock_getres): Likewise.
24533         (__vdso_get_tbfreq): Likewise.
24534         (__vdso_getcpu): Likewise.
24535         (__vdso_time): Likewise.
24536         (__vdso_sigtramp_rt64): Likewise.
24537         (__vdso_signtramp32): Likewise.
24538         (__vdso_sigtramp_rt32): Likewise.
24539         (_libc_vdso_platform_setup): Likewise.
24540         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
24541         Likewise.
24542         (__vdso_clock_gettime): Likewise.
24543         (__vdso_clock_getres): Likewise.
24544         (_libc_vdso_platform_setup): Likewise.
24545         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
24546         Likewise.
24547         (__vdso_clock_gettime): Likewise.
24548         (_libc_vdso_platform_setup): Likewise.
24549         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
24550         Likewise.
24551         (__vdso_getcpu): Likewise.
24552         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
24553         Use VDSO_SYMBOL macro to define.
24554         (__vdso_clock_gettime): Likewise.
24555         (__vdso_clock_getres): Likewise.
24556         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
24557         Likewise.
24558         (__vdso_clock_gettime): Likewise.
24559         (__vdso_clock_getres): Likewise.
24560         (__vdso_get_tbfreq): Likewise.
24561         (__vdso_getcpu): Likewise.
24562         (__vdso_time): Likewise.
24563         (__vdso_sigtramp_rt64): Likewise.
24564         (__vdso_signtramp32): Likewise.
24565         (__vdso_sigtramp_rt32): Likewise.
24566         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
24567         Likewise.
24568         (__vdso_clock_gettime): Likewise.
24569         (__vdso_clock_getres): Likewise.
24570         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
24571         Likewise.
24572         (__vdso_clock_gettime): Likewise.
24573         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
24574         Likewise.
24575         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
24576         macro.
24577         (INTERNAL_VSYSCALL): Likewise.
24578         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
24579         Remove macro.
24580         (INTERNAL_VSYSCALL): Likewise.
24581         (INTERNAL_VSYSCALL_NCS): Likewise.
24582         (INTERNAL_VSYSCALL_CALL): New macro.
24583         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
24584         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
24585         Likewise.
24586         (INTERNAL_VSYSCALL): Likewise.
24587         (INTERNAL_VSYSCALL_NCS): Likewise.
24588         (INTERNAL_VSYSCALL_CALL): New macro.
24589         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
24590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24591         (INLINE_VSYSCALL): Remove macro.
24592         (INTERNAL_VSYSCALL): Remove macro.
24593         (INTERNAL_VSYSCALL_NCS): Remove macro.
24594         (INTERNAL_VSYSCALL_CALL): New macro.
24595         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
24596         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
24597         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
24598         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
24599         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
24600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24601         (INLINE_VSYSCALL): Remove macro.
24602         (INTERNAL_VSYSCALL): Likewise.
24603         (INTERNAL_VSYSCALL_NCS): Likewise.
24604         (INTERNAL_VSYSCALL_CALL): New macro.
24605         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
24606         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
24607         PTR_DEMANGLE on vDSO pointer.
24608         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
24609         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
24610         macro.
24611         (INTERNAL_SYSCALL): Likewise.
24612         (INTERNAL_VSYSCALL_NCS): Remove macro.
24613         (INTERNAL_VSYSCALL_CALL): New macro.
24614         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
24615         Remove macro.
24616         (INTERNAL_VSYSCALL): Likewise.
24617         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
24618         sysdep-vdso.h instead of libc-vdso.h.
24619         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
24620         definition.
24621         (INLINE_VSYSCALL): Likewise.
24622         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
24623         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
24624         definition.
24625         (INLINE_VSYSCALL): Likewise.
24626         (INTERNAL_VSYSCALL): Likewise.
24627         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
24628         * sysdeps/unix/sysv/linux/timespec_get.c
24629         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
24630         (timespec_get): Use ANSI prototype.
24631         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
24632         and definition for Linux.
24634 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
24636         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
24637         * include/libc-symbols.h: libmvec_hidden_* macro series added.
24639 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24641         [BZ #2981]
24642         [BZ #18410]
24643         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
24644         for missing DT_PLTRELSZ.
24646 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
24648         Remove obsolete aliases that broke 'locale -a'
24649         [BZ #18412]
24650         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
24651         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
24652         breaking some applications that use 'locale -a' output.
24653         Change the encoding of this file from Latin-1 to ASCII to avoid
24654         other potential problems with people grepping this file.
24656 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24658         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
24659         -fasynchronous-unwind-tables.
24660         (CFLAGS-sendto.c): Likewise.
24661         (CFLAGS-sendmsg.c): Likewise.
24662         (CFLAGS-connect.c): Likewise.
24663         (CFLAGS-recvmsg.c): Likewise.
24664         (CFLAGS-recvfrom.c): Likewise.
24665         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
24666         (SOCKETCALL): New macro: non-cancellable socketcall.
24667         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
24668         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
24669         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
24670         * sysdeps/unix/sysv/linux/accept.c: New file.
24671         * sysdeps/unix/sysv/linux/bind.c: Likewise.
24672         * sysdeps/unix/sysv/linux/connect.c: Likewise.
24673         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
24674         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
24675         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
24676         * sysdeps/unix/sysv/linux/listen.c: Likewise.
24677         * sysdeps/unix/sysv/linux/recv.c: Likewise.
24678         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
24679         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
24680         * sysdeps/unix/sysv/linux/send.c: Likewise.
24681         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
24682         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
24683         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
24684         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
24685         * sysdeps/unix/sysv/linux/socket.c: Likewise.
24686         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
24687         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
24688         prototype.
24689         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
24690         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
24691         instead of __internal_xxx function.
24692         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
24693         prototype.
24694         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
24695         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
24696         instead of __internal_xxx function.
24697         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
24698         prototype.
24699         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
24700         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
24701         instead of __internal_xxx function.
24702         * sysdeps/unix/sysv/linux/accept.S: Remove file.
24703         * sysdeps/unix/sysv/linux/bind.S: Likewise.
24704         * sysdeps/unix/sysv/linux/connect.S: Likewise.
24705         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
24706         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
24707         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
24708         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
24709         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
24710         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
24711         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
24712         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
24713         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
24714         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
24715         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
24716         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
24717         * sysdeps/unix/sysv/linux/listen.S: Likewise.
24718         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
24719         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
24720         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
24721         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
24722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
24723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
24724         * sysdeps/unix/sysv/linux/recv.S: Likewise.
24725         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
24726         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
24727         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
24728         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24729         * sysdeps/unix/sysv/linux/send.S: Likewise.
24730         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
24731         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
24732         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
24733         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
24734         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
24735         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
24736         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
24737         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
24738         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
24739         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
24740         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
24741         socketcall is implemented in GLIBC.
24743 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
24745         * soft-fp/fmadf4.c: Include <libc-internal.h>.
24746         (__fma): Ignore uninitialized warnings around packing.
24747         * soft-fp/fmasf4.c: Include <libc-internal.h>.
24748         (__fmaf): Ignore uninitialized warnings around packing.
24749         * soft-fp/fmatf4.c: Include <libc-internal.h>.
24750         (__fmal): Ignore uninitialized warnings around packing.
24752         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
24753         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24754         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
24755         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24757         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
24758         switch statement into default case.
24759         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
24761         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
24762         a conditional in forcing "inexact".
24763         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24764         Likewise.
24766 2015-05-22  Roland McGrath  <roland@hack.frob.com>
24768         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24769         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
24770         for each INTERNAL_SYSCALL use.
24772 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
24774         [BZ #438]
24775         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
24776         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
24777         variable.
24779         [BZ #18444]
24780         * string/basename.c (basename): Rename to __basename and define as
24781         weak alias of __basename.  Use libc_hidden_weak.
24782         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
24783         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
24784         __basename instead of basename.
24785         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
24786         Remove variable.
24787         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
24789 2015-05-18  Florian Weimer  <fweimer@redhat.com>
24791         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
24792         (_IO_JUMPS_FILE_plus): New.
24793         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
24794         _IO_CAST_FIELD_ACCESS.
24795         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
24796         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
24797         * libio/freopen.c (freopen): Likewise.
24798         * libio/freopen64.c (freopen64): Likewise.
24799         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
24800         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
24801         * libio/iofwide.c (_IO_fwide): Likewise.
24802         * libio/memstream.c (open_memstream): Likewise.
24803         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24804         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
24805         * libio/oldiopopen.c (_IO_old_popen): Likewise.
24807 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
24809         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
24810         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
24811         NADJ.
24812         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
24813         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
24814         NADJ.
24815         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
24816         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
24817         NADJ.
24819         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
24820         (p == 4) case.
24822         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
24823         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
24824         Remove variable.
24825         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
24826         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
24827         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
24829 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24831         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
24832         Adjust jump table label generation macros.
24834 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24836         * stdio-common/vfprintf.c (vfprintf): Move local variables
24837         args_malloced, specs, specs_malloced, and the code after
24838         do_positional to the printf_positional function.
24839         (printf_positional): New function.
24841 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24843         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
24844         function.
24845         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
24846         STEP4_TABLE, process_arg): Move macro definitions
24847         out of the vfprintf function.  (Cosmetic change only.)
24849 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
24851         * benchtests/Makefile (stdio-common-bench): Define.
24852         (benchset): Add stdio-common-bench.
24853         * sprintf-inputs: New file.
24854         * sprintf-source.c: New file.
24856 2015-05-21  Andreas Schwab  <schwab@suse.de>
24858         [BZ #13028]
24859         [BZ #17053]
24860         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
24861         of struct __res_state.
24862         * resolv/res_send.c (__libc_res_nsend): Likewise.
24863         (get_nsaddr): New function.
24864         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
24865         statp directly.
24867 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
24869         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
24870         -D_POSIX_C_SOURCE=199506L.
24872         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
24874         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
24875         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
24876         Do not mention otherwise.
24877         [POSIX] (_XOPEN_VERSION): Do not expect.
24878         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
24879         [POSIX] (_POSIX2_C_BIND): Likewise.
24880         [POSIX] (_POSIX2_VERSION): Likewise.
24881         [POSIX] (_XOPEN_XPG2): Likewise.
24882         [POSIX] (_XOPEN_XPG3): Likewise.
24883         [POSIX] (_XOPEN_XPG4): Likewise.
24884         [POSIX] (_XOPEN_UNIX): Likewise.
24885         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
24886         [POSIX] (_POSIX_BARRIERS): Likewise.
24887         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
24888         [POSIX] (_POSIX_CPUTIME): Likewise.
24889         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
24890         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
24891         [POSIX] (_POSIX_SHELL): Likewise.
24892         [POSIX] (_POSIX_SPAWN): Likewise.
24893         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
24894         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
24895         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
24896         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
24897         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
24898         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
24899         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
24900         [POSIX] (_XBS5_LP64_OFF64): Likewise.
24901         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
24902         [POSIX] (_POSIX_TIMEOUTS): Likewise.
24903         [POSIX] (_POSIX2_PBS): Likewise.
24904         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
24905         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
24906         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
24907         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
24908         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
24909         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
24910         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
24911         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
24912         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
24913         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
24914         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
24915         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
24916         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
24917         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
24918         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
24919         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
24920         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
24921         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
24922         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
24923         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
24924         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
24925         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
24926         [POSIX] (_SC_2_C_BIND): Likewise.
24927         [POSIX] (_SC_2_C_VERSION): Likewise.
24928         [POSIX] (_SC_2_PBS): Likewise.
24929         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
24930         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
24931         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
24932         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
24933         [POSIX] (_SC_2_PBS_TRACK): Likewise.
24934         [POSIX] (_SC_ATEXIT_MAX): Likewise.
24935         [POSIX] (_SC_BARRIERS): Likewise.
24936         [POSIX] (_SC_BASE): Likewise.
24937         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
24938         [POSIX] (_SC_DEVICE_IO): Likewise.
24939         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
24940         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
24941         [POSIX] (_SC_FD_MGMT): Likewise.
24942         [POSIX] (_SC_FIFO): Likewise.
24943         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
24944         [POSIX] (_SC_FILE_LOCKING): Likewise.
24945         [POSIX] (_SC_FILE_SYSTEM): Likewise.
24946         [POSIX] (_SC_IOV_MAX): Likewise.
24947         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
24948         [POSIX] (_SC_NETWORKING): Likewise.
24949         [POSIX] (_SC_PAGE_SIZE): Likewise.
24950         [POSIX] (_SC_PASS_MAX): Likewise.
24951         [POSIX] (_SC_PIPE): Likewise.
24952         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
24953         [POSIX] (_SC_REGEXP): Likewise.
24954         [POSIX] (_SC_SHELL): Likewise.
24955         [POSIX] (_SC_SIGNALS): Likewise.
24956         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
24957         [POSIX] (_SC_SPIN_LOCKS): Likewise.
24958         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
24959         [POSIX] (_SC_USER_GROUPS): Likewise.
24960         [POSIX] (_SC_USER_GROUPS_R): Likewise.
24961         [POSIX] (_SC_STREAMS): Likewise.
24962         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
24963         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
24964         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
24965         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
24966         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
24967         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
24968         [POSIX] (_PC_FILESIZEBITS): Likewise.
24969         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
24970         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
24971         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
24972         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
24973         [POSIX] (uid_t): Likewise.
24974         [POSIX] (gid_t): Likewise.
24975         [POSIX] (off_t): Likewise.
24976         [POSIX] (pid_t): Likewise.
24977         [POSIX] (cuserid): Allow.
24978         (_SC_2_CHAR_TERM): Require constant.
24979         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
24980         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
24981         variable.
24983 2015-05-20  Roland McGrath  <roland@hack.frob.com>
24985         * sysdeps/nacl/pthread-pids.h: New file.
24986         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
24987         (create_thread): Use __nacl_get_tid to initialize PD->tid.
24989         * nptl/pthread-pids.h: New file.
24990         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
24991         * nptl/nptl-init.c: Include <pthread-pids.h>.
24992         (__pthread_initialize_minimal_internal):
24993         Call __pthread_initialize_pids instead of set_tid_address syscall.
24995         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
24996         * sysdeps/posix/usleep.c: ... here.
24998 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25000         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
25001         call_pselect6 object.
25002         [$(subdir) = io]: Remove call_sync_file_range object.
25003         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
25004         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
25005         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
25006         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
25008 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
25010         * math/s_cproj.c: Add include "math_private.h".
25011         * math/s_cprojf.c: Likewise.
25012         * math/s_cprojl.c: Likewise.
25014 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
25016         [BZ #18244]
25017         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
25018         high mantissa bit when testing whether P is a NaN.
25019         * math/libm-test.inc (remainder_test_data): Add more tests.
25020         (remquo_test_data): Likewise.
25022         [BZ #18049]
25023         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
25024         below -32, return the argument, with underflow if subnormal.
25025         * math/auto-libm-test-in: Add more tests of atanh.
25026         * math/auto-libm-test-out: Regenerated.
25028 2015-05-19  Roland McGrath  <roland@hack.frob.com>
25030         [BZ #18434]
25031         * nptl/tst-sem15.c: New file.
25032         * nptl/Makefile (tests): Add it.
25033         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
25034         s/<</>>/ to fix typo in EOVERFLOW check.
25035         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
25037 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25039         * manual/strings.texi (envz_remove): Fix typo in safety
25040         annotations.
25042 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
25043             Steve Ellcey  <sellcey@imgtec.com>
25045         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
25046         in order to avoid strict alias warnings.
25047         (iruserok_af): Ditto for ra.
25049 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
25051         [BZ #17581]
25052         * malloc/hooks.c
25053         (magicbyte): Convert to a function and avoid returning 0x01.
25054         (mem2mem_check): Avoid using a length byte equal to the magic byte.
25055         (mem2chunk_check): Fix unsigned comparisons to zero.
25056         Hoist defs of sz and magic.
25058 2015-05-19  Richard Henderson  <rth@redhat.com>
25060         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
25062         * sysdeps/alpha/fpu/libm-test-ulps: Update.
25064 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25066         [BZ #16159]
25067         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
25068         * malloc/arena.c (arena_lock): Check if arena is corrupt.
25069         (reused_arena): Find a non-corrupt arena.
25070         (heap_trim): Pass arena to unlink.
25071         * malloc/hooks.c (malloc_check_get_size): Pass arena to
25072         malloc_printerr.
25073         (top_check): Likewise.
25074         (free_check): Likewise.
25075         (realloc_check): Likewise.
25076         * malloc/malloc.c (malloc_printerr): Add arena argument.
25077         (unlink): Likewise.
25078         (munmap_chunk): Adjust.
25079         (ARENA_CORRUPTION_BIT): New macro.
25080         (arena_is_corrupt): Likewise.
25081         (set_arena_corrupt): Likewise.
25082         (sysmalloc): Use mmap if there are no usable arenas.
25083         (_int_malloc): Likewise.
25084         (__libc_malloc): Don't fail if arena_get returns NULL.
25085         (_mid_memalign): Likewise.
25086         (__libc_calloc): Likewise.
25087         (__libc_realloc): Adjust for additional argument to
25088         malloc_printerr.
25089         (_int_free): Likewise.
25090         (malloc_consolidate): Likewise.
25091         (_int_realloc): Likewise.
25092         (_int_memalign): Don't touch corrupt arenas.
25093         * malloc/tst-malloc-backtrace.c: New test case.
25095         * Makefile (summarize-tests): Fix return value on success.
25097         * manual/string.texi (Envz Functions): Add envz_remove.
25099 2015-05-18  Roland McGrath  <roland@hack.frob.com>
25101         * sysdeps/posix/opendir.c: Include <stdbool.h>.
25102         (invalid_name): New function, broken out of ...
25103         (__opendirat): ... here.  Call it.
25104         (need_isdir_precheck): New function, broken out of ...
25105         (__opendirat): ... here.  Call it.
25106         Use __fxstatat64, not __xstatat64.
25107         (opendir_oflags): New function, broken out of ...
25108         (__opendirat): ... here.  Call it.
25109         (opendir_tail): New function, broken out of ...
25110         (__opendirat): ... here.  Call it.
25111         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
25112         opendir_tail, rather than punting to __opendirat.
25113         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
25115 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25117         * .gitignore: Ignore generated *.pyc.
25119 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
25121         * include/stdio.h: Define __need_wint_t.
25122         * test-skeleton.c: Avoid `for' loop initial declaration.
25123         * nptl/tst-initializers1.c: Use test-skeleton.c.
25125 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25127         [BZ #18418]
25128         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
25130 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
25132         [BZ #16352]
25133         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
25134         (__ieee754_atanh): Force underflow exception for results with
25135         small absolute value.
25136         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
25137         (__ieee754_atanhf): Force underflow exception for results with
25138         small absolute value.
25139         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
25140         (__ieee754_atanh): Force underflow exception for results with
25141         small absolute value.
25142         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
25143         (__ieee754_atanhf): Force underflow exception for results with
25144         small absolute value.
25145         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
25146         (__ieee754_atanhl): Force underflow exception for results with
25147         small absolute value.
25148         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
25149         (__ieee754_atanhl): Force underflow exception for results with
25150         small absolute value.
25151         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
25152         (__ieee754_atanhl): Force underflow exception for results with
25153         small absolute value.
25154         * math/auto-libm-test-in: Do not allow missing underflow
25155         exceptions from atanh.
25156         * math/auto-libm-test-out: Regenerated.
25158         [BZ #18221]
25159         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
25160         2**-28 as threshold for returning x or +/- 1/x.
25161         * math/auto-libm-test-in: Add more tests of tan.
25162         * math/auto-libm-test-out: Regenerated.
25164         [BZ #18220]
25165         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25166         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
25167         * math/auto-libm-test-in: Add another test of lgamma.
25168         * math/auto-libm-test-out: Regenerated.
25170 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
25172         * stdio-common/printf_fp.c (___printf_fp): Use abs.
25173         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
25174         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
25175         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
25176         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
25177         (ADD2A): Use fabs.  (SUB2A): Use fabs.
25178         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
25179         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
25180         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
25181         (log1): Use fabs.  (my_log2): Use fabs.
25182         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
25183         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
25184         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
25185         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
25186         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
25187         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
25188         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
25189         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
25190         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
25191         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
25192         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
25194 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
25196         [BZ #18217]
25197         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
25198         as threshold for returning 1 - x.
25199         * math/auto-libm-test-in: Add more tests of erfc.
25200         * math/auto-libm-test-out: Regenerated.
25202 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
25204         [BZ #18196]
25205         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
25206         threshold for large arguments.
25207         * math/auto-libm-test-in: Add another test of atan.
25208         * math/auto-libm-test-out: Regenerated.
25210         [BZ #16339]
25211         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
25212         (__log1p): Force underflow exception for results with small
25213         absolute value.
25214         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
25215         (__log1pf): Force underflow exception for results with small
25216         absolute value.
25217         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
25218         (__log1p): Force underflow exception for results with small
25219         absolute value.
25220         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
25221         (__log1pf): Force underflow exception for results with small
25222         absolute value.
25223         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
25224         (__log1pl): Force underflow exception for results with small
25225         absolute value.
25226         * math/auto-libm-test-in: Do not allow missing underflow
25227         exceptions from log1p.
25228         * math/auto-libm-test-out: Regenerated.
25230 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
25231             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25233         [BZ #16704]
25234         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
25236 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
25238         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
25239         (libmvec): New variable.
25240         * configure.ac: Added option for mathvec build.
25241         * configure: Regenerated.
25242         * mathvec/Depend: New file.
25243         * mathvec/Makefile: New file.
25244         * shlib-versions: Added libmvec.
25245         * math/Makefile: Added rule for libm.so installation.
25247         * bits/math-vector.h: New file.
25248         * bits/libm-simd-decl-stubs.h: New header.
25249         * math/Makefile (headers): Added new header
25250         libm-simd-decl-stubs.h.
25251         * math/math.h (__MATHCALL_VEC): New macro.
25253         * math/gen-libm-have-vector-test.sh: Script generates series of macros
25254         for conditions in testing functions.
25255         * math/Makefile: Added call of libm-have-vector-test.sh.
25256         * math/libm-test.inc (HAVE_VECTOR): New macros.
25258         * math/libm-test.inc: START refactored.
25259         * math/test-double.c (TEST_MATHVEC): Add define.
25260         * math/test-float.c: Likewise.
25261         * math/test-idouble.c: Likewise.
25262         * math/test-ifloat.c: Likewise.
25263         * math/test-ildoubl.c: Likewise.
25264         * math/test-ldouble.c: Likewise.
25265         * sysdeps/generic/math-tests-arch.h
25266         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
25267         architecture check.
25269         * math/test-double.c (FUNC_TEST): New macro.
25270         * math/test-float.c: Likewise.
25271         * math/test-idouble.c: Likewise.
25272         * math/test-ifloat.c: Likewise.
25273         * math/test-ildoubl.c: Likewise.
25274         * math/test-ldouble.c: Likewise.
25275         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
25277 2015-05-13  Roland McGrath  <roland@hack.frob.com>
25279         * sysdeps/nacl/fdopendir.c: New file.
25281         * dirent/scandir-tail.c: New file.
25282         * dirent/scandir64-tail.c: New file.
25283         * dirent/Makefile (routines): Add them.
25284         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
25285         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
25286         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
25287         [!SCANDIR] (SCANDIR_TAIL): New macro.
25288         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
25289         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
25290         (SCANDIRAT): Macro removed.
25291         (SCANDIR_TAIL): New macro.
25292         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
25293         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
25294         (SCANDIRAT): Just call __opendirat and __scandir_tail.
25295         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
25296         (READDIR): Macro removed.
25297         (SCANDIR_TAIL): New macro.
25298         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
25299         (SCANDIR_TAIL): New macro.
25301         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
25302         * dirent/scandir-cancel.c: ... to this new file.
25303         * dirent/Makefile (routines): Add it.
25304         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
25305         * sysdeps/unix/sysv/linux/i386/scandir64.c
25306         (SKIP_SCANDIR_CANCEL): Macro removed.
25307         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
25309         * dirent/tst-scandir.c: New file.
25310         * dirent/tst-scandir64.c: New file.
25311         * dirent/Makefile (tests): Add them.
25313 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
25315         [BZ #18409]
25316         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
25318 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25320         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
25321         list.
25323 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
25325         * benchtests/bench-strcoll.c: New benchmark.
25326         * benchtests/Makefile: Generate locales and run benchmark.
25327         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
25328         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
25329         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
25330         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
25331         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
25332         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
25333         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
25334         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
25335         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
25336         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
25337         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
25338         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
25339         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
25340         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
25341         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
25342         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
25343         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
25344         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
25345         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
25346         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
25347         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
25348         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
25349         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
25350         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
25352 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
25354         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
25355         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25357 2015-05-12  Roland McGrath  <roland@hack.frob.com>
25359         * posix/uname-values.h: New file.
25360         * posix/uname.c: Include that instead of <config-name.h>.
25361         * sysdeps/nacl/uname-values.h: New file.
25362         * sysdeps/arm/nacl/uname-values.h: New file.
25364 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
25366         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
25367         splitting into fields.
25369 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
25371         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
25372         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
25373         * locale/localeinfo.h: Add enum collation_encoding_type.
25374         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
25375         * programs/ld-collate.c (collate_output): Add encoding type info.
25376         * string/strcoll_l.c (STRDIFF): New function.
25377         * (STRCOLL): Use STRDIFF to skip over equal prefix.
25378         * wcsmbs/wcscoll_l.c: Define STRDIFF.
25380 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
25382         [BZ #18397]
25383         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
25384         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
25385         <fpu_control.h> instead of <math/fpu_control.c>.
25386         * sysdeps/mips/mips32/fpu/Makefile: New file.
25388 2015-05-11  Andreas Schwab  <schwab@suse.de>
25390         [BZ #18007]
25391         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
25392         nss_endgrent.
25393         (_nss_compat_endgrent): Call nss_endgrent.
25394         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
25395         nss_endpwent.
25396         (_nss_compat_endpwent): Call nss_endpwent.
25397         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
25398         needent, call nss_setspent only if non-zero.
25399         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
25400         (internal_endspent): Don't call nss_endspent.
25401         (_nss_compat_endspent): Call nss_endspent.
25402         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
25403         Remove.  All uses removed.
25404         (internal_setent): Remove parameter stayopen, add parameter
25405         stream.  Use it instead of global variable.
25406         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
25407         (internal_endent, internal_getent): Add parameter stream.  Use it
25408         instead of global variable.
25409         (CONCAT(_nss_files_end,ENTNAME))
25410         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
25411         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
25412         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
25413         uses removed.
25414         (internal_setent, internal_endent): Add parameter stream.  Use it
25415         instead of global variable.
25416         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
25417         stream.
25418         (get_next_alias): Add parameter stream.
25419         (_nss_files_getaliasent_r): Pass global stream.
25420         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
25421         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
25422         (_nss_files_gethostbyname4_r): Pass local stream to
25423         internal_setent, internal_getent and internal_endent.  Remove
25424         locking.
25426 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25428         * tst-strfmon1.c (tests): Update expected currency symbol.
25430 2015-05-08  Roland McGrath  <roland@hack.frob.com>
25432         * sysdeps/nacl/gethostname.c: New file.
25434 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
25436         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
25437         and sinh.
25438         * math/auto-libm-test-out: Regenerated.
25439         * sysdeps/i386/fpu/libm-test-ulps: Update.
25440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25442 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
25444         [BZ #18125]
25445         * stdlib/tst-setcontext3.c: New file.
25446         * stdlib/tst-setcontext3.sh: New file.
25447         * stdlib/Makefile (tests): Add tst-setcontext3.
25448         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
25449         to verify test program created output file.
25450         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
25451         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
25452         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
25453         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
25455 2015-05-06  Roland McGrath  <roland@hack.frob.com>
25457         [BZ #18383]
25458         * elf/tst-tlsalign.c: New file.
25459         * elf/tst-tlsalign-static.c: New file.
25460         * elf/tst-tlsalign-lib.c: New file.
25461         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
25462         (tests-static): Add tst-tlsalign-static.
25463         (modules-names): Add tst-tlsalign-lib.
25464         (test-xfail-tst-tlsalign): New variable.
25465         (test-xfail-tst-tlsalign-static): New variable.
25467         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
25468         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
25470 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
25472         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
25473         csqrt, erfc, sin and sincos.
25474         * math/auto-libm-test-out: Regenerated.
25475         * sysdeps/i386/fpu/libm-test-ulps: Update.
25476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25478 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25480         * sysdeps/aarch64/libm-test-ulps: Update.
25482 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
25484         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
25485         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
25486         * math/auto-libm-test-out: Regenerated.
25487         * sysdeps/i386/fpu/libm-test-ulps: Update.
25488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25490 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
25492         [BZ #18265]
25493         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
25494         (wcsncpy): Likewise.
25496 2015-05-05  Florian Weimer  <fweimer@redhat.com>
25498         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25499         Assume __ASSUME_FALLOCATE is always true.
25500         * sysdeps/unix/sysv/linux/posix_fallocate64.c
25501         (__posix_fallocate64_l64): Likweise.
25502         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
25503         (posix_fallocate): Likewise.
25504         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
25505         (__posix_fallocate64_l64): Likewise.
25506         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25507         [!__ASSUME_FALLOCATE]: Add comment.
25509 2015-05-05  Florian Weimer  <fweimer@redhat.com>
25511         * sysdeps/unix/sysv/linux/i386/Makefile
25512         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
25513         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
25514         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
25515         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25516         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25517         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
25518         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
25520 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
25522         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
25523         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
25524         tgamma.
25525         * math/auto-libm-test-out: Regenerated.
25526         * sysdeps/i386/fpu/libm-test-ulps: Update.
25527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25529 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
25531         * math/auto-libm-test-in: Add more tests of tgamma.
25532         * math/auto-libm-test-out: Regenerated.
25533         * sysdeps/i386/fpu/libm-test-ulps: Update.
25534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25536         * math/auto-libm-test-in: Add more tests of tanh.
25537         * math/auto-libm-test-out: Regenerated.
25538         * sysdeps/i386/fpu/libm-test-ulps: Update.
25539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25541         * math/auto-libm-test-in: Add more tests of tan.
25542         * math/auto-libm-test-out: Regenerated.
25543         * sysdeps/i386/fpu/libm-test-ulps: Update.
25544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25546         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
25547         * math/auto-libm-test-out: Regenerated.
25548         * sysdeps/i386/fpu/libm-test-ulps: Update.
25549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25551         * math/auto-libm-test-in: Add another test of pow.
25552         * math/auto-libm-test-out: Regenerated.
25553         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25555         * math/auto-libm-test-in: Add more tests of lgamma.
25556         * math/auto-libm-test-out: Regenerated.
25557         * sysdeps/i386/fpu/libm-test-ulps: Update.
25558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25560         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
25561         log1p.
25562         * math/auto-libm-test-out: Regenerated.
25563         * sysdeps/i386/fpu/libm-test-ulps: Update.
25564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25566 2015-05-01  Mark Wielaard  <mjw@redhat.com>
25568         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
25569         Elf64_Chdr structs and ELFCOMPRESS constants.
25571 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
25573         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
25574         expm1.
25575         * math/auto-libm-test-out: Regenerated.
25576         * sysdeps/i386/fpu/libm-test-ulps: Update.
25577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25579         * math/auto-libm-test-in: Add more tests of erf and erfc.
25580         * math/auto-libm-test-out: Regenerated.
25581         * sysdeps/i386/fpu/libm-test-ulps: Update.
25582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25584 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25586         * config.h.in (HAVE_AARCH64_BE): Add.
25588 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
25590         * math/auto-libm-test-in: Add more tests of csqrt.
25591         * math/auto-libm-test-out: Regenerated.
25592         * sysdeps/i386/fpu/libm-test-ulps: Update.
25593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25595         * math/auto-libm-test-in: Add more tests of cosh and sinh.
25596         * math/auto-libm-test-out: Regenerated.
25597         * sysdeps/i386/fpu/libm-test-ulps: Update.
25598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25600         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
25602 2015-04-29  Roland McGrath  <roland@hack.frob.com>
25604         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
25605         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
25607         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
25608         (euidaccess, eaccess): Define as weak aliases.
25610         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
25611         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
25612         but __suseconds_t is often 'long int' so some sources assume that
25613         type is being used (e.g. they use %ld to print tv_usec).
25615 2015-04-29  Florian Weimer  <fweimer@redhat.com>
25617         [BZ #18007]
25618         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
25619         (CVE-2014-8121)
25620         * nss/tst-nss-getpwent.c: New file.
25621         * nss/Makefile (tests): Add new test.
25623 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
25625         [BZ #18346]
25626         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
25627         exponents less than 48 as cases where high part of mantissa needs
25628         examining to determine whether argument is integral.
25629         * math/libm-test.inc (round_test_data): Add more tests.
25631 2015-04-28  Mark Wielaard  <mjw@redhat.com>
25633         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
25635 2015-04-27  David S. Miller  <davem@davemloft.net>
25637         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
25638         __tls_get_addr.
25639         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
25641 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
25643         [BZ#18333]
25644         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
25646 2015-04-27  Florian Weimer  <fweimer@redhat.com>
25648         [BZ#18333]
25649         * time/tzset.c (parse_tzname): Return error on memory allocation
25650         failure.
25651         * test-skeleton.c (struct temp_name_list): Change type of name
25652         member to non-const.
25653         (add_temp_file): Create a copy of the file name.
25654         (delete_temp_files): Deallocate memory.
25655         (create_temp_file): Add comment.
25657 2015-04-24  Florian Weimer  <fweimer@redhat.com>
25659         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
25660         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
25662 2015-04-24  Roland McGrath  <roland@hack.frob.com>
25664         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
25665         * sysdeps/arm/configure: Regenerated.
25667 2015-04-24  Florian Weimer  <fweimer@redhat.com>
25669         [BZ #17715]
25670         * time/tzfile.c (__tzfile_read): Check for large values of
25671         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
25672         * time/tzset.c (__tzstring_len): New function, based on the old
25673         __tzstring function.
25674         (__tzstring): Call __tzstring_len.
25675         (parse_tzname): New helper function extracted from
25676         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
25677         the input string.
25678         (parse_offset): New helper function extracted from
25679         __tzset_parse_tz.  Replace switch with fallthrough with
25680         initialization before sscanf.
25681         (parse_rule): Likewise.
25682         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
25683         new-style function definition.
25684         * timezone/Makefile (tests): Add tst-tzset.
25685         (tst-tzset.out): Dependencies on time zone files.
25686         (tst-tzset-ENV): Set TZDIR.
25687         (testdata/XT%): Copy crafted time zone files.
25688         * timezone/README: Mention crafted time zone files.
25689         * timezone/testdata/XT1, timezone/testdata/XT2,
25690         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
25691         files.
25692         * timezone/tst-tzset.c: New test.
25694 2015-04-24  Florian Weimer  <fweimer@redhat.com>
25696         * Makeconfig (+gccwarn): Remove -Winline.
25698 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
25700         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
25702 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
25704         * NEWS: Mention sysconf() cache information support for s390.
25705         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
25707 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
25709         * math/k_casinh.c (__kernel_casinh): Use __copysign.
25710         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
25711         (__nearbyint): Likewise.
25712         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
25713         (copysignl): Likewise.
25715 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
25717         [BZ #18287]
25718         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
25719         based on padding.  (CVE-2015-1781)
25721 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25723         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
25724         libc-vdso.h.
25725         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
25726         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
25727         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
25728         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
25729         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
25730         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
25731         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
25732         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
25733         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25734         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
25735         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
25736         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25737         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
25738         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
25739         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
25740         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
25741         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
25742         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
25743         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
25744         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
25745         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
25746         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
25747         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
25749 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
25751         * stdlib/setenv.c (__add_to_environ):
25752         Dump core quickly if setenv (..., NULL, ...) is called.
25753         This time, do it the right way, and pacify GCC with a pragma.
25755 2015-04-17  Roland McGrath  <roland@hack.frob.com>
25757         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
25758         IMAP->l_prev cannot be null, and #if out the code for the contrary
25759         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
25760         believe that NS (&_dl_ns[NSID]) could point outside the array.
25762         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
25763         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
25764         before using NSID as an index.
25766 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
25768         [BZ #17825]
25769         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
25770         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
25771         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25773 2015-04-17  Roland McGrath  <roland@hack.frob.com>
25775         Add preliminary port to Google Native Client on ARM.
25776         * abi-tags (.*-.*-nacl.*): New entry.
25777         * sysdeps/arm/nacl: New directory.
25778         * sysdeps/nacl: New directory.
25780 2015-04-16  David S. Miller  <davem@davemloft.net>
25782         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
25783         lowlevellock-futex.h
25785 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
25787         * sysdeps/tile/configure.ac: New file.
25788         * sysdeps/tile/configure: Regenerated.
25790 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25792         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
25793         conditionals for weak_alias and libc_hidden_weak.
25794         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
25795         libc_hidden_weak and weak_alias.
25796         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
25797         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
25798         and weak_alias for static one.
25800 2015-04-15  David S. Miller  <davem@davemloft.net>
25802         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25804 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25806         [BZ #18206]
25807         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
25808           Use signed comparision instead of substraction to avoid
25809           overflow bug.
25810         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
25811           Take the sign of ret.
25812         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
25813           Do not expect precise return values. Only the sign matters.
25814         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
25815         * wcsmbs/test-wcsncmp.c: New File.
25816         * string/test-strncmp.c: Add wcsncmp support.
25818 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25820         [BZ #6792]
25821         * math/w_log1p.c: New file.
25822         * math/w_log1pf.c: Likewise.
25823         * math/w_log1pl.c: Likewise.
25824         * math/Makefile (libm-calls): Add w_log1p.
25825         * math/s_log1pl.c (log1pl): Remove weak_alias.
25826         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
25827         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
25828         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
25829         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
25830         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
25831         [NO_LONG_DOUBLE] (log1pl): Likewise.
25832         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
25833         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
25834         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
25835         (log1p): Remove long_double_symbol.
25836         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
25837         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
25838         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
25839         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
25840         remove weak_alias for corresponding log1p function.
25841         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
25842         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
25843         * sysdeps/ia64/fpu/w_log1p.c: New file.
25844         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
25845         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
25846         * math/libm-test.inc (log1p_test_data): Add errno expectations.
25848 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
25850         [BZ #18247]
25851         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
25852         decimal exponent by 1.
25853         * stdlib/tst-strtod-round-data: Add more tests.
25854         * stdlib/tst-strtod-round.c (tests): Regenerated.
25856 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
25858         * math/auto-libm-test-in: Add more tests of clog and clog10.
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 2015-04-09  Roland McGrath  <roland@hack.frob.com>
25865         * Makeconfig (module-cppflags): Exclude all .v.i files.
25866         (skip-module-cppflags): Variable removed.
25868         * configure.ac (libc_config_ok): Initialize before reading
25869         preconfigure scripts, not after.
25870         * configure: Regenerated.
25872         * test-skeleton.c (TIMEOUT): Move #define to top level.
25873         (main): Grok environment variable TEST_DIRECT.  If set, print
25874         test expectation details into that file and then behave as if
25875         given --direct.
25877 2015-04-09  Florian Weimer  <fweimer@redhat.com>
25879         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
25880         warning on 32-bit.
25882 2015-04-08  David S. Miller  <davem@davemloft.net>
25884         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25886 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
25888         * math/auto-libm-test-in: Add more tests of atanh.
25889         * math/auto-libm-test-out: Regenerated.
25890         * sysdeps/i386/fpu/libm-test-ulps: Update.
25891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25893         * math/auto-libm-test-in: Add more tests of atan.
25894         * math/auto-libm-test-out: Regenerated.
25895         * sysdeps/i386/fpu/libm-test-ulps: Update.
25896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25898 2015-04-08  Florian Weimer  <fweimer@redhat.com>
25900         * elf/pldd.c (main): Rewrite to use struct
25901         scratch_buffer instead of extend_alloca.
25902         * elf/pldd-xx.c (find_maps): Likewise.
25903         * grp/initgroups.c: Include <scratch_buffer.h> instead of
25904         <alloca.h>.
25905         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
25906         scratch_buffer instead of extend_alloca.
25907         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
25908         grp/compat-initgroups.c.
25909         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
25910         Rewrite to use struct scratch_buffer instead of extend_alloca.
25911         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
25912         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25914 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
25916         * math/auto-libm-test-in: Add more tests of cbrt.
25917         * math/auto-libm-test-out: Regenerated.
25918         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25920         * math/auto-libm-test-in: Add more tests of cabs.
25921         * math/auto-libm-test-out: Regenerated.
25922         * sysdeps/i386/fpu/libm-test-ulps: Update.
25923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25925         [BZ #18210]
25926         [BZ #18211]
25927         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
25928         (__ieee754_atan2): Set FE_TONEAREST mode for internal
25929         computations.
25930         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
25931         clog10.
25932         * math/auto-libm-test-out: Regenerated.
25933         * sysdeps/i386/fpu/libm-test-ulps: Update.
25934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25936         [BZ #18197]
25937         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
25938         (atan): Set FE_TONEAREST mode for internal computations.
25939         * math/auto-libm-test-in: Add more tests of atan.
25940         * math/auto-libm-test-out: Regenerated.
25942 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
25944         [BZ #17930]
25945         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
25947 2015-04-07  Florian Weimer  <fweimer@redhat.com>
25949         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
25951 2015-04-07  Florian Weimer  <fweimer@redhat.com>
25953         * include/scratch_buffer.h: New file.
25954         * malloc/scratch_buffer_grow.c: Likewise.
25955         * malloc/scratch_buffer_grow_preserve.c: Likewise.
25956         * malloc/scratch_buffer_set_array_size.c: Likewise.
25957         * malloc/tst-scratch_buffer.c: Likewise.
25958         * malloc/Makefile (routines): Add scratch_buffer_grow.
25959         (tests): Add test case.
25960         * malloc/Versions (GLIBC_PRIVATE): Export
25961         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
25962         __libc_scratch_buffer_set_array_size.
25964 2015-04-06  Richard Henderson  <rth@redhat.com>
25966         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
25967         * sysdeps/alpha/fpu/libm-test-ulps: Update.
25969         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
25970         unsigned int before printing.
25972 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25974         [BZ #17596]
25975         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
25976         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25978 2015-04-02  Florian Weimer  <fweimer@redhat.com>
25980         * include/libc-internal.h (libc_max_align_t): Define.
25982 2015-04-02  Andreas Schwab  <schwab@suse.de>
25984         [BZ #16850]
25985         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
25987 2015-04-02  Mel Gorman  <mgorman@suse.de>
25989         [BZ #17195]
25990         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
25991         as well as the main arena.
25993 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25995         [BZ #18185]
25996         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
25997         sharing L2 cache to 2 for Silvermont/Knights Landing.
25999 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
26001         [BZ #17711]
26002         * config.make.in (have-protected-data): New.
26003         * configure.ac: Check linker support for protected data symbol.
26004         * configure: Regenerated.
26005         * elf/Makefile (modules-names): Add tst-protected1moda and
26006         tst-protected1modb if $(have-protected-data) is yes.
26007         (tests): Add tst-protected1a and tst-protected1b if
26008         $(have-protected-data) is yes.
26009         ($(objpfx)tst-protected1a): New.
26010         ($(objpfx)tst-protected1b): Likewise.
26011         (tst-protected1modb.so-no-z-defs): Likewise.
26012         * elf/tst-protected1a.c: New file.
26013         * elf/tst-protected1b.c: Likewise.
26014         * elf/tst-protected1mod.h: Likewise.
26015         * elf/tst-protected1moda.c: Likewise.
26016         * elf/tst-protected1modb.c: Likewise.
26018 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
26020         [BZ #17711]
26021         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
26022         indicates it is called from do_lookup_x on relocation against
26023         protected data, skip the data definion in the executable from
26024         copy reloc.
26025         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
26026         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
26027         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
26028         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
26029         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
26030         otherwise to 0.
26031         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
26032         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
26033         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
26034         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
26035         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
26036         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
26038 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
26040         * sysdeps/nptl/pthread.h: Remove duplicate definition of
26041         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
26043 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
26045         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
26046         THREAD_SETMEM_NC.
26047         * sysdeps/x86_64/nptl/tls.h: Ditto.
26049 2015-03-27  Roland McGrath  <roland@hack.frob.com>
26051         * dlfcn/tststatic.c (main): Converted to ...
26052         (do_test): ... this.
26053         (TEST_FUNCTION): New macro.
26054         Include test-skeleton.c.
26056 2015-03-26  Alan Modra  <amodra@gmail.com>
26058         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
26059         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
26060         zero for undefined weak.
26061         (elf_machine_plt_conflict): Similarly.
26063 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
26065         * math/auto-libm-test-in: Add more tests of acosh, asinh and
26066         atanh.
26067         * math/auto-libm-test-out: Regenerated.
26068         * sysdeps/i386/fpu/libm-test-ulps: Update.
26069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26071         * math/auto-libm-test-in: Add another test of asin.
26072         * math/auto-libm-test-out: Regenerated.
26073         * sysdeps/i386/fpu/libm-test-ulps: Update.
26074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26076         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
26077         Remove macro.
26078         (LLL_EBX_REG): Likewise.
26079         (LLL_ENTER_KERNEL): Likewise.
26081         * math/auto-libm-test-in: Add more tests of asin.
26082         * math/auto-libm-test-out: Regenerated.
26083         * sysdeps/i386/fpu/libm-test-ulps: Update.
26084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26086         [BZ #18138]
26087         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
26088         libc_do_syscall_args): New structure.
26089         (INTERNAL_SYSCALL_MAIN_0): New macro.
26090         (INTERNAL_SYSCALL_MAIN_1): Likewise.
26091         (INTERNAL_SYSCALL_MAIN_2): Likewise.
26092         (INTERNAL_SYSCALL_MAIN_3): Likewise.
26093         (INTERNAL_SYSCALL_MAIN_4): Likewise.
26094         (INTERNAL_SYSCALL_MAIN_5): Likewise.
26095         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
26096         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
26097         Replace conditional definitions by conditional definitions of ....
26098         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
26099         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
26100         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
26101         (libpthread-sysdep_routines): Add libc-do-syscall.
26102         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
26103         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
26104         to __NR_futex not 240.
26106 2015-03-25  Alan Modra  <amodra@gmail.com>
26108         * NEWS: Advertise TLS optimization.
26109         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
26110         (DT_PPC_NUM): Increment.
26111         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
26112         (CHECK_STATIC_TLS): Use here.
26113         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
26114         TLS descriptors.
26115         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26116         * sysdeps/powerpc/dl-tls.c: New file.
26117         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
26118         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
26119         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
26120         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
26121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
26122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
26123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
26125 2015-03-25  Alan Modra  <amodra@gmail.com>
26127         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
26128         for overlapping .opd entries" to "support...".
26129         * sysdeps/powerpc/powerpc64/configure: Regenerate
26131 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
26133         * math/auto-libm-test-in: Add more tests of acos.
26134         * math/auto-libm-test-out: Regenerated.
26135         * sysdeps/i386/fpu/libm-test-ulps: Update.
26136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26138         * math/auto-libm-test-in: Add more tests of expm1.
26139         * math/auto-libm-test-out: Regenerated.
26140         * sysdeps/i386/fpu/libm-test-ulps: Update.
26141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26143 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
26145         * math/auto-libm-test-in: Add more tests of cosh and sinh.
26146         * math/auto-libm-test-out: Regenerated.
26147         * sysdeps/i386/fpu/libm-test-ulps: Update.
26148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26150         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26153         * math/auto-libm-test-in: Add more tests of log2.
26154         * math/auto-libm-test-out: Regenerated.
26155         * sysdeps/i386/fpu/libm-test-ulps: Update.
26156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26158 2015-03-23  Roland McGrath  <roland@hack.frob.com>
26160         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
26161         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
26162         _IO_IS_APPENDING bit in READ_WRITE instead.
26164 2015-03-23  Florian Weimer  <fweimer@redhat.com>
26166         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
26167         (__determine_cpumask_size): Replace extend_alloca with a
26168         variable-length array.  Do not treat res == 0 as an error.
26170 2015-03-23  Florian Weimer  <fweimer@redhat.com>
26172         [BZ #18100]
26173         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
26174         and integer overflow.
26175         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
26176         (main): Add integer overflow tests.
26177         * manual/pattern.texi (Calling Wordexp): Document additional use
26178         for WRDE_SYNTAX.
26180 2015-03-23  Alan Modra  <amodra@gmail.com>
26182         * config.h.in: Remove HAVE_ASM_PPC_REL16.
26183         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
26184         and false branch of conditional.
26185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
26186         Likewise.
26188 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
26190         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
26191         libc-modules.h
26192         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
26193         unused declaration of _hurd_intr_rpc_msg_in_trap.
26194         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
26195         defined instead of whether it is non-zero.
26196         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
26197         input constraint instead of both input and output constraint.  Use ecx
26198         clobber instead of %ecx.
26199         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
26200         mutex_unlock): Use a statement expression instead of an expression list.
26201         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
26202         type to vm_size_t instead of vm_address_t.
26203         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
26204         defined instead of whether it is non-zero.
26205         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
26206         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
26207         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
26208         comparisons with mapaddr.
26209         * nscd/nscd-client.h: Include <time.h>.
26210         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
26211         9th parameter to __vm_region instead of int.
26212         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
26213         * scripts/check-local-headers.sh (exclude): Add device/,
26214         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
26215         cthreads.h.
26217 2015-03-19  Roland McGrath  <roland@hack.frob.com>
26219         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
26220         to account for alignment padding.
26221         * sysdeps/arm/memmove.S: Likewise.
26223 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
26225         * sysdeps/unix/sysv/linux/generic/README: New file.
26227 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
26229         [BZ #18138]
26230         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
26231         (futex_abstimed_wait)
26232         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
26233         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
26234         of lll_futex_timed_wait.
26236 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
26238         [BZ #17542]
26239         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
26241 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
26243         [BZ #17090]
26244         [BZ #17620]
26245         [BZ #17621]
26246         [BZ #17628]
26247         * NEWS: Update.
26248         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
26249         entries with Static TLS too.  Skip entries past the end of the
26250         allocated DTV, from Alan Modra.
26251         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
26252         Static TLS DTV entry set up from...
26253         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
26254         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
26255         * nptl/allocatestack.c (init_one_static_tls): ... and here...
26256         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
26257         for Static TLS.
26258         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
26259         that the slot we find is associated with the given map before
26260         using its generation count.
26261         * nptl_db/db_info.c: Include ldsodefs.h.
26262         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
26263         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
26264         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
26265         (link_map::l_tls_offset): New struct field.
26266         (dtv_t::counter): Likewise.
26267         (rtld_global): New struct.
26268         (_rtld_global): New rtld variable.
26269         (dl_tls_dtv_slotinfo_list): New rtld global field.
26270         (dtv_slotinfo_list): New struct.
26271         (dtv_slotinfo): Likewise.
26272         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
26273         (td_lookup): Rename to...
26274         (td_mod_lookup): ... this.  Use new mod parameter instead of
26275         LIBPTHREAD_SO.
26276         * nptl_db/td_thr_tlsbase.c: Include link.h.
26277         (dtv_slotinfo_list, dtv_slotinfo): New functions.
26278         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
26279         addresses even if the DTV is out of date or missing them.
26280         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
26281         index zero-length arrays.
26282         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
26283         (td_lookup): Make it a macro implemented in terms of...
26284         (td_mod_lookup): ... this declaration.
26285         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
26286         (DB_MAIN_VARIABLE): Likewise.
26288 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26290         [BZ #18134]
26291         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
26293 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
26295         * stdlib/setenv.c (__add_to_environ): Revert previous change.
26297 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
26299         [BZ #18128]
26300         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
26301         (atomic_add, atomic_increment_and_test)
26302         (atomic_decrement_and_test): Fix 64-bit arithmetic.
26304 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
26306         * stdlib/setenv.c (__add_to_environ):
26307         Dump core quickly if setenv (..., NULL, ...) is called.
26309 2015-03-13  Roland McGrath  <roland@hack.frob.com>
26311         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
26312         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
26313         all the necessary asm magic in one place.
26314         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
26315         using those.
26317 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
26319         [BZ #14906]
26320         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
26321         traced file mtime. Use consistent log message.
26322         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
26323         (register_traced_file): Call install_watches. Always set mtime.
26324         (invalidate_cache): Iterate over all trace files. Call install_watches.
26325         (inotify_check_files): Don't inline. Handle watching parent
26326         directories and configuration file movement in and out.
26327         (handle_inotify_events): New function.
26328         (main_loop_poll): Call handle_inotify_events.
26329         (main_loop_epoll): Likewise.
26330         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
26331         (struct traced_file): Use array of inotify fds. Add parent directory,
26332         and basename.
26333         (struct database_dyn): Remove unused file_mtime.
26334         (init_traced_file): New inline function.
26335         (define_traced_file): New macro.
26336         * nss/nss_db/db-init.c: Use define_traced_file.
26337         (_nss_db_init): Use init_traced_file.
26338         * nss/nss_files/files-init.c: Use define_traced_file.
26339         (_nss_files_init): Use init_traced_file.
26341 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
26343         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
26344         [_LIBC]: Do not include <stdlib.h>.
26345         [!_LIBC] (abort): Remove declaration.
26346         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
26347         _FP_STATIC_ASSERT instead of conditionally calling abort.
26348         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
26349         (_FP_EXTEND_CNAN): Likewise.
26350         (FP_TRUNC): Likewise.
26351         (__FP_CLZ): Likewise.
26352         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
26354 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
26356         * manual/string.texi (XPG basename): Fix prototype.
26358 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26360         [BZ #18080]
26361         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
26362         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
26363         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
26364         (__setcontext): Likewise.
26365         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
26366         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
26367         Call rt_sigprocmask syscall one time to set new signal mask
26368         and retrieve the current signal mask instead of two calls.
26369         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
26370         (__swapcontext): Likewise.
26371         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
26372         * stdlib/tst-setcontext2.c: New file.
26374 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26376         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26378 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
26380         [BZ #18093]
26381         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
26382         the wrong size.
26384 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
26386         [BZ #18043]
26387         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
26389 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26391         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
26392         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
26393         Remove define.
26394         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
26395         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
26396         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
26397         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
26398         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
26399         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
26400         define.
26401         * nptl_db/td_symbol_list.c (td_lookup): Remove
26402         HAVE_ASM_GLOBAL_DOT_NAME code.
26403         * sysdeps/powerpc/powerpc64/configure.ac: Remove
26404         HAVE_ASM_GLOBAL_DOT_NAME check.
26405         * sysdeps/powerpc/powerpc64/configure: Regenerate.
26406         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
26407         (DOT_LABEL): Remove define.
26408         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
26409         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
26410         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
26411         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
26412         (__TLS_GET_ADDR): Likewise.
26413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
26414         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
26416 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
26418         [BZ #18111]
26419         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
26420         (_FPU_SETCW): Initialize cw from fpsr before storing.
26421         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
26422         (fesetexceptflag): Rewrite using fpu_control.h.
26423         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
26425 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
26427         [BZ #18110]
26428         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
26429         asms.
26430         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
26432 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
26434         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
26435         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
26436         abort.
26437         (_FP_FMA): Likewise.
26438         (_FP_DIV): Likewise.
26440 2015-03-10  Roland McGrath  <roland@hack.frob.com>
26442         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
26443         with 0 in that case.
26444         * Makefile (summarize-tests): New canned sequence, factored out of
26445         commands for targets tests and xtests.  Display summary lines that
26446         don't start with PASS: or XFAIL: rather than ones that do start with
26447         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
26448         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
26449         do start with ERROR: or FAIL:.
26450         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
26451         (except for [$(build-shared) = yes]).
26452         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
26453         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
26454         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
26455         * nptl/Makefile: Revert 2015-03-04 changes.
26456         [$(CXX) empty] (tests-unsupported): New variable.
26457         * debug/Makefile: Likewise.
26459         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
26460         gnulib file.  Replace __attribute with __attribute__ throughout.
26462 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
26464         * sysdeps/hppa/fpu/libm-test-ulps: Update.
26466 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
26468         [BZ #18104]
26469         * math/auto-libm-test-in: Add another test of pow.
26470         * math/auto-libm-test-out: Regenerated.
26472 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26474         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
26475         $(config-cflags-nofma).
26477 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
26479         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
26480         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
26481         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
26482         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
26483         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
26484         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
26485         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
26486         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
26487         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
26488         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
26489         Add comment on closing #endif.
26491 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
26493         * posix/wordexp.c (CHAR_IN_SET): New macro.
26494         (parse_param): Use it.
26496 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26498         * sysdeps/powerpc/fpu/libm-test-ulps: update.
26500 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
26502         [BZ #18043]
26503         * posix/wordexp.c (parse_param): Fix buffer overflow.
26504         * posix/wordexp-test.c (test_case): Add test case.
26506 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
26508         [BZ #18042]
26509         * posix/wordexp.c (parse_backtick): Fix off-by-one.
26510         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
26512 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
26514         [BZ #18043]
26515         * posix/wordexp-test.c (test_case): Add test for BZ #18043
26516         (do_bz18043): Delete.
26517         (at_page_end): New.
26518         (testit): Refactor to have words at the edge of unreadable page.
26520 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26522         [BZ #16734]
26523         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
26524         Cleanup read-only streams as well.
26525         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
26527 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26529         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
26530         <bits/libc-lockP.h>
26532 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
26534         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
26535         on [__KERNEL__].
26536         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
26537         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
26538         * soft-fp/op-common.h (_FP_DECL): Likewise.
26540 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
26542         * elf/ifuncdep2.c (global): Replace
26543         __attribute__((visibility("protected"))) with
26544         asm (".protected global").
26545         * elf/ifuncmod1.c (global): Likewise.
26546         * elf/ifuncmod5.c (global): Likewise.
26548 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
26550         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
26551         <asm/sfp-machine.h> instead of <sfp-machine.h>.
26553 2015-03-06  Roland McGrath  <roland@hack.frob.com>
26555         * manual/install.texi (Configuring and compiling):
26556         Document test-wrapper-env-only.
26557         * INSTALL: Regenerated.
26559 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26561         [BZ #18043]
26562         * posix/wordexp.c (parse_param): Fix buffer overflow.
26563         * posix/wordexp-test.c (do_bz18043): Add test case.
26565 2015-03-06  Vincent Bernat  <vincent@bernat.im>
26567         * time/tst-strptime2.c (do_test): Ensure failing tests are
26568         reported correctly.
26569         * time/tst-strptime3.c (do_test): Likewise.
26571 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
26573         Fix aio_error thread-safety.
26574         * sysdeps/pthread/aio_error.c: New file
26575         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
26576         synchronization.
26578 2015-03-06  Florian Weimer  <fweimer@redhat.com>
26580         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
26581         (group_number, vfprintf): Use it.
26582         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
26583         (JUMP, REF): Use it.
26584         (WORK_BUFFER_SIZE): New enum constant.
26585         (process_arg, vfprintf): Use it.
26587 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
26589         * manual/errno.texi (Error Messages): Complete example function
26590         by adding missing #define.
26591         (program_invocation_name): Add statement indicating GNU
26592         extension and reference which header file declares the variable.
26593         (program_invocation_short_name): Likewise.
26595 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
26597         * manual/errno.texi (Error Messages): Delete strerror ISO C89
26598         compatibility note.
26600 2015-03-05  Roland McGrath  <roland@hack.frob.com>
26602         * Makeconfig (test-wrapper-env-only): New variable.
26603         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
26604         then use that with $(test-wrapper-env-only) rather than using
26605         $(test-wrapper-env) $(run-program-env) $($*-ENV).
26607 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
26609         [BZ #18082]
26610         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
26611         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
26612         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
26613         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
26614         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
26615         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
26616         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
26617         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
26618         Likewise.
26619         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
26620         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
26621         Likewise.
26622         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
26623         Likewise.
26624         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
26625         Likewise.
26626         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
26627         Likewise.
26628         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
26629         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
26630         Likewise.
26631         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
26632         Likewise.
26633         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
26634         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
26636 2015-03-04  Roland McGrath  <roland@hack.frob.com>
26638         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
26639         (ETH_ALEN): New macro.
26640         (struct ether_addr): Use it for length of ether_addr_octet.
26642         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
26643         (setdb): Don't call __nss_configure_lookup for "rpc".
26644         (do_test): Don't call test_rpc.
26645         (output_rpcent, test_rpc): Functions moved ...
26646         * sunrpc/test-rpcent.c: ... to this new file.
26647         * sunrpc/Makefile (tests): Add it.
26649         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
26650         __xpg_sigpause.
26651         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
26652         * nptl/tst-signal6.c: Likewise.
26653         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
26654         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
26656         * configure.ac (libc_cv_cxx_link_ok): New check.
26657         Reset CXX to empty if it fails to link.
26658         * configure: Regenerated.
26659         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
26660         bug-atexit3-lib only if $(CXX) is nonempty.
26661         * nptl/Makefile (tests): Likewise for tst-cancel24.
26662         (tests, tests-static): Likewise for tst-cancel24-static.
26663         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
26664         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
26665         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
26666         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
26668 2015-03-04  Andreas Schwab  <schwab@suse.de>
26670         [BZ #17631]
26671         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
26672         for non-GCC compilers.
26673         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
26674         Likewise.
26676 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26678         [BZ #17776]
26679         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
26680         integer before bitwise and assembly operations.
26681         (feclearexcept): Likewise.
26682         * math/test-fenvinline.c: New file.
26683         * math/Makefile: Add test-fenvinline test.
26685 2015-03-03  Alan Modra  <amodra@gmail.com>
26687         [BZ #16512]
26688         * scripts/localplt.awk: Strip off symbol version.
26689         * NEWS: Mention bug fix.
26691 2015-03-02  Roland McGrath  <roland@hack.frob.com>
26693         * sysdeps/pthread/timer_routines.c
26694         (timer_free_list, thread_free_list, thread_active_list): Make static.
26696 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
26698         [BZ #17779]
26699         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26700         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26701         Undefine.
26702         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26703         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26704         Likewise.
26705         * sysdeps/unix/sysv/linux/sh/kernel-features.h
26706         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26707         Likewise.
26709 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
26711         [BZ #18036]
26712         * posix/fnmatch_loop.c (END): Detect invalid pattern.
26713         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
26715 2015-03-02  Andreas Schwab  <schwab@suse.de>
26717         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
26718         variable name.
26720 2015-03-02  Florian Weimer  <fweimer@redhat.com>
26722         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
26723         Return error status.
26725 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
26727         [BZ #15969]
26728         * locale/findlocale.c (_nl_find_locale): Introduce const
26729         version of loc_name and drop unsafe type casts.
26731 2015-02-27  Roland McGrath  <roland@hack.frob.com>
26733         * dlfcn/tststatic2.c (main): Converted to ...
26734         (do_test): ... this.
26735         (TEST_FUNCTION): New macro.
26736         Include test-skeleton.c.
26738 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
26740         [BZ #17711]
26741         * elf/Makefile (tests): Add vismain only if PIE is enabled.
26742         (tests-pie): Add vismain.
26743         (CFLAGS-vismain.c): New.
26744         * elf/vismain.c: Add comments for PIE requirement.
26746 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
26748         [BZ #18046]
26749         [BZ #18047]
26750         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
26751         0x1p-56L as threshold for just returning the argument.
26752         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
26753         0x1p-32L as threshold for just returning the argument.
26754         * math/auto-libm-test-in: Add more tests of atanh.
26755         * math/auto-libm-test-out: Regenerated.
26756         * sysdeps/i386/fpu/libm-test-ulps: Update.
26757         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
26759 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
26761         * string/bcopy.c (bcopy): Call memmove for performance.
26763 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
26765         * string/bzero.c (__bzero): Call memset for performance.
26767 2015-02-27  John David Anglin  <dave.anglin@bell.net>
26769         [BZ #18068]
26770         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
26771         to 00100000.
26773 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
26775         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
26777 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
26779         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
26780         (__kernel_standard): Use CSTR macro when setting exc.name.
26781         * sysdeps/ieee754/Makefile [$(subdir) = math]
26782         (CFLAGS-k_standard.c): Remove variable.
26784         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
26785         setting p and q from "else if" to "else".
26786         (qzero): Likewise.
26787         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
26788         (qone): Likewise.
26789         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
26790         (qzerof): Likewise.
26791         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
26792         (qonef): Likewise.
26793         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
26794         (qzero): Likewise.
26795         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
26796         (qone): Likewise.
26798         [BZ #18038]
26799         [BZ #18039]
26800         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
26801         return pi/2 for arguments below 0x1p-113L.
26802         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
26803         return pi/2 for arguments below 0x1p-106L.
26804         * math/auto-libm-test-in: Add more tests of acos.
26805         * math/auto-libm-test-out: Regenerated.
26807         [BZ #16351]
26808         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
26809         (MO): New macro.
26810         (__ieee754_asin): Force underflow exception for results with small
26811         absolute value.
26812         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
26813         (MO): New macro.
26814         (__ieee754_asinf): Force underflow exception for results with
26815         small absolute value.
26816         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
26817         (__ieee754_asin): Force underflow exception for results with small
26818         absolute value.
26819         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
26820         (__ieee754_asinf): Force underflow exception for results with
26821         small absolute value.
26822         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
26823         (__ieee754_asinl): Force underflow exception for results with
26824         small absolute value.
26825         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
26826         (__ieee754_asinl): Force underflow exception for results with
26827         small absolute value.
26828         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
26829         (__ieee754_asinl): Force underflow exception for results with
26830         small absolute value.
26831         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
26832         Include <math.h>.
26833         * math/auto-libm-test-in: Do not mark underflow exceptions as
26834         possibly missing for bug 16351.
26835         * math/auto-libm-test-out: Regenerated.
26837         [BZ #18030]
26838         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
26839         of power of 2 down when low part has opposite sign.
26840         * math/libm-test.inc (logb_test_data): Add more tests.
26842 2015-02-26  Andreas Schwab  <schwab@suse.de>
26844         [BZ #18032]
26845         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
26846         over collating symbol inside a bracket expression.  Minor cleanup.
26847         * posix/tst-fnmatch3.c (do_test): Add test case.
26849 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
26851         [BZ #18029]
26852         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
26853         Adjust exponent of power of 2 down when low part has opposite
26854         sign.
26855         * math/libm-test.inc (ilogb_test_data): Add more tests.
26857 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
26859         [BZ #15969]
26860         * locale/findlocale.c (_nl_find_locale): Fix constness error in
26861         the previous change.
26863         [BZ #15969]
26864         * locale/findlocale.c (_nl_find_locale): Retry archive search
26865         after alias expansion.
26867 2015-02-25  Roland McGrath  <roland@hack.frob.com>
26869         * iconv/tst-iconv3.c (main): Converted to ...
26870         (do_test): ... this.
26871         (TEST_FUNCTION): New macro.
26872         Include test-skeleton.c.
26874         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
26875         (convert): Make function static.
26876         (test_unalign): Likewise.  Add const to argument pointee types.
26877         (main): Replace with static function do_test.
26878         Print "Succeeded." only if RET is zero.
26879         (TEST_FUNCTION): New macro.
26880         Include test-skeleton.c.
26882         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
26883         returns a null pointer.
26885 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26887         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
26888         to __memcpy_ppc only for static builds.
26890 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
26892         [BZ #18020]
26893         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
26894         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
26895         * math/auto-libm-test-in: Add more tests of asinh.
26896         * math/auto-libm-test-out: Regenerated.
26897         * sysdeps/i386/fpu/libm-test-ulps: Update.
26898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26900 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
26902         [BZ #15850]
26903         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
26904         and ip6_mtuinfo definitions here.
26905         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
26906         in this define too.  Update comment.
26908 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
26910         * elf/sprof.c (load_shobj): Tweak error message to match others.
26912 2015-02-24  Kevin Easton  <kevin@guarana.org>
26914         [BZ #16145] (partial fix)
26915         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
26916         to reduce lock contention.
26918 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
26920         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
26921         (struct timex): Update time comment.
26922         (ADJ_SETOFFSET): Define.
26924 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
26926         [BZ #18019]
26927         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26928         2**56 not 2**28 as threshold for log (2x) formula.
26929         * math/auto-libm-test-in: Add more tests of acosh.
26930         * math/auto-libm-test-out: Regenerated.
26931         * sysdeps/i386/fpu/libm-test-ulps: Update.
26932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26934 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
26936         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
26937         parenthesis around the buf assignment.
26938         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
26940 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
26942         [BZ #16783]
26943         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
26944         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
26945         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
26946         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
26947         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
26948         * math/libm-test.inc (scalb_test_data): Add more tests.
26950 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
26952         [BZ #17916]
26953         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
26954         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
26956 2015-02-24  Eric Rannaud  <e@nanocritical.com>
26958         [BZ #17523]
26959         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
26960         * io/bits/fcntl2.h (open): Use it.
26961         (openat): Likewise.
26962         * io/open.c (__libc_open): Likewise.
26963         * io/open64.c (__libc_open64): Likewise.
26964         * io/open64_2.c (__open64_2): Likewise.
26965         * io/open_2.c (__open_2): Likewise.
26966         * io/openat.c (__openat): Likewise.
26967         * io/openat64.c (__openat64): Likewise.
26968         * io/openat64_2.c (__openat64_2): Likewise.
26969         * io/openat_2.c (__openat_2): Likewise.
26970         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
26971         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
26972         * sysdeps/posix/open64.c (__libc_open64): Likewise.
26973         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
26974         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
26975         (__open_nocancel): Likewise.
26976         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
26977         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
26978         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
26980 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26982         [BZ #14841]
26983         * resolv/gethnamaddr.c (getanswer): Skip logging if
26984         RES_USE_DNSSEC is set.
26985         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26987 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
26989         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
26991 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
26993         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
26994         201304L, for Unicode 7.
26996 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
26998         [BZ #17836]
26999         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
27000         shared library.  Add gmon-start.os otherwise.
27001         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
27002         $(objpfx)gmon-start.os if builing shared library.
27003         ($(objpfx)g$(static-start-installed-name)): Likewise.
27005 2015-02-23  Andreas Schwab  <schwab@suse.de>
27007         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
27009 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
27011         [BZ #17269]
27012         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
27013         (enlarge_userbuf): Likewise.
27015 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
27017         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
27018         * math/atest-exp.c (TIMEOUT): Adjust to 200.
27019         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
27020         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
27022 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
27024         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
27025         expression inside statement expression.
27027 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
27029         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
27030         <sysdeps/nptl/lowlevellock.h> and remove macros and
27031         functions that are now defined there.
27032         (SYS_futex): Remove.
27033         (lll_compare_and_swap): Remove.
27034         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
27036 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
27038         [BZ #17999]
27039         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
27040         instead of scandirat.
27041         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
27042         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
27043         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
27044         __scandirat.
27045         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
27046         (__scandirat): Declare.  Use libc_hidden_proto.
27047         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
27048         Remove variable.
27049         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
27051 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
27053         [BZ #15319]
27054         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
27055         (MO): New macro.
27056         (__ieee754_atan2): For results with small absolute value, force
27057         underflow exception and remove excess range and precision from
27058         return value.
27059         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
27060         (MO): New macro.
27061         (__ieee754_atan2f): For results with small absolute value, force
27062         underflow exception and remove excess range and precision from
27063         return value.
27064         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
27065         (MO): New macro.
27066         (__atan): For results with small absolute value, force underflow
27067         exception and remove excess range and precision from return value.
27068         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
27069         (MO): New macro.
27070         (__atanf): For results with small absolute value, force underflow
27071         exception and remove excess range and precision from return value.
27072         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
27073         <math.h>.
27074         (__ieee754_atan2): Force underflow exception for results with
27075         small absolute value.
27076         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
27077         <math_private.h>.
27078         (atan): Force underflow exception for results with small absolute
27079         value.
27080         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
27081         (__atanf): Force underflow exception for results with small
27082         absolute value.
27083         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
27084         <math.h>.
27085         (__atanl): Force underflow exception for results with small
27086         absolute value.
27087         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
27088         (__atanl): Force underflow exception for results with small
27089         absolute value.
27090         * sysdeps/x86/fpu/bits/mathinline.h
27091         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
27092         (__ieee754_atan2): Only define inline for long double.
27093         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
27094         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
27095         * math/auto-libm-test-in: Do not mark underflow exceptions as
27096         possibly missing for bug 15319.  Add more tests of atan2.
27097         * math/auto-libm-test-out: Regenerated.
27098         * math/libm-test.inc (casin_test_data): Do not mark underflow
27099         exceptions as possibly missing for bug 15319.
27100         (casinh_test_data): Likewise.
27101         * sysdeps/i386/fpu/libm-test-ulps: Update.
27103 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
27105         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
27106         * sysdeps/mips/bits/endian.h: Fix comments.
27108 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
27110         [BZ #17996]
27111         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
27112         (hdestroy_r): Likewise.
27113         (hsearch_r): Likewise.
27114         (__hcreate_r): Declare and use libc_hidden_proto.
27115         (__hdestroy_r): Likewise.
27116         (__hsearch_r): Likewise.
27117         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
27118         (hcreate): Call __hcreate_r instead of hcreate_r.
27119         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
27120         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
27121         as weak alias of __hcreate_r.
27122         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
27123         __hdestroy_r.
27124         (hsearch_r): Rename to __hsearch_r and define as weak alias of
27125         __hsearch_r.
27126         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
27127         Remove variable.
27128         (test-xfail-XPG4/search.h/linknamespace): Likewise.
27129         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
27130         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
27131         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
27133 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27135         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
27136         arena_lock into a single arena_get.
27138 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
27140         * dl-reloc.c: Inlucde libc-internal.h.
27141         (_dl_try_allocate_static_tls): Call ALIGN_UP.
27142         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
27143         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
27144         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
27145         (grow_heap): Likewise.
27146         * malloc/malloc.c: Include libc-internal.h.
27147         (do_check_malloc): Call powerof2.
27148         (sysmalloc): Use pagesize. Call ALIGN_UP.
27149         (systrim): Use pagesize.
27150         (mremap_chunk): Use pagesize. Call ALIGN_UP.
27151         (__libc_valloc): Use pagesize.
27152         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
27154 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
27156         [BZ #17991]
27157         * include/sys/resource.h (__getrlimit64): Declare.  Use
27158         libc_hidden_proto.
27159         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
27160         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
27161         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
27162         getrlimit64.
27163         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
27164         __getrlimit64.
27165         [!getrlimit64] (getrlimit64): Define as weak alias of
27166         __getrlimit64.  Use libc_hidden_weak.
27167         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
27168         using __getrlimit64 not __new_getrlimit64.
27169         (__GI_getrlimit64): Likewise.
27170         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
27171         Likewise.
27172         (__GI_getrlimit64): Likewise.
27173         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
27174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
27175         (getrlimit): Add __getrlimit64 alias.
27176         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
27177         Likewise.
27178         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
27179         Remove variable.
27180         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
27181         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
27183 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
27185         * libio/fileops.c: Add missing sys/mman.h
27186         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
27188 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
27190         * manual/math.texi (Errors in Math Functions): Clarify goals
27191         regarding inexact and underflow exceptions.
27193 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
27195         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
27196         * sysdeps/mips/memset.S: Ditto.
27198 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
27200         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
27202 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
27204         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
27205         (__v1longjmp): Remove versioned symbol.
27206         (__v1siglongjmp): Remove alias and versioned symbol.
27207         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
27208         (__v2siglongjmp): Likewise.
27210 2015-02-16  Torvald Riegel  <triegel@redhat.com>
27212         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
27214 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
27216         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
27218 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
27220         [BZ #17987]
27221         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
27222         zero result does not depend on the sign resulting from
27223         subtraction.
27224         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
27225         Likewise.
27226         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
27227         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
27228         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
27229         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
27230         * math/libm-test.inc (remquo_test_data): Add more tests.
27232 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
27234         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
27235         Problem reported by J William Piggott.
27237 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
27239         [BZ #17978]
27240         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
27241         products 4 * y and 2 * y where those would overflow.
27242         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
27243         Likewise.
27244         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
27245         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
27246         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
27247         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
27248         * math/libm-test.inc (remquo_test_data): Add more tests.
27250         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
27252         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
27253         [defined _COMPILING_NEWLIB].
27254         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
27255         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
27257         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
27258         [!defined __mips_isa_rev || __mips_isa_rev < 6].
27260 2015-02-16  Torvald Riegel  <triegel@redhat.com>
27262         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
27263         acquired.
27265 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
27267         [BZ #17792]
27268         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
27269         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
27270         HOST_STACK_END_ADDR): Likewise.
27272 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
27274         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
27275         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
27276         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
27278 2015-02-13  Roland McGrath  <roland@hack.frob.com>
27280         * sysdeps/generic/c++-types.data: New file.
27281         * sysdeps/generic/ld.abilist: New file.
27282         * sysdeps/generic/libBrokenLocale.abilist: New file.
27283         * sysdeps/generic/libanl.abilist: New file.
27284         * sysdeps/generic/libc.abilist: New file.
27285         * sysdeps/generic/libcrypt.abilist: New file.
27286         * sysdeps/generic/libdl.abilist: New file.
27287         * sysdeps/generic/libm.abilist: New file.
27288         * sysdeps/generic/libpthread.abilist: New file.
27289         * sysdeps/generic/libresolv.abilist: New file.
27290         * sysdeps/generic/librt.abilist: New file.
27292 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
27294         [BZ #17569]
27295         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
27296         Compute absolute value of x as modified by fmod, not original
27297         value of x.
27298         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
27299         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
27300         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
27301         RUN_TEST_ffI_f1_mod8.
27302         (remquo_test_data): Add more tests.
27304 2015-02-13  Roland McGrath  <roland@hack.frob.com>
27306         * sysdeps/init_array/pt-crti.S: New file.
27308 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
27310         [BZ #17967]
27311         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
27312         __builtin_fmaf instead of relying on contraction of a * b + c.
27314 2015-02-12  J William Piggott  <elseifthen@gmx.com>
27316         [BZ #17969]
27317         * manual/time.texi: correct the zoneinfo path in the TZ Variable
27318         node.
27320 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
27322         [BZ #17964]
27323         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
27324         __builtin_fma instead of relying on contraction of a * b + c.
27326 2015-02-12  Roland McGrath  <roland@hack.frob.com>
27328         * Makeconfig (ASFLAGS): Add -Werror=undef.
27329         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
27330         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
27331         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
27333         * Makeconfig (after-link): New variable.
27334         (+link-pie, +link-pie-tests): Use it.
27335         (+link-static, +link-static-tests): Likewise.
27336         (+link, +link-tests): Likewise.
27337         * Makerules (build-module, build-module-asneeded): Likewise.
27338         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
27339         Likewise.
27340         * elf/Makefile ($(objpfx)ld.so): Likewise.
27342 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
27344         [BZ #17965]
27345         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
27346         both struct timeval and struct timespec.
27348 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
27350         [BZ #16560]
27351         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27352         and redefine.
27353         (__ieee754_exp2l): Do not multiply small fractional parts by
27354         M_LN2l.
27355         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
27356         small argument.
27357         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
27358         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
27359         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
27360         * math/auto-libm-test-in: Add more tests of exp2.
27361         * math/auto-libm-test-out: Regenerated.
27363 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27365         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
27366         unaligned path.
27368 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27370         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
27371         little endian.
27373 2015-02-12  Andreas Schwab  <schwab@suse.de>
27375         [BZ #15790]
27376         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
27377         Filter out elision flags from value returned in kind.
27378         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
27379         * nptl/tst-pthread-mutexattr.c: New file.
27381 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27383         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
27384         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
27385         into gnu-gnu, and update comment to refer to abi-tags.
27387 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
27389         [BZ #15467]
27390         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
27391         (__sincos): Set errno to EDOM for infinite argument.
27392         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
27393         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
27394         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
27395         (__sincosl): Set errno to EDOM for infinite argument.
27396         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
27397         (__sincosl): Set errno to EDOM for infinite argument.
27398         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
27399         (__sincosl): Set errno to EDOM for infinite argument.
27400         * math/libm-test.inc (sincos_test_data): Test errno setting.
27402 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
27404         * string/strxfrm_l.c: Remove #define STRCMP.
27405         * string/strcoll_l.c: Remove #define STRLEN.
27406         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
27407         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
27409 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
27411         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
27412         * sysdeps/mips/mips32/sfp-machine.h: ... here.
27413         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
27414         * sysdeps/mips/mips64/Makefile: ... here.
27415         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
27416         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
27417         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
27418         * sysdeps/mips/mips64/sfp-machine.h: ... here.
27419         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
27420         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
27421         * sysdeps/mips/mips64/n64/Implies: Likewise.
27423 2015-02-10  Roland McGrath  <roland@hack.frob.com>
27425         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
27426         <sys/time.h>, <string.h>, and <errno.h>.
27427         (dest_offset, dest_address, value, zero): Remove unused variables.
27428         (ldouble): Remove typedef.
27429         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
27430         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
27431         1).  Fix code style.
27432         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
27433         (check): Function removed.
27434         (CHECK): New macro.
27435         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
27436         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
27437         Don't call set_sigaction_FP and remove_sigaction_FP here.
27438         (ldouble_test): Just use 'long double' as macro argument, no need for
27439         the 'ldouble' typedef.
27440         (do_test): Set up SIGFPE handler at start, using plain signal rather
27441         than sigaction.  Fix code style.
27443 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
27445         [BZ #17949]
27446         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
27447         jump label.
27449 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27451         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
27452         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27454         * sysdeps/powerpc/configure.ac: Remove file.
27455         * sysdeps/powerpc/configure: Likewise.
27457         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
27458         [sysdep_routines]: Remove wordcopy-power6 object.
27459         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
27460         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
27461         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
27462         (__memmove_ppc32): Likewise.
27463         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
27464         file.
27465         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
27466         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
27467         Remove preprocessor.
27469         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
27470         [sysdep_routines]: Remove wide chars objects.
27471         [wcsmbs]: New rule for wide char objects.
27473         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27474         Remove wordcopy-power6 obejct.
27475         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
27476         Use local call for wordcopy and memcpy symbols.
27477         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
27478         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
27479         implementation for loader.
27480         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
27482         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27483         Remove wordcopy-power7 object.
27484         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
27485         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
27486         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
27487         (_wordcopy_fwd_dest_aligned): Likewise.
27488         (_wordcopy_bwd_aligned): Likewise.
27489         (_wordcopy_bwd_dest_aligned): Likewise.
27491         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
27492         Rewrite to call __memmove_ppc instead of include default
27493         implementation.
27495         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27496         Remove wide chars objects.
27497         [wcsmbs]: New rule for wide char objects.
27499 2015-02-09  Andreas Schwab  <schwab@suse.de>
27501         [BZ #17912]
27502         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
27503         in terms of __O_DIRECTORY.
27505 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27507         * time/getdate.c: Include <stdbool.h>.
27508         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
27509         call PTR_MANGLE.
27510         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
27511         PTR_DEMANGLE.
27513 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
27515         Add ersatz _Static_assert on older C hosts
27516         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
27517         pre-C11 C platform that is not known to support _Static_assert.
27519 2015-02-07  Richard Braun  <rbraun@sceen.net>
27521         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
27522         sigstate.
27523         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
27525 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27527         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
27528         priority against unexistent AIO_PRIO_DELTA_MAX.
27529         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
27530         instead of int.
27531         * misc/fchflags.c (fchflags): Likewise.
27532         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
27533         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
27534         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
27535         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
27536         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
27537         Declare macros.
27538         [__USE_MISC] (chflags, fchflags): Declare functions.
27539         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
27540         EINVAL when nfds is greater than FD_SETSIZE.
27541         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
27542         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
27543         45.
27544         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
27545         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
27546         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
27547         MACH_RCV_TIMED_OUT.
27548         * hurd/hurd/signal.h (_hurd_self_sigstate,
27549         _hurd_critical_section_lock, _hurd_critical_section_unlock):
27550         Explicit casts from void *.
27551         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
27552         * abi-tags: Rename gnu-gnu os into gnu.
27554         [BZ #4719]
27555         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
27556         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
27557         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
27558         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
27559         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
27560         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
27562         [BZ #17944]
27563         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
27564         duplicates ADDR->sun_path with sockaddr LEN limitation.
27565         * sysdeps/mach/hurd/connect.c: Include <string.h>
27566         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
27567         * sysdeps/mach/hurd/sendmsg.c: Likewise.
27568         * sysdeps/mach/hurd/sendto.c: Likewise.
27569         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
27570         implementing it by hand.
27572 2015-02-06  Roland McGrath  <roland@hack.frob.com>
27574         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
27575         Use sfi_breg on ldr.
27576         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
27577         Likewise.
27579         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
27580         it's defined.
27581         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
27582         Test SIGSETXID only if it's defined.
27584         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
27586         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
27587         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
27589         * nptl/tst-align2.c: Moved ...
27590         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
27591         * nptl/Makefile (tests): Remove tst-align2.
27592         * sysdeps/unix/sysv/linux/Makefile
27593         [$(subdir) = nptl] (tests): Add tst-align-clone.
27594         * nptl/tst-getpid1.c: Moved ...
27595         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
27596         * nptl/tst-getpid2.c: Moved ...
27597         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
27598         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
27599         * sysdeps/unix/sysv/linux/Makefile
27600         [$(subdir) = nptl] (tests): ... here.
27601         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
27602         * sysdeps/unix/sysv/linux/Makefile
27603         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
27605         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
27606         Drop trailing \n from perror argument.  Use return rather than exit.
27608         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
27609         on [SA_SIGINFO].
27610         * nptl/tst-cancel21.c (do_test): Likewise.
27611         * debug/tst-backtrace6.c: Include <signal.h> first thing.
27612         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
27613         [!SA_SIGINFO]: Make it a stub test.
27615         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
27616         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
27618         * posix/tst-getlogin.c: Move to ...
27619         * login/tst-getlogin.c: ... here.
27620         * posix/Makefile (tests): Move tst-getlogin to ...
27621         * login/Makefile (tests): ... here.
27623         * libio/tst-atime.c (do_test): Move local variables SV and E
27624         inside [ST_NOATIME] conditional.
27626         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
27628         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
27630         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
27631         (wait_code): New function replaces macro.
27632         Call nanosleep rather than syscall.
27634         * nptl/pt-system.c: Rewritten.  Put everything under
27635         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
27636         Use IFUNC to redirect when possible.
27638         * nptl/pt-longjmp.c: Rewritten.  Put everything under
27639         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
27640         Use IFUNC to redirect when possible.
27642         * nptl/pt-fork.c: Rewritten.  Put everything under
27643         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
27644         Use IFUNC to redirect when possible.
27645         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
27647         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
27648         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
27649         unconditionally nowadays.  This included the only reference to
27650         __vdso_clock_gettime that appears outside libc proper.
27651         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
27652         Remove version set (containing only __vdso_clock_gettime).
27653         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
27654         Add attribute_hidden.
27655         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
27656         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
27657         libc_hidden_data_def.
27658         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27659         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27661         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
27662         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
27663         setrpcent, and getrpcport to ...
27664         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
27665         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
27666         getrpcbynumber_r, and getrpcent_r to ...
27667         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
27668         * inet/getrpcbyname.c: Moved ...
27669         * sunrpc/getrpcbyname.c: ... here.
27670         * inet/getrpcbyname_r.c: Moved ...
27671         * sunrpc/getrpcbyname_r.c: ... here.
27672         * inet/getrpcbynumber.c: Moved ...
27673         * sunrpc/getrpcbynumber.c: ... here.
27674         * inet/getrpcbynumber_r.c: Moved ...
27675         * sunrpc/getrpcbynumber_r.c: ... here.
27676         * inet/getrpcent.c: Moved ...
27677         * sunrpc/getrpcent.c: ... here.
27678         * inet/getrpcent_r.c: Moved ...
27679         * sunrpc/getrpcent_r.c: ... here.
27680         * inet/Makefile (routines): Move those to ...
27681         * sunrpc/Makefile (routines): ... here.
27682         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
27683         the $(subdirs) list.
27684         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
27685         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
27686         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
27687         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
27689         * elf/Makefile (routines): Include $(all-dl-routines), not just
27690         $(dl-routines).
27691         (rtld-routines): Likewise.  Use = rather than :=.
27692         * sysdeps/aarch64/Makefile [$(subdir) = elf]
27693         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
27694         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
27695         * sysdeps/arm/Makefile: Likewise.
27696         * sysdeps/i386/Makefile: Likewise.
27697         * sysdeps/x86_64/Makefile: Likewise.
27698         * sysdeps/hppa/Makefile [$(subdir) = elf]
27699         (sysdep_routines, sysdep-rtld-routines): Don't add
27700         $(sysdep-dl-routines) to these.
27701         * sysdeps/ia64/Makefile: Likewise.
27702         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
27703         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
27704         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
27705         Don't add dl-static to these; sysdep-dl-routines alone is enough.
27706         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
27707         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
27708         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
27709         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
27710         * sysdeps/powerpc/Makefile [$(subdir) = elf]
27711         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
27712         these; sysdep-dl-routines alone is enough.
27714 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
27716         [BZ #17932]
27717         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
27718         where multiplication results in zero and third argument is finite
27719         and nonzero.
27720         * math/auto-libm-test-in: Add more tests of fma.
27721         * math/auto-libm-test-out: Regenerated.
27723         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
27724         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
27725         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
27726         (_FP_CMP_EQ): Likewise.
27727         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
27729         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
27730         extra argument CHECK_NAN.  Redefine as wrapper around
27731         _FP_EXTEND_CNAN.
27733 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
27735         * version.h (RELEASE): Set to "stable".
27736         (VERSION): Set to "2.21"
27737         * include/features.h (__GLIBC_MINOR__): Set to 21.
27739         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
27741 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27742             Paul Eggert  <eggert@cs.ucla.edu>
27744         [BZ #16618]
27745         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
27746         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
27747         size in bytes. Store needed elements in wpmax. Use needed size
27748         in bytes for extend_alloca.
27750 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
27752         * manual/install.texi: Latest tested versions are GCC 4.9.2,
27753         binutls 2.25, and texinfo 5.2.
27754         * INSTALL: Regenerate.
27755         * sysdeps/nios2/configure: Regenerate.
27756         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
27757         * manual/contrib.texi: Update.
27758         * po/be.po: Update.
27759         * po/bg.po: Update.
27760         * po/ca.po: Update.
27761         * po/cs.po: Update.
27762         * po/da.po: Update.
27763         * po/de.po: Update.
27764         * po/el.po: Update.
27765         * po/eo.po: Update.
27766         * po/es.po: Update.
27767         * po/fi.po: Update.
27768         * po/fr.po: Update.
27769         * po/gl.po: Update.
27770         * po/hr.po: Update.
27771         * po/hu.po: Update.
27772         * po/ia.po: Update.
27773         * po/id.po: Update.
27774         * po/it.po: Update.
27775         * po/ja.po: Update.
27776         * po/ko.po: Update.
27777         * po/lt.po: Update.
27778         * po/nb.po: Update.
27779         * po/nl.po: Update.
27780         * po/pl.po: Update.
27781         * po/pt_BR.po: Update.
27782         * po/ru.po: Update.
27783         * po/rw.po: Update.
27784         * po/sk.po: Update.
27785         * po/sl.po: Update.
27786         * po/sv.po: Update.
27787         * po/tr.po: Update.
27788         * po/uk.po: Update.
27789         * po/vi.po: Update.
27790         * po/zh_CN.po: Update.
27791         * po/zh_TW.po: Update.
27793         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
27794         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
27795         * sysdeps/hppa/dl-irel.h: Remove #warning.
27796         * sysdeps/hppa/entry.h: Provide prototype for
27797         __canonicalize_funcptr_for_compare and cast argument.
27798         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
27799         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
27800         * sysdeps/hppa/sotruss-lib.c: New file.
27801         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
27802         (atomic_compare_and_exchange_val_acq): Use __typeof__.
27803         (atomic_compare_and_exchange_bool_acq): Likewise.
27804         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
27805         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
27807         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
27808         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
27809         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
27811 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
27813         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
27814         called function in non-PIC case.
27816 2015-01-31  David S. Miller  <davem@davemloft.net>
27818         * sysdeps/sparc/sparc32/bits/atomic.h
27819         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
27820         unlock not after it.
27821         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
27822         volatile register usage warnings from the compiler.
27824         * sysdeps/sparc/nptl/sem_init.c: Delete.
27825         * sysdeps/sparc/nptl/sem_post.c: Delete.
27826         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
27827         * sysdeps/sparc/nptl/sem_wait.c: Delete.
27828         * sysdeps/sparc/sparc32/sem_init.c: New file.
27829         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
27830         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
27831         padding explicitly initialized.
27832         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
27833         padding for in-semaphore spinlock.
27834         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
27835         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
27836         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
27837         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
27838         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
27839         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
27840         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
27841         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
27842         version.
27843         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
27844         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
27846 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
27848         [BZ #17801]
27849         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27850         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
27851         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
27852         New.
27853         (index_AVX_Fast_Unaligned_Load): Likewise.
27854         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
27855         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
27856         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
27857         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
27858         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
27859         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
27860         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
27861         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
27862         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
27864 2015-01-29  Andreas Schwab  <schwab@suse.de>
27866         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
27868 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
27870         [BZ #17892]
27871         * nscd/nscd_stat.c (send_stats): Initialize DATA.
27873 2015-01-28  Martin Sebor  <msebor@redhat.com>
27875         * math/README.libm-test: Clarify. Add "How to read the test output."
27877 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
27879         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
27880         Define to 0.
27882 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
27884         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
27885         (__HAVE_64B_ATOMICS): Define to 0.
27887 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27889         [BZ #17885]
27890         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
27891         value to set as new flag.
27893         [BZ #16576]
27894         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
27895         and use _ARCH_PPCSQ instead.
27896         (__ieee754_sqrt): Likewise.
27897         (__ieee754_sqrtf): Likewise.
27898         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
27899         _ARCH_PPCSQ is defined.
27900         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
27901         fsqrt instruction.
27902         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
27903         _ARCH_PPCSQ is defined.
27904         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
27905         fsqrts instruction.
27906         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
27908 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27910         * iconv/loop.c: Suppress array out of bound warning caused by GCC
27911         bug (GCC BZ #64739).
27913 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
27915         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
27916         Mark _retval as used.
27917         (lll_futex_wake_unlock): Likewise.
27918         (lll_futex_timed_wait_requeue_pi): Likewise.
27920         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
27921         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
27922         register variables.
27924         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
27925         libm_hidden_def.
27927         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
27928         (__bswap_64): Mark as __always_inline.
27930 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
27932         [BZ #15378]
27933         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
27934         when none of the search directories exist.
27936 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27938         [BZ #17869]
27939         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
27940         power8 in .machine directive.
27942         [BZ #17868]
27943         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
27944         set dependency from opd value.
27946 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
27948         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27949         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
27950         architecture.
27952 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
27954         [BZ #17870]
27955         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
27956         with uint64_t.
27957         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
27958         (uint64_t) 1.
27959         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
27960         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
27961         Replace 1UL with (uint64_t) 1.
27962         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
27963         int with uint64_t.
27965 2015-01-23  Roland McGrath  <roland@hack.frob.com>
27967         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
27968         (if_freenameindex): Likewise.
27970         * resource/getrlimit64.c: Add missing libc_hidden_def.
27972 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
27974         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
27975         __label__.
27976         (_FP_FMA): Likewise.
27977         (_FP_TO_INT_ROUND): Likewise.
27978         (_FP_FROM_INT): Likewise.
27980 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27982         [BZ #16418]
27983         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
27984         Make code racy and cancel safe.
27986 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
27988         * sysdeps/arm/unwind-resume.h: Fix copyright year.
27989         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
27990         attribution.
27992         * pwd/tst-getpw.c: Rewrite.
27994         [BZ #17702]
27995         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
27996         (modules-names): Add moddummy1 and moddummy2.
27997         ($(objpfx)tst-rec-dlopen): Define.
27998         * dlfcn/moddummy1.c: New file.
27999         * dlfcn/moddummy2.c: New file.
28000         * dlfcn/tst-rec-dlopen.c: New file.
28001         * elf/dl-cache.c (_dl_load_cache_lookup):
28002         Return char*. Copy result with alloca/strcpy/strdup.
28003         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
28004         returns char*. Free cached. If not saving realname
28005         free cached.
28006         * elf/dl-open.c (dl_open_worker): Do not assert that
28007         _r_debug->r_state is RT_CONSISTENT.
28008         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
28009         returns char*.
28011 2015-01-21  Torvald Riegel  <triegel@redhat.com>
28012             Carlos O'Donell  <carlos@redhat.com>
28014         [BZ #12674]
28015         * nptl/sem_waitcommon.c: New file.
28016         * nptl/sem_wait.c: Include sem_waitcommon.c.
28017         (__sem_wait_cleanup, do_futex_wait): Remove.
28018         (__new_sem_wait): Adapt.
28019         (__new_sem_trywait): New function.
28020         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
28021         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
28022         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
28023         (sem_timedwait): Adapt.
28024         * nptl/sem_post.c (__new_sem_post): Adapt.
28025         (futex_wake): New function.
28026         (__old_sem_post): Add release MO fence.
28027         * nptl/sem_open.c (sem_open): Adapt.
28028         * nptl/sem_init.c (__new_sem_init): Adapt.
28029         (futex_private_if_supported): New function.
28030         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
28031         (__old_sem_getvalue): Add using previous code.
28032         * sysdeps/nptl/internaltypes.h: Adapt.
28033         * nptl/tst-sem13.c (do_test): Adapt.
28034         * nptl/tst-sem11.c (main): Adapt.
28035         * nptl/sem_trywait.c: Remove.
28036         * nptl/DESIGN-sem.txt: Remove.
28037         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
28038         (gen-as-const-headers): Remove structsem.sym.
28039         * nptl/structsem.sym: Remove.
28040         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
28041         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
28042         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
28043         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
28044         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
28045         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
28046         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
28047         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
28048         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
28049         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
28050         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
28051         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
28052         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
28053         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
28054         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
28055         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
28056         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
28057         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
28058         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
28059         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
28060         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
28061         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
28063 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
28065         * INSTALL: Regenerated.
28067         * po/libc.pot: Regenerated.
28069 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
28070             Sandra Loosemore  <sandra@codesourcery.com>
28071             Andrew Jenner  <andrew@codesourcery.com>
28072             Joseph Myers  <joseph@codesourcery.com>
28073             Nathan Sidwell  <nathan@codesourcery.com>
28075         * NEWS: Mention new Nios II port.
28076         * sysdeps/nios2/Implies: New file.
28077         * sysdeps/nios2/Makefile: New file.
28078         * sysdeps/nios2/Subdirs: New file.
28079         * sysdeps/nios2/Versions: New file.
28080         * sysdeps/nios2/__longjmp.S: New file.
28081         * sysdeps/nios2/abort-instr.h: New file.
28082         * sysdeps/nios2/backtrace.c: New file.
28083         * sysdeps/nios2/bits/endian.h: New file.
28084         * sysdeps/nios2/bits/fenv.h: New file.
28085         * sysdeps/nios2/bits/link.h: New file.
28086         * sysdeps/nios2/bits/setjmp.h: New file.
28087         * sysdeps/nios2/bsd-_setjmp.S: New file.
28088         * sysdeps/nios2/bsd-setjmp.S: New file.
28089         * sysdeps/nios2/configure: New generated file.
28090         * sysdeps/nios2/configure.ac: New file.
28091         * sysdeps/nios2/crti.S: New file.
28092         * sysdeps/nios2/crtn.S: New file.
28093         * sysdeps/nios2/dl-init.c: New file.
28094         * sysdeps/nios2/dl-machine.h: New file.
28095         * sysdeps/nios2/dl-sysdep.h: New file.
28096         * sysdeps/nios2/dl-tls.h: New file.
28097         * sysdeps/nios2/dl-trampoline.S: New file.
28098         * sysdeps/nios2/gccframe.h: New file.
28099         * sysdeps/nios2/gmp-mparam.h: New file.
28100         * sysdeps/nios2/jmpbuf-offsets.h: New file.
28101         * sysdeps/nios2/jmpbuf-unwind.h: New file.
28102         * sysdeps/nios2/ldsodefs.h: New file.
28103         * sysdeps/nios2/libc-tls.c: New file.
28104         * sysdeps/nios2/libm-test-ulps: New file.
28105         * sysdeps/nios2/machine-gmon.h: New file.
28106         * sysdeps/nios2/math-tests.h: New file.
28107         * sysdeps/nios2/math_private.h: New file.
28108         * sysdeps/nios2/memusage.h: New file.
28109         * sysdeps/nios2/nptl/Makefile: New file.
28110         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
28111         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
28112         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
28113         * sysdeps/nios2/nptl/pthreaddef.h: New file.
28114         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
28115         * sysdeps/nios2/nptl/tls.h: New file.
28116         * sysdeps/nios2/preconfigure: New file.
28117         * sysdeps/nios2/s_fma.c: New file.
28118         * sysdeps/nios2/s_fmaf.c: New file.
28119         * sysdeps/nios2/setjmp.S: New file.
28120         * sysdeps/nios2/sfp-machine.h: New file.
28121         * sysdeps/nios2/sotruss-lib.c: New file.
28122         * sysdeps/nios2/stackguard-macros.h: New file.
28123         * sysdeps/nios2/stackinfo.h: New file.
28124         * sysdeps/nios2/start.S: New file.
28125         * sysdeps/nios2/sysdep.h: New file.
28126         * sysdeps/nios2/tls-macros.h: New file.
28127         * sysdeps/nios2/tst-audit.h: New file.
28128         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
28129         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
28130         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
28131         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
28132         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
28133         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
28134         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
28135         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
28136         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
28137         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
28138         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
28139         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
28140         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
28141         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
28142         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
28143         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
28144         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
28145         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
28146         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
28147         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
28148         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
28149         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
28150         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
28151         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
28152         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
28153         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
28154         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
28155         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
28156         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
28157         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
28158         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
28159         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
28160         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
28161         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
28162         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
28163         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
28164         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
28165         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
28166         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
28167         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
28168         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
28169         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
28170         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
28171         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
28173 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
28175         [BZ #17844]
28176         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
28177         (getutent): Use weak_alias in non SHARED case
28178         and default_symbol_version in SHARED case.
28179         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
28180         (getutent_r, pututline): Likewise.
28181         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
28182         (getutid): Likewise.
28183         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
28184         (getutid_r): Likewise.
28185         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
28186         (getutline): Likewise.
28187         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
28188         (getutline_r): Likewise.
28189         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
28190         (updwtmp): Likewise.
28192 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
28194         [BZ #17848]
28195         * sysdeps/s390/s390-32/memcmp.S
28196         (memcmp_g5): Rename to __memcmp_g5.
28197         * sysdeps/s390/s390-32/memcpy.S
28198         (memcpy_g5): Rename to __memcpy_g5.
28199         Jump to __memcpy_mvcle instead of memcpy_mvcle.
28200         (memcpy_mvcle) Rename to __memcpy_mvcle.
28201         * sysdeps/s390/s390-32/memset.S
28202         (memset_g5): Rename to __memset_g5.
28203         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28204         (IFUNC_RESOLVE): Prefix ifunc-resolve function
28205         and use prefixed functions.
28206         * sysdeps/s390/s390-32/multiarch/memcmp.S
28207         (memcmp_z196): Rename to __memcmp_z196.
28208         (memcmp_z10): Rename to __memcmp_z10.
28209         (memcmp): Set alias to __memcmp_g5.
28210         (bcmp): Set alias to __memcmp_g5.
28211         * sysdeps/s390/s390-32/multiarch/memcpy.S
28212         (memcpy_z196): Rename to __memcpy_z196.
28213         Jump to __memcpy_mvcle instead of memcpy_mvcle.
28214         (memcpy_z10): Rename to __memcpy_z10.
28215         Jump to __memcpy_mvcle instead of memcpy_mvcle.
28216         (memcpy): Set alias to __memcpy_g5.
28217         * sysdeps/s390/s390-32/multiarch/memset.S
28218         (memset_z196): Rename to __memset_z196.
28219         Jump to __memset_mvcle instead of memset_mvcle.
28220         (memset_z10): Rename to __memset_z10.
28221         Jump to __memset_mvcle instead of memset_mvcle.
28222         (memset_mvcle) Rename to __memset_mvcle.
28223         (memset): Set alias to __memset_g5.
28224         * sysdeps/s390/s390-64/memcmp.S
28225         (memcmp_z900): Rename to __memcmp_z900.
28226         * sysdeps/s390/s390-64/memcpy.S
28227         (memcpy_z900): Rename to __memcpy_z900.
28228         Jump to __memcpy_mvcle instead of memcpy_mvcle.
28229         (memcpy_mvcle) Rename to __memcpy_mvcle.
28230         * sysdeps/s390/s390-64/memset.S
28231         (memset_z900): Rename to __memset_z900.
28232         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
28233         (IFUNC_RESOLVE): Prefix ifunc-resolve function
28234         and use prefixed functions.
28235         * sysdeps/s390/s390-64/multiarch/memcmp.S
28236         (memcmp_z196): Rename to __memcmp_z196.
28237         (memcmp_z10): Rename to __memcmp_z10.
28238         (memcmp): Set alias to __memcmp_z900.
28239         (bcmp): Set alias to __memcmp_z900.
28240         * sysdeps/s390/s390-64/multiarch/memcpy.S
28241         (memcpy_z196): Rename to __memcpy_z196.
28242         Jump to __memcpy_mvcle instead of memcpy_mvcle.
28243         (memcpy_z10): Rename to __memcpy_z10.
28244         Jump to __memcpy_mvcle instead of memcpy_mvcle.
28245         (memcpy): Set alias to __memcpy_z900.
28246         * sysdeps/s390/s390-64/multiarch/memset.S
28247         (memset_z196): Rename to __memset_z196.
28248         Jump to __memset_mvcle instead of memset_mvcle.
28249         (memset_z10): Rename to __memset_z10.
28250         Jump to __memset_mvcle instead of memset_mvcle.
28251         (memset_mvcle) Rename to __memset_mvcle.
28252         (memset): Set alias to __memset_z900.
28254 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
28256         [BZ #17748]
28257         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
28258         __fesetenv instead of fesetenv.
28260 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28262         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
28263         macro.
28265 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28267         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
28268         regression on LE.
28270         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
28271         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
28272         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
28273         strncmp-power8 object.
28274         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28275         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
28276         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
28277         * NEWS: Update.
28279 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28280             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28282         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
28283         trailing byte check.
28285 2015-01-13  David S. Miller  <davem@davemloft.net>
28287         * include/signal.h (__sigreturn): Guard with __USE_MISC.
28289 2015-01-13  Roland McGrath  <roland@hack.frob.com>
28291         * login/logout.c (logout): Use memset rather than bzero.
28292         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
28293         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
28294         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
28295         (_gethtbyaddr): Likewise.
28296         * locale/programs/simple-hash.c (bcopy): Macro removed.
28298 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28300         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28301         Add strcmp-power8 object.
28302         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28303         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
28304         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
28305         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
28306         __strcmp_power8 implementation.
28307         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
28308         * NEWS: Update.
28310         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28311         Add strncpy-power8 and stpncpy-power8 objects.
28312         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28313         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
28314         implementations.
28315         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
28316         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
28317         __stpncpy_power8 implementation.
28318         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
28319         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
28320         __strncpy_power8 implementation.
28321         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
28322         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
28323         * NEWS: Update.
28325         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
28326         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
28327         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
28329         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
28330         strncat-power8 object.
28331         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
28332         __strcat_power8 implementation.
28333         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28334         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
28335         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
28336         optimized strcat for power8.
28338         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
28339         strcpy-power8 and stpcpy-power8 objects.
28340         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28341         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
28342         implementations.
28343         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
28344         multiarch stpcpy implementation for POWER8.
28345         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
28346         multiarch strcpy implementation for POWER8.
28347         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
28348         __strcpy_power8 function.
28349         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
28350         stpcpy for POWER8.
28351         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
28352         strcpy for POWER8.
28353         * NEWS: Update.
28355 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
28357         [BZ #16009]
28358         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
28359         weights and rules. Use do_xfrm_cached if data fits in cache,
28360         do_xfrm otherwise.  Moved former main loop to...
28361         * (do_xfrm_cached): New function.
28362         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
28363         find_idx, find_position and stack_push.
28364         * (find_idx): New function.
28365         * (find_position): Likewise.
28366         * localedata/sort-test.sh: Added test run for do_xfrm.
28367         * localedata/xfrm-test.c (main): Added command line option
28368         -nocache to run the test with strings that are too large for
28369         the STRXFRM cache.
28371 2015-01-13  Torvald Riegel  <triegel@redhat.com>
28373         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
28374         variable to lll_futex_wake call, not the value itself.
28376 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
28378         [BZ #17803]
28379         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
28380         twom64.  Adjust value to 0x1p-64L.
28381         (__scalblnl): Only return standard underflowing result for K <=
28382         -64 not K <= -63; adjust exponent for underflowing result by 64
28383         not 63.
28384         * math/libm-test.inc (scalbn_test_data): Add more tests.
28385         (scalbln_test_data): Likewise.
28387         [BZ #17834]
28388         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
28389         0x1p63L.
28390         (__scalblnl): Get new exponent of adjusted subnormal value from ES
28391         not HX.
28392         * math/libm-test.inc (scalbn_test_data): Add more tests.
28393         (scalbln_test_data): Likewise.
28395 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28396             Stefani Seibold  <stefani@seibold.net>
28398         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
28399         (sysdep_routines): Add dl-vdso here, ...
28400         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
28401         (sysdep_routines): ... not here.
28402         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
28403         fallback when vDSO is not presented.
28404         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
28405         Define with libc_hidden_proto/libc_hidden_data_def definitions.
28406         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
28407         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
28408         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
28409         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
28410         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
28411         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
28412         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
28413         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
28414         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
28415         fallback configurable symbol when vDSO is not available.
28416         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
28417         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
28418         be able to redefine fallback symbol when vDSO is not available.
28419         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
28420         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
28422 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28424         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
28425         (TLS_INIT_TP): Add tm_capable initialization.
28426         (TLS_DEFINE_INIT_TP): Likewise.
28427         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
28428         TCB.
28429         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
28430         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
28431         calculation.
28432         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
28433         transactoion is lock elision is built and TCB tm_capable is set.
28434         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
28435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28436         (INTERNAL_SYSCALL_NCS): Likewise.
28437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28438         (INTERNAL_SYSCALL_NCS): Likewise.
28439         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
28441         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
28442         for powerpc.
28443         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28444         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
28445         and remove it for 32 bits case.
28446         [pthread_rwlock_t] (__rwelision): New field for lock elision.
28447         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
28448         initialization.
28449         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
28450         Disable lock elision with rdlocks if elision is not available.
28452         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
28453         (sysdep_routines): Add lock elision objects.
28454         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28455         [pthread_mutex_t] (__spins): Rework to add lock elision field.
28456         [pthread_mutex_t] (__elision): Add field.
28457         [__PTHREAD_SPINS]: Adjust to init lock elision field.
28458         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
28459         elision definitions for powerpc.
28460         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
28461         implementation of lock elision for powerpc.
28462         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
28463         implementation of timed lock elision for powerpc.
28464         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
28465         implementation of trylock with lock elision for powerpc.
28466         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
28467         implementaion of unlock for lock elision for powerpc.
28468         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
28469         automatic enable lock elision for mutexes.
28470         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
28471         transaction execution definitions for powerpc.
28472         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
28473         definitions.
28474         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
28475         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
28476         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
28477         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
28478         * NEWS: Update.
28480 2015-01-09  Roland McGrath  <roland@hack.frob.com>
28482         * sysdeps/posix/shm-directory.c: Use <> rather than ""
28483         for #include of <shm-directory.h>.
28485 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
28487         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
28488         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
28490 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
28492         [BZ #17791]
28493         * NEWS: Mention bug fix.
28494         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
28495         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
28496         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
28498 2015-01-09  Torvald Riegel <triegel@redhat.com>
28500         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
28502 2015-01-09  Torvald Riegel <triegel@redhat.com>
28504         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
28506 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
28508         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
28509         pointer and cast to uintptr_t.
28511 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
28513         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
28514         removed.
28515         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
28517 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
28519         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
28520         of 0.
28522 2015-01-08  Roland McGrath  <roland@hack.frob.com>
28524         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
28525         <nptl/pthreadP.h> instead.
28526         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
28528         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
28529         already defined.
28530         [__SIGRTMIN] (init): Function removed.
28531         [__SIGRTMIN] (initialized): Variable removed.
28532         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
28533         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
28534         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
28535         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
28536         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
28537         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
28538         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
28539         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
28540         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
28541         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
28542         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
28543         * sysdeps/nptl/allocrtsig.c: New file.
28544         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
28545         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
28546         * sysdeps/generic/testrtsig.h: File removed.
28548         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
28549         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
28551         * nptl/nptl-init.c (pthread_functions): Conditionalize
28552         .ptr__nptl_setxid initialization on [SIGSETXID].
28554         * sysdeps/nptl/sys/procfs.h: New file.
28555         * nptl_db/Makefile (headers): Add it.
28556         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
28558         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
28559         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
28560         * nptl/pthread_attr_setaffinity.c: Include it.
28561         * nptl/pthread_setattr_default_np.c: Likewise.
28562         * nptl/check-cpuset.h: New file.
28564 2015-01-08  Richard Henderson  <rth@redhat.com>
28566         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
28567         (CFLAGS-tst-execstack-prog.c): Likewise.
28568         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
28570 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
28571             Sandra Loosemore  <sandra@codesourcery.com>
28572             Andrew Jenner  <andrew@codesourcery.com>
28573             Joseph Myers  <joseph@codesourcery.com>
28574             Nathan Sidwell  <nathan@codesourcery.com>
28576         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
28577         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
28578         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
28579         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
28580         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
28581         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
28582         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
28583         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
28584         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
28585         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
28586         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
28587         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
28588         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
28589         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
28590         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
28591         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
28592         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
28594 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28596         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
28597         timespec struct member in syscall macro.
28598         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
28599         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
28600         first timeval struct member in syscall macro.
28601         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
28603 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
28605         [BZ #17748]
28606         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
28607         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
28608         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
28609         __feupdateenv and define as weak alias of __feupdateenv.  Use
28610         libm_hidden_weak.
28611         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
28612         libm_hidden_def.
28613         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
28614         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
28615         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
28616         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
28617         libm_hidden_def.
28618         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
28619         __feupdateenv and define as weak alias of __feupdateenv.  Use
28620         libm_hidden_weak.
28621         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
28622         libm_hidden_def.
28623         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
28624         __feupdateenv and define as weak alias of __feupdateenv.  Use
28625         libm_hidden_weak.
28626         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
28627         libm_hidden_def.
28628         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28629         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
28630         (__feupdateenv): Likewise.
28631         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
28632         __feupdateenv and define as weak alias of __feupdateenv.  Use
28633         libm_hidden_weak.
28634         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28635         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
28636         libm_hidden_def.
28637         * sysdeps/tile/math_private.h (__feupdateenv): New inline
28638         function.
28639         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
28640         libm_hidden_def.
28641         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
28642         __feupdateenv instead of feupdateenv.
28643         (default_libc_feupdateenv_test): Likewise.
28644         (libc_feresetround_ctx): Likewise.
28646 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28648         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
28649         prototype.
28651 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
28653         * posix/regcomp.c (parse_bracket_exp): Initialize type to
28654         COLL_SYM in a couple of places to avoid uninitialized variable
28655         wanings on tilegx gcc 4.8.2.
28657 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
28659         * sysdeps/aarch64/strcpy.S: New file.
28660         * sysdeps/aarch64/stpcpy.S: New file.
28661         * NEWS: Updated.
28663 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
28665         * sysdeps/aarch64/strrchr.S: New file.
28666         * NEWS: Updated.
28668 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
28670         [BZ #17658]
28671         * stdlib/setenv.c: Fix memory leak when setting large,
28672         duplicate string.
28674 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
28676         [BZ #17273]
28677         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
28678         and tabs from buffer before parsing fstab entry.
28679         * misc/tst-mntent.c (main): Add test for mount entry with
28680         trailing spaces and tabs.
28682 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
28684         [BZ #17748]
28685         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
28686         * math/fesetround.c (fesetround): Rename to __fesetround and
28687         define as weak alias of __fesetround.  Use libm_hidden_weak.
28688         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
28689         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
28690         * sysdeps/arm/fesetround.c (fesetround): Likewise.
28691         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
28692         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
28693         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
28694         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
28695         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
28696         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
28697         __fesetround_inline.
28698         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
28699         __fesetround_inline instead of __fesetround.
28700         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
28701         __fesetround and define as weak alias of __fesetround.  Use
28702         libm_hidden_weak.  Call __fesetround_inline instead of
28703         __fesetround.
28704         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
28705         __fesetround and define as weak alias of __fesetround.  Use
28706         libm_hidden_weak.
28707         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
28708         Likewise.
28709         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
28710         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28711         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
28712         * sysdeps/tile/math_private.h (__fesetround): New inline function.
28713         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
28714         __fesetround and define as weak alias of __fesetround.  Use
28715         libm_hidden_weak.
28716         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
28717         __fesetround instead of fesetround.
28718         (default_libc_feholdexcept_setround): Likewise.
28719         (libc_feholdsetround_ctx): Likewise.
28720         (libc_feholdsetround_noex_ctx): Likewise.
28722         [BZ #17748]
28723         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
28724         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
28725         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
28726         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
28727         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28728         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
28729         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28730         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
28731         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28732         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28733         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28734         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28735         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28736         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28737         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
28738         libm_hidden_def.
28739         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
28740         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
28741         Likewise.
28742         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28743         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28744         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28745         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28746         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
28747         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
28748         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
28749         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
28750         __fesetenv instead of fesetenv.
28751         (libc_feresetround_noex_ctx): Likewise.
28752         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
28753         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
28754         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
28755         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
28756         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
28757         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
28758         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28759         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
28760         (__feupdateenv): Likewise.
28761         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28762         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28763         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28764         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
28766 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
28768         [BZ #17806]
28769         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
28770         addresses have been freed.
28772 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
28774         * resolv/res_init.c (__res_vinit): Improve comments about nserv
28775         and nservall.
28777 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
28779         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
28780         Clean up check_pf allocation pattern. addresses
28782 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28784         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
28785         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
28786         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
28787         * nptl/pthread_exit.c (__pthread_exit): Likewise.
28788         * nptl/pthread_join.c (pthread_join): Likewise.
28789         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
28790         * sysdeps/posix/waitid.c (__waitid): Likewise.
28791         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
28792         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
28793         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
28794         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
28795         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
28796         Likewise.
28797         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
28798         (__libc_pread64): Likewise.
28799         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
28800         (__libc_pwrite): Likewise.
28801         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
28802         (__libc_pwrite64): Likewsie.
28803         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
28804         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
28805         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
28806         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
28807         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
28808         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
28809         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
28810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
28811         Likewise.
28812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28813         (__libc_pread64): Likewise.
28814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
28815         Likewise.
28816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28817         (__libc_pwrite64): Likewise.
28818         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
28819         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
28820         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
28821         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
28822         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
28823         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
28824         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
28825         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
28826         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
28827         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
28828         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
28829         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
28830         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
28831         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
28832         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28833         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
28834         Likewise.
28836 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
28838         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
28839         (CFLAGS-test-double.c): Likewise.
28840         (CFLAGS-test-ldouble.c): Likewise.
28841         (CPPFLAGS-test-ifloat.c): Likewise.
28842         (CPPFLAGS-test-idouble.c): Likewise.
28843         (CPPFLAGS-test-ildoubl.c): Likewise.
28844         (CFLAGS-test-test-fenv.c): Remove variable.
28845         (CFLAGS-test-misc.c): Likewise.
28847 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
28849         [BZ #17797]
28850         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
28851         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
28852         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
28853         CLOCKS_PER_SEC == 1000000.
28854         * time/clocktest.c (main): Replace %ld with %jd and cast to
28855         intmax_t.
28857 2015-01-05  Roland McGrath  <roland@hack.frob.com>
28859         * sysdeps/generic/unwind-resume.h: New file.
28860         * sysdeps/gnu/unwind-resume.c: Include it.
28861         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
28862         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
28863         argument list.
28864         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
28865         global rather than static.
28866         (_Unwind_Resume): Update user.
28867         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
28868         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
28869         rather than static.  Add __attribute__ ((cold)).
28870         (_Unwind_Resume, __gcc_personality_v0): Update callers.
28871         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
28872         * sysdeps/arm/arm-unwind-resume.S: New file.
28873         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
28874         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
28875         * sysdeps/arm/Makefile [$(subdir) = csu]
28876         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
28877         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
28878         Add rt-arm-unwind-resume.
28879         [$(subdir) = nptl]
28880         (libpthread-sysdep_routines, libpthread-shared-only-routines):
28881         Add pt-arm-unwind-resume.
28882         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
28883         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
28885 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28887         [BZ #17748]
28888         * include/fenv.h (__feholdexcept): Declare.  Use
28889         libm_hidden_proto.
28890         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
28891         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
28892         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28893         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
28894         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
28895         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
28896         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
28897         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28898         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
28899         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
28900         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28901         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
28902         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
28903         (feholdexcept): Likewise.
28904         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28905         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28906         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28907         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28908         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
28909         __feholdexcept instead of feholdexcept.
28910         (default_libc_feholdexcept_setround): Likewise.
28912 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28914         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
28915         to avoid using stl/str to align destination.
28917 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28919         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
28921 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28923         [BZ #17796]
28924         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
28925         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
28926         Define as weak alias not strong alias.
28928 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28930         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
28931         bltzal with addiupc.
28932         (RTLD_START): Ditto.
28934 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
28936         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
28937         for __vdso_* functions in declarations.
28938         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
28939         definitions.
28940         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
28941         INTERNAL_VSYSCALL): Use struct return types to check for error.
28943         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
28944         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
28945         function with cast from llround().
28946         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
28947         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
28948         Define.
28950 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28952         [BZ #17793]
28953         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
28954         Define as weak alias not strong alias.
28956         [BZ #17635]
28957         * ctype/ctype-c99.c: New file.  isblank implementation moved from
28958         ...
28959         * ctype/ctype-extn.c: ... here.
28960         (__isblank_l): Move to ...
28961         * ctype/ctype-c99_l.c: ... here.  New file.
28962         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
28963         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
28964         Remove variable.
28965         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
28966         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
28967         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
28968         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28969         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28971         [BZ #17777]
28972         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
28973         (posix_fadvise64): Define as weak alias not strong alias.
28974         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28975         (posix_fallocate64): Likewise.
28976         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
28977         Remove variable.
28978         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28979         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28980         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28981         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28982         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28984 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
28986         [BZ #16191]
28987         * NEWS: Mention bug fix.
28988         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
28989         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
28990         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
28991         (HOST_STACK_END_ADDR): Likewise.
28993 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
28995         [BZ #17748]
28996         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
28997         * math/fegetround.c (fegetround): Rename to __fegetround and
28998         define as weak alias of __fegetround.  Use libm_hidden_weak.
28999         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
29000         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
29001         * sysdeps/arm/fegetround.c (fegetround): Likewise.
29002         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
29003         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
29004         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
29005         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
29006         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
29007         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
29008         Undefine after rather than before function definition; use
29009         parentheses around function name in definition.
29010         (__fegetround): Also undefine macro after function definition.
29011         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
29012         __fegetround and define as weak alias of __fegetround.  Use
29013         libm_hidden_weak.  Do not undefine as macro.
29014         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
29015         Likewise.
29016         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
29017         __fegetround and define as weak alias of __fegetround.  Use
29018         libm_hidden_weak.
29019         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29020         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
29021         * sysdeps/tile/math_private.h (__fegetround): New inline function.
29022         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
29023         __fegetround and define as weak alias of __fegetround.  Use
29024         libm_hidden_weak.
29025         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
29026         __fegetround instead of fegetround.
29028         [BZ #17782]
29029         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
29030         Condition macro definition on [__USE_MISC].
29032         [BZ #17781]
29033         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
29034         (struct sigaction): Change type of sa_flags field to int.
29036         [BZ #17780]
29037         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
29038         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
29039         __glibc_reserved0.
29041         * nptl/version.c (banner): Use single year in copyright notice.
29043         * NEWS: Update copyright dates.
29044         * catgets/gencat.c (print_version): Likewise.
29045         * csu/version.c (banner): Likewise.
29046         * debug/catchsegv.sh: Likewise.
29047         * debug/pcprofiledump.c (print_version): Likewise.
29048         * debug/xtrace.sh (do_version): Likewise.
29049         * elf/ldconfig.c (print_version): Likewise.
29050         * elf/ldd.bash.in: Likewise.
29051         * elf/pldd.c (print_version): Likewise.
29052         * elf/sotruss.sh: Likewise.
29053         * elf/sprof.c (print_version): Likewise.
29054         * iconv/iconv_prog.c (print_version): Likewise.
29055         * iconv/iconvconfig.c (print_version): Likewise.
29056         * locale/programs/locale.c (print_version): Likewise.
29057         * locale/programs/localedef.c (print_version): Likewise.
29058         * login/programs/pt_chown.c (print_version): Likewise.
29059         * malloc/memusage.sh (do_version): Likewise.
29060         * malloc/memusagestat.c (print_version): Likewise.
29061         * malloc/mtrace.pl: Likewise.
29062         * manual/libc.texinfo: Likewise.
29063         * nptl/version.c (banner): Likewise.
29064         * nscd/nscd.c (print_version): Likewise.
29065         * nss/getent.c (print_version): Likewise.
29066         * nss/makedb.c (print_version): Likewise.
29067         * posix/getconf.c (main): Likewise.
29068         * scripts/test-installation.pl: Likewise.
29069         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
29071 2015-01-02  Will Newton  <will.newton@linaro.org>
29073         * sysdeps/arm/armv7/configure: Removed.
29074         * sysdeps/arm/armv7/configure.ac: Likewise.
29076 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
29078         * All files with FSF copyright notices: Update copyright dates
29079         using scripts/update-copyrights.
29080         * intl/plural.c: Regenerated.
29081         * locale/programs/charmap-kw.h: Likewise.
29082         * locale/programs/locfile-kw.h: Likewise.
29084 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29086         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
29088 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
29090         [BZ #17748]
29091         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
29092         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
29093         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
29094         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
29095         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
29096         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
29097         define as weak alias of __fegetenv.  Use libm_hidden_weak.
29098         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
29099         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
29100         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
29101         define as weak alias of __fegetenv.  Use libm_hidden_weak.
29102         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
29103         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
29104         define as weak alias of __fegetenv.  Use libm_hidden_weak.
29105         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
29106         libm_hidden_def.
29107         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
29108         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
29109         Likewise.
29110         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
29111         define as weak alias of __fegetenv.  Use libm_hidden_weak.
29112         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29113         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
29114         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
29115         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
29116         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
29117         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
29118         __fegetenv instead of fegetenv.
29119         (libc_feholdsetround_noex_ctx): Likewise.
29121 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
29123         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
29124         (Elf_MIPS_ABIFlags_v0): New structure.
29125         (EF_MIPS_FP64): Define.
29126         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
29127         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
29128         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
29129         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
29130         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
29131         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
29132         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
29133         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
29134         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
29135         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
29136         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
29137         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
29138         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
29139         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
29140         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
29141         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
29142         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
29143         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
29144         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
29145         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
29146         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
29147         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
29148         field.
29149         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
29150         EF_MIPS_FP64.
29151         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
29152         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
29153         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
29154         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
29155         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
29156         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
29157         * sysdeps/mips/tst-abi-interlink.c: Likewise.
29158         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
29159         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
29160         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
29161         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
29162         record the current FP ABI extension.
29163         (mips-mode-switch): Define to show if kernel headers support mode
29164         switching.
29165         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
29166         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
29167         supported SYSV ABI version to 3.
29168         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
29169         feature.
29171 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29172             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29174         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
29175         path.
29176         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
29178 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
29180         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
29181         __fegetround and redefine to call __fegetround.  Remove condition
29182         on [!__NO_MATH_INLINES].
29183         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
29184         function.
29185         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
29186         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
29187         Remove macro.
29188         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
29189         instead of <fenv_libc.h>.
29190         (__llrintl): Call fegetround instead of __fegetround.
29191         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
29192         instead of <fenv_libc.h>.
29193         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
29194         (__lrintl): Call fegetround instead of __fegetround.
29195         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
29196         instead of <fenv_libc.h>.
29197         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
29198         (__rintl): Call fegetround instead of __fegetround.
29200 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
29202         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
29203         arrays.
29205 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
29207         [BZ #17775]
29208         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
29209         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
29210         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
29212 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
29214         * sysdeps/i386/tls-macros.h: Include <features.h>.
29215         (TLS_LE): Use non-PIC version for GCC >= 5.0.
29216         (TLS_IE): Likewise.
29217         (TLS_LD): Likewise.
29218         (TLS_GD): Likewise.
29219         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
29220         define for GCC >= 5.0.
29222 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
29224         * math/test-fenv.c (test_single_exception, set_single_exc,
29225         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
29226         feexcp_mask_test, feenable_test, fe_single_test): Add
29227         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
29228         case where they are not used.
29229         * math/libm-test.inc: Likewise.
29230         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
29231         unused in the absence of FP rounding/exception support.
29232         * stdio-common/tst-printf-round.c: Likewise.
29233         * stdlib/tst-strtod-round.c: Likewise.
29234         * stdlib/tst-strtod-underflow.c: Likewise.
29236 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
29238         [BZ #17723]
29239         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
29240         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
29241         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
29242         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
29243         libm_hidden_weak.
29244         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
29245         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
29246         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
29247         libm_hidden_def.
29248         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
29249         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
29250         libm_hidden_weak.
29251         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
29252         Likewise.
29253         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
29254         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
29255         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
29256         libm_hidden_weak.
29257         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
29258         libm_hidden_def.
29259         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
29260         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
29261         (__feraiseexcept): Likewise.
29262         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
29263         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
29264         libm_hidden_weak.
29265         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
29266         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
29267         libm_hidden_def.
29268         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
29269         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
29270         Use libm_hidden_def.
29271         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
29272         libm_hidden_def.
29273         (feraiseexcept): Define as weak not strong alias.  Use
29274         libm_hidden_weak.
29275         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
29276         New inline function.  Factored out of ...
29277         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
29278         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
29279         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
29280         feraiseexcept.
29281         * math/w_acos.c (__acos): Likewise.
29282         * math/w_asin.c (__asin): Likewise.
29283         * math/w_ilogb.c (__ilogb): Likewise.
29284         * math/w_j0.c (y0): Likewise.
29285         * math/w_j1.c (y1): Likewise.
29286         * math/w_jn.c (yn): Likewise.
29287         * math/w_log.c (__log): Likewise.
29288         * math/w_log10.c (__log10): Likewise.
29289         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
29290         * sysdeps/aarch64/fpu/math_private.h
29291         (libc_feupdateenv_test_aarch64): Likewise.
29292         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
29293         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
29294         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
29295         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
29296         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
29297         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
29298         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
29299         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
29300         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29301         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29303 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
29305         [BZ #17732]
29306         * io/test-utime.c (main): Replace %ld with %jd and cast to
29307         intmax_t.
29308         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
29309         * nptl/tst-mutex5.c: Include <stdint.h>.
29310         (do_test): Replace %ld with %jd and cast to intmax_t.
29311         * posix/tst-regex.c (run_test): Likewise.
29312         (run_test_backwards): Likewise.
29313         * rt/tst-clock.c: Include <stdint.h>.
29314         (clock_test): Replace %ld with %jd and cast to intmax_t.
29315         * rt/tst-cpuclock1.c: Include <stdint.h>.
29316         (do_test): Replace %lu with %ju and cast to uintmax_t.
29317         * rt/tst-cpuclock2.c: Include <stdint.h>.
29318         (do_test): Replace %lu with %ju and cast to uintmax_t.
29319         * rt/tst-mqueue1.c: Include <stdint.h>.
29320         (check_attrs): Replace %ld with %jd and cast to intmax_t.
29321         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
29322         intmax_t.
29323         * rt/tst-mqueue4.c (do_test): Likewise.
29324         * rt/tst-timer4.c: Include <stdint.h>.
29325         (check_ts): Replace %ld with %jd and cast to intmax_t.
29326         (do_test): Likewise.
29327         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
29328         and cast to intmax_t.
29329         * sysdeps/pthread/tst-timer.c (main): Likewise.
29330         * time/clocktest.c (main): Likewise.
29331         * time/tst-posixtz.c (do_test): Likewise.
29332         * timezone/tst-timezone.c (main): Likewise.
29334 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
29335             H.J. Lu  <hongjiu.lu@intel.com>
29337         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
29338         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
29339         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
29340         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
29341         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
29342         version if bit_Fast_Unaligned_Load is set.
29343         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29344         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29345         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29346         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29347         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29348         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29349         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29350         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
29351         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
29352         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
29353         to 4.
29354         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
29355         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
29356         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
29357         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
29359 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
29361         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
29362         instead of #if to avoid a Wundef warning.
29363         * stdlib/tst-limits.c (do_test): Likewise.
29365         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
29366         parallel other exception macros.
29367         (fegetenv): Convert from macro to extern inline so that it applies
29368         retroactively to inline functions already seen by the compiler.
29369         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
29371         * posix/Makefile (before-compile): Use $(objpfx) for
29372         posix-conf-vars-def.h.
29374 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29376         * posix/getconf.c (main): Use size_t for type of I.
29377         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
29378         NSPEC.
29380         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
29381         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
29382         * posix/posix-envs.def: Likewise.
29383         * sysdeps/posix/sysconf.c: Likewise.
29384         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
29385         (specs): Remove array.
29386         * scripts/gen-posix-conf-vars.awk: Support generation of specs
29387         array.
29389         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
29390         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
29391         (__sysconf): Use CONF_IS_* macros.
29393         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
29394         ($(objpfx)posix-conf-vars-def.h): New target.
29395         * posix/posix-conf-vars.list: New file.
29396         * posix/posix-conf-vars.h: New file.
29397         * posix/confstr.c: Include posix-conf-vars.h.
29398         (confstr): Use CONF_IS_* macros.
29399         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
29400         CONF_IS_* macros.
29401         * scripts/gen-posix-conf-vars.awk: New file.
29403 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
29405         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
29406         fegetround): Add no-op macros to avoid linknamespace issues.
29408         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
29409         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
29411         * sysdeps/unix/sysv/linux/tile/sysdep.h
29412         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
29413         assembly-specific section to avoid a redefinition warning.
29415         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
29416         long before casting to pointer to avoid a cast warning.
29418 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
29420         * sysdeps/tile/tilegx/Implies: New file.
29422 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
29424         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
29426 2014-12-23  Florian Weimer  <fweimer@redhat.com>
29428         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
29430 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
29432         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
29433         not define.
29434         * sysdeps/unix/sysv/linux/utimes.c: Do not include
29435         <kernel-features.h>.
29436         (__utimes) [__NR_utimes]: Make code unconditional.
29437         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
29438         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29439         (__ASSUME_UTIMES): Do not undefine.
29440         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29441         (__ASSUME_UTIMES): Likewise.
29442         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29443         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
29444         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
29445         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
29447 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
29449         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
29451 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
29453         [BZ #17747]
29454         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
29455         alias to weak alias for j0l, y0l.
29456         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
29457         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
29459         [BZ #17746]
29460         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
29461         conversion.
29463 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
29465         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
29466         to zero if not already defined.
29468 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
29470         [BZ #17724]
29471         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
29472         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
29473         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
29474         (char *) casts added.
29475         * sysdeps/ieee754/k_standardf.c: New file.
29476         * sysdeps/ieee754/k_standardl.c: Likewise.
29477         * math/Makefile (libm-support): Remove k_standard.
29478         (libm-calls): Add k_standard.
29480 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
29482         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
29483         Optimize to avoid an unnecessary FPCR read.
29485 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
29487         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
29488         Optimize to reduce FPCR/FPSR accesses.
29490 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
29492         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
29493         Call libc_fetestexcept_aarch64.
29495 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
29497         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
29498         Call libc_fesetround_aarch64.
29500 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
29502         [BZ #17733]
29503         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
29504         (__bind): Do not define as weak alias.
29505         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
29506         define.
29507         (__getsockname): Do not define as weak alias.
29509 2014-12-22  Will Newton  <will.newton@linaro.org>
29511         * manual/install.texi: Document that we require bison 2.7
29512         or above.
29513         * INSTALL: Regenerate.
29514         * configure.ac: Use AC_CHECK_PROG_VER instead of
29515         AC_PATH_PROG when checking for bison and check for
29516         version 2.7 or above.
29517         * configure: Regenerate.
29519 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
29521         [BZ #17745]
29522         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
29523         * sysdeps/tile/ffsll.c (ffsll): To here.
29525         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
29527 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
29529         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
29530         if not defined.
29531         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
29532         definition.
29533         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
29534         hidden ___tls_get_addr.
29535         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
29536         hidden __tls_get_addr.
29537         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
29538         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
29539         Likewise.
29541 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
29543         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
29544         _dl_init call.
29546 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
29548         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
29549         from "call _dl_init@PLT".
29550         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
29552 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
29554         * manual/search.texi: (Array Sort Function): Clarify stable sorting
29555         guarantees.
29557 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
29559         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
29561 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
29563         [BZ #17744]
29564         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
29565         strnlen.
29567 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
29569         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
29570         of multu on MIPSr6.
29571         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
29572         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
29573         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
29574         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
29575         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
29577 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
29579         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
29580         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
29581         (PTR_SUBU): Use subu for mips32r6/mips64r6.
29582         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
29583         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
29584         mips32r6/mips64r6.
29585         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
29587 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
29589         * string/strncat.c (STRNCAT): Simplify implementation.
29591 2014-12-19  David S. Miller  <davem@davemloft.net>
29593         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
29594         access the quad as both a long double and as a series of 4 words.
29596         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
29597         link_map->l_info array access.
29599 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
29601         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
29603         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
29604         * math/atest-exp2.c (TIMEOUT): Likewise.
29605         * math/atest-sincos.c (TIMEOUT): Likewise.
29607 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
29609         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
29610         -Wno-error with -fno-builtin-lround.
29612 2014-12-19  Torvald Riegel  <triegel@redhat.com>
29614         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
29615         Contains futex constants and functions moved over from ...
29616         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
29617         <lowlevellock-futex.h>.
29618         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
29619         (lll_timedwait_tid): Add comments and parentheses around macro
29620         arguments.
29622 2014-12-19  Torvald Riegel  <triegel@redhat.com>
29624         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
29625         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
29626         (__lll_private_flag): Remove.
29627         (lll_futex_wait): Likewise.
29628         (lll_futex_timed_wait): Likewise.
29629         (lll_futex_wake): Likewise.
29630         (lll_futex_requeue): Likewise.
29631         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
29632         (__lll_timedwait_tid): Spell out argument names.
29633         (lll_timedwait_tid): Add comments and parentheses around macro
29634         arguments.
29635         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
29636         LLL_SHARED and LLL_PRIVATE usable from assembly code.
29638 2014-12-19  Torvald Riegel  <triegel@redhat.com>
29640         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
29641         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
29642         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29643         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
29644         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
29645         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
29646         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
29647         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
29648         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
29649         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
29650         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
29651         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
29652         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
29653         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
29654         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
29655         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
29656         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
29657         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
29658         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
29660 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
29662         * sysdeps/x86_64/x32/Makefile: New file.
29664 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
29666         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
29667         1L with (mp_limb_t) 1.
29669 2014-12-17  Roland McGrath  <roland@hack.frob.com>
29671         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
29672         * nptl/libc_pthread_init.c: ... here.
29673         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
29674         * nptl/register-atfork.c: ... here.
29676         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
29677         Use pthread_sigmask rather than INTERNAL_SYSCALL.
29678         Use assert_perror to check its return value.
29679         (__gai_create_helper_thread): Likewise.
29681         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
29683         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
29685 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
29687         [BZ #17725]
29688         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
29689         __profil_counter.
29690         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
29691         Likewise.
29692         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
29693         Likewise.
29694         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
29695         Likewise.
29696         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
29697         (profil_counter): Likewise.
29698         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
29699         (profil_counter): Likewise.
29700         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
29701         Likewise.
29702         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
29703         Likewise.
29704         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
29705         (profil_counter): Likewise.
29706         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
29707         Likewise.
29708         [!__profil_counter] (profil_counter): Define as weak alias of
29709         __profil_counter.
29710         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
29711         (profil_counter): Rename to __profil_counter.
29712         [!__profil_counter] (profil_counter): Define as weak alias of
29713         __profil_counter.
29714         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
29715         (profil_counter): Rename to __profil_counter.
29716         [!__profil_counter] (profil_counter): Define as weak alias of
29717         __profil_counter.
29718         * sysdeps/posix/profil.c: Update comment referring to
29719         profil_counter.
29720         (__profil): Use __profil_counter instead of profil_counter.
29721         * sysdeps/posix/sprofil.c (profil_counter): Rename to
29722         __profil_counter.  Use __profil_counter_ushort and
29723         __profil_counter_uint in definitions.
29724         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
29725         instead of profil_counter_uint and profil_counter_ushort.
29727         [BZ #17722]
29728         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
29729         define as weak alias of __inet_makeaddr.
29730         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
29731         as weak alias of __inet_addr.
29732         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
29733         as weak alias of __inet_pton.  Use libc_hidden_weak.
29734         * include/arpa/inet.h (__inet_pton): Declare.  Use
29735         libc_hidden_proto.
29736         (inet_makeaddr): Don't use libc_hidden_proto.
29737         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
29738         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
29739         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
29740         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
29741         Remove variable.
29742         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
29743         (test-xfail-POSIX/time.h/linknamespace): Likewise.
29745 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
29747         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
29749 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
29751         * stdio-common/bug-vfprintf-nargs.c (do_test):
29752         Cast value to intptr_t to avoid format warning
29753         for usage with PRIdPTR printing macro.
29755 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
29757         * libio/tst-widetext.c (do_test):
29758         Use format type %td instead of %Zd for ptrdiff_t
29759         in order to avoid format warning.
29761 2014-12-17  Andreas Schwab  <schwab@suse.de>
29763         * nscd/mem.c (gc): Add size_t cast to match printf format.
29765 2014-12-16  Roland McGrath  <roland@hack.frob.com>
29767         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
29768         (init): Apply PTR_MANGLE to pointers before storing them.
29769         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
29770         before using them.
29772 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
29774         [BZ #17719]
29775         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
29776         define as weak alias of __memrchr.
29777         (__memrchr): Do not define as strong alias of memrchr.
29778         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
29779         Remove variable.
29780         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
29781         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
29782         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
29784         [BZ #17717]
29785         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
29786         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
29787         (if_indextoname): Rename to __if_indextoname and define as weak
29788         alias of __if_indextoname.  Use libc_hidden_weak.
29789         (if_freenameindex): Rename to __if_freenameindex and define as
29790         weak alias of __if_freenameindex.
29791         (if_nameindex): Rename to __if_nameindex and define as weak alias
29792         of __if_nameindex.
29793         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
29794         __if_nametoindex and define as weak alias of __if_nametoindex.
29795         Use libc_hidden_weak.
29796         (if_freenameindex): Rename to __if_freenameindex and define as
29797         weak alias of __if_freenameindex.
29798         (if_nameindex): Rename to __if_nameindex and define as weak alias
29799         of __if_nameindex.
29800         (if_indextoname): Rename to __if_indextoname and define as weak
29801         alias of __if_indextoname.  Use libc_hidden_weak.
29802         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
29803         __if_nametoindex and define as weak alias of __if_nametoindex.
29804         Use libc_hidden_weak.
29805         (if_freenameindex): Rename to __if_freenameindex and define as
29806         weak alias of __if_freenameindex.  Use libc_hidden_weak.
29807         (if_nameindex_netlink): Use __if_freenameindex instead of
29808         if_freenameindex.
29809         (if_nameindex): Rename to __if_nameindex and define as weak alias
29810         of __if_nameindex.  Use libc_hidden_weak.
29811         (if_indextoname): Rename to __if_indextoname and define as weak
29812         alias of __if_indextoname.  Use libc_hidden_weak.
29813         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
29814         libc_hidden_proto.
29815         [!_ISOMAC] (__if_freenameindex): Likewise.
29816         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
29817         if_nametoindex.
29818         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
29819         variable.
29820         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
29821         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
29822         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
29823         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
29824         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
29825         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
29826         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
29828         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
29829         Remove variable.
29830         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
29831         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
29833 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29835         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
29836         subscript above bounds'
29838         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
29839         bounds.
29841 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
29843         * libio/tst-fopenloc.c: Use test-skeleton.c.
29845         * stdlib/tst-bsearch.c: Use test-skeleton.c.
29846         (entry): Rename to ITEM.
29847         (do_test, comp): Adjust.
29849         * stdio-common/tst-fseek.c: Use test-skeleton.c.
29851 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29853         * string/tester.c: Include <libc-internal.h>.
29854         (test_memset): Ignore -Wmemset-transposed-args.
29856 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29858         * misc/tst-mntent2.c (do_test): Fix warning.
29860 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29862         * elf/tst-unique4lib.cc(a): Mark as used.
29864 2014-12-16  Florian Weimer  <fweimer@redhat.com>
29866         [BZ #17630]
29867         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
29868         names.
29870 2014-12-16  Allan McRae  <allan@archlinux.org>
29872         * stdio-common/Makefile (tests): Re-add bug26.
29874 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
29876         [BZ #17657]
29877         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
29878         static array.
29880 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
29882         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
29883         (__lll_lock_wait): Likewise.
29884         (__lll_timedlock_wait): Likewise.
29885         (__lll_timedwait_tid): Likewise.
29886         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
29887         (__lll_robust_timedlock_wait): Likewise.
29888         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
29889         (lll_cond_trylock): Likewise.
29890         (__lll_lock): Likewise.
29891         (__lll_robust_lock): Likewise.
29892         (__lll_cond_lock): Likewise.
29893         (lll_robust_cond_lock): Likewise.
29894         (__lll_timedlock): Likewise.
29895         (__lll_robust_timedlock): Likewise.
29896         (__lll_unlock): Likewise.
29897         (__lll_robust_unlock): Likewise.
29898         (lll_wait_tid): Likewise.
29899         (lll_timedwait_tid): Likewise.
29901 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29903         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
29905 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29907         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
29909 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
29911         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
29912         * stdio-common/tst-sprintf.c: Likewise.
29914 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29916         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
29918 2014-12-15  Jeff Law  <law@redhat.com>
29920         [BZ #16617]
29921         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
29922         on the heap.  (CVE-2012-3406)
29923         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
29924         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
29925         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
29927 2014-12-15  Will Newton  <will.newton@linaro.org>
29929         * manual/install.texi: Bump required version of texinfo
29930         to 4.7 from 4.5.
29931         * INSTALL: Regenerated.
29932         * configure.ac: Check for makeinfo version 4.7 and above.
29933         * configure: Regenerated.
29935 2014-12-12  Roland McGrath  <roland@hack.frob.com>
29937         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
29938         PREFIX, string constant to insert between directory and name.
29939         * sysdeps/posix/shm_open.c: Update caller.
29940         * sysdeps/posix/shm_unlink.c: Likewise.
29941         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
29942         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
29943         (SEM_SHM_PREFIX): New macro.
29944         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
29945         [$(have-thread-library) = no].
29946         * nptl/Makefile (libpthread-routines): Add shm-directory.
29947         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
29948         * sysdeps/nptl/shm-directory.h: New file.
29949         * sysdeps/posix/shm-directory.c
29950         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
29951         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
29952         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
29953         INTERNAL_SYSCALL.
29954         (__where_is_shmfs): Function removed.
29955         (mountpoint, defaultmount, defaultdir, __namedsem_once):
29956         Variables removed.
29957         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
29958         Use SHM_GET_NAME.
29959         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
29961         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
29962         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
29963         unconditional for use inside libpthread.
29964         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
29966 2014-12-12  Roland McGrath  <roland@hack.frob.com>
29968         * nptl/pthread_getaffinity.c: New file.
29969         * nptl/pthread_setaffinity.c: New file.
29970         * nptl/pthread_getname.c: New file.
29971         * nptl/pthread_setname.c: New file.
29973         * nptl/pthread_create.c (START_THREAD_DEFN)
29974         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
29976 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29977             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29979         * resolv/res_send.c (send_vc): Disable warning resplen may
29980         be used uninitialized.
29982 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29984         * nptl/tst-mutex6.c
29985         (ATTR_NULL): New define checks ATTR against NULL.
29986         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
29987         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
29989 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
29991         [BZ #17581]
29992         * malloc/hooks.c
29993         (mem2mem_check): Revert my previous change.
29994         (malloc_check_get_size): Revert my previous change.
29995         (mem2chunk_check): Revert my previous change.
29997 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29999         * sysdeps/posix/shm-directory.c: New file.
30000         * sysdeps/posix/shm-directory.h: New file.
30001         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
30002         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
30003         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
30004         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
30005         Transmute EPERM to EACCES.
30006         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
30007         from ...
30008         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
30009         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
30011 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30013         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
30014         pointer and cast to uintptr_t.
30015         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
30016         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
30017         Add cast to avoid warning.
30018         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
30020 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
30022         * nptl/semaphore.h: Move to ...
30023         * sysdeps/pthread/semaphore.h: ... here.
30024         * Makefile (installed-headers): Change nptl/semaphore.h to
30025         sysdeps/pthread/semaphore.h.
30027 2014-12-11  Roland McGrath  <roland@hack.frob.com>
30029         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
30030         generated error format strings.
30032         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
30033         -Wformat-extra-args warnings for scanf formats.
30034         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
30035         test of zero-length format (duh).
30036         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
30037         corner-case scanf format test.
30038         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
30039         generated fprintf format string.
30040         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
30041         corner-case sprintf format tests.
30042         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
30043         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
30044         -Wformat-extra-args warnings throughout.
30045         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
30046         (CFLAGS-scanf4.c): Likewise.
30047         (CFLAGS-scanf7.c): Likewise.
30048         (CFLAGS-tst-sprintf.c): Likewise.
30049         (CFLAGS-tst-printf.c): Likewise.
30050         (CFLAGS-tst-printfsz.c): Likewise.
30052 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
30054         * include/cpio.h: New file.
30055         * include/fmtmsg.h: Likewise.
30057         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
30058         corresponding format argument to size_t.
30059         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
30060         arguments.
30061         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
30062         corresponding format argument to size_t.
30063         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
30064         arguments.
30065         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
30066         corresponding format argument to size_t.
30067         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
30068         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
30069         (CFLAGS-tst-mbswcs2.c): Likewise.
30070         (CFLAGS-tst-mbswcs3.c): Likewise.
30071         (CFLAGS-tst-mbswcs4.c): Likewise.
30072         (CFLAGS-tst-mbswcs5.c): Likewise.
30073         (CFLAGS-tst-trans.c): Likewise.
30075 2014-12-11  Roland McGrath  <roland@hack.frob.com>
30077         * posix/regexbug1.c (main): Use "%s" format with regerror results,
30078         rather than assuming they won't contain any '%'s.
30080 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
30082         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
30083         inhibit_loop_to_libcall to avoid recursive calls.
30084         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
30085         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
30087 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
30089         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
30090         prototype.
30092 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
30094         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
30095         integer value instead of boolean.
30097 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
30099         * malloc/malloc.c: Fix powerof2 check.
30101 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
30103         * locale/programs/locfile.h (maybe_swap_uint32):
30104         Remove inline and add unused attribute.
30106 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
30108         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
30109         Truncating assembler expression to a .long expression.
30111 2014-12-11  Andreas Schwab  <schwab@suse.de>
30113         * elf/rtld.c (struct map_args): Constify str member.
30114         (do_preload): Constify fname argument.
30116 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30118         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
30119         constants definition.
30121 2014-12-11  Andreas Schwab  <schwab@suse.de>
30123         [BZ #16657]
30124         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
30125         FORCE_ELISION instead of DO_ELISION.
30126         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
30127         Remove.
30128         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
30129         Likewise.
30131         * iconvdata/gconv-modules: Remove duplicate entry.
30133 2014-12-11  Will Newton  <will.newton@linaro.org>
30135         Merge gettext 0.19.3 into intl/.
30137         This involves a number of cosmetic changes to comments
30138         and ANSI function definitions and prototypes throughout
30139         all the files. The gettext copyright header is used but
30140         with the date ranges taken from the glibc copy.
30142         * NEWS: Add gettext merge to 2.21.
30143         * intl/bindtextdom.c: Switch to gettext copyright.
30144         Use ANSI definitions and prototypes.
30145         Use gl_* locking primitives rather than __libc_* ones.
30146         Use __builtin_expect rather than __glibc_likely/unlikely.
30147         * intl/dcgettext.c: Switch to gettext copyright.
30148         Use ANSI definitions and prototypes.
30149         * intl/dcigettext.c: Switch to gettext copyright.
30150         Use ANSI definitions and prototypes.
30151         (INTDIV0_RAISES_SIGFPE): New define.
30152         Use gl_* locking primitives rather than __libc_* ones.
30153         Include eval-plural.h instead of plural-eval.c.
30154         Use __builtin_expect rather than __glibc_likely/unlikely.
30155         * intl/dcngettext.c: Switch to gettext copyright.
30156         Use ANSI definitions and prototypes.
30157         * intl/dgettext.c: Likewise.
30158         * intl/dngettext.c: Likewise.
30159         * intl/plural-eval.c: Renamed to...
30160         * intl/eval-plural.h: ...this.
30161         * intl/explodename.c: Switch to gettext copyright.
30162         Use ANSI definitions and prototypes.
30163         (_nl_explode_name): Use strchr instead of __rawmemchr.
30164         * intl/finddomain.c: Switch to gettext copyright.
30165         Use ANSI definitions and prototypes.
30166         Use gl_* locking primitives rather than __libc_* ones.
30167         (_nl_find_domain): Use malloc rather than alloca for
30168         allocation of temporary locale name.
30169         * intl/gettext.c: Switch to gettext copyright.
30170         Use ANSI definitions and prototypes.
30171         * intl/gettextP.h: Switch to gettext copyright.
30172         Use ANSI definitions and prototypes.
30173         Use gl_* locking primitives rather than __libc_* ones.
30174         * intl/gmo.h: Switch to gettext copyright.
30175         (struct sysdep_string): Move struct segment_pair outside of
30176         struct definition.
30177         * intl/hash-string.c: Use ANSI definitions and prototypes.
30178         * intl/hash-string.h: Switch to gettext copyright.
30179         Use ANSI definitions and prototypes.
30180         * intl/l10nflist.c: Switch to gettext copyright.
30181         Use ANSI definitions and prototypes.
30182         (_nl_normalize_codeset): Avoid integer overflow.
30183         * intl/loadinfo.h: Switch to gettext copyright.
30184         Use ANSI definitions and prototypes.
30185         (LIBINTL_DLL_EXPORTED): New define.
30186         (PATH_SEPARATOR): New define.
30187         * intl/loadmsgcat.c: Switch to gettext copyright.
30188         * intl/localealias.c: Switch to gettext copyright.
30189         Use ANSI definitions and prototypes.
30190         (_nl_expand_alias): Use PATH_SEPARATOR.
30191         * intl/ngettext.c: Switch to gettext copyright.
30192         Use ANSI definitions and prototypes.
30193         * intl/plural-exp.c: Likewise.
30194         * intl/plural-exp.h: Switch to gettext copyright.
30195         Use ANSI definitions and prototypes.
30196         (struct expression): Move definition of enum operator outside
30197         of struct definition.
30198         * intl/plural.c: Regenerate.
30199         * intl/plural.y: Switch to gettext copyright.
30200         Use ANSI definitions and prototypes.
30201         Port to bison 3.0.
30202         * intl/textdomain.c: Switch to gettext copyright.
30203         Use ANSI definitions and prototypes.
30204         Use gl_* locking primitives rather than __libc_* ones.
30206 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
30208         * debug/warning-nop.c: Add used atrribute.
30210 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
30212         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
30214         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
30215         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
30216         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
30218 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
30219             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30221         [BZ #17634]
30222         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
30223         Undefine after defining function.  Define as weak alias of
30224         __wcschr.  Use libc_hidden_weak.
30225         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
30226         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
30227         (libc_hidden_def): Also define __GI___wcschr alias.
30228         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
30229         __wcschr and define as weak alias of __wcschr.
30230         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
30231         __wcschr.
30232         [!WCSCHR] (DEFAULT_WCSCHR): Define.
30233         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
30234         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
30235         libc_hidden_weak.  Do not use libc_hidden_def.
30236         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
30237         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
30238         __GI___wcschr alias.
30239         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
30240         [IS_IN (libc)] (wcschr): Define as macro expanding to
30241         __redirect_wcschr.
30242         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
30243         [IS_IN (libc)] (__wcschr_power6): Likewise.
30244         [IS_IN (libc)] (__wcschr_power7): Likewise.
30245         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
30246         instead of wcschr.
30247         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
30248         __libc_wcschr.
30249         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
30250         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
30251         __wcschr and define as weak alias of __wcschr.  Use
30252         libc_hidden_builtin_def.
30253         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
30254         as weak alias of __wcschr.  Use libc_hidden_weak.
30255         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
30256         wcschr.
30257         * time/era.c (_nl_init_era_entries): Likewise.
30258         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
30259         variable.
30260         (test-xfail-XPG3/time.h/linknamespace): Likewise.
30261         (test-xfail-XPG4/time.h/linknamespace): Likewise.
30263 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
30265         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
30266         format for long int variable.
30268 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
30270         [BZ #10672]
30271         * manual/search.texi: (Array Sort Function): Remove claim how to make
30272         qsort stable.
30274 2014-12-10  Andreas Schwab  <schwab@suse.de>
30276         [BZ #12847]
30277         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
30278         user-controlled locks.
30280 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
30282         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
30283         register.
30285 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
30287         * configure.ac (--disable-werror): New configure option.
30288         (enable_werror): New AC_SUBST.
30289         * configure: Regenerated.
30290         * config.make.in (enable-werror): New variable.
30291         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
30292         -Wno-error=undef.
30293         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
30294         * manual/install.texi (Configuring and compiling): Document
30295         --disable-werror.
30296         * INSTALL: Regenerated.
30297         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
30298         (CFLAGS-tst-chk2.c): Likewise.
30299         (CFLAGS-tst-chk3.c): Likewise.
30300         (CFLAGS-tst-chk4.cc): Likewise.
30301         (CFLAGS-tst-chk5.cc): Likewise.
30302         (CFLAGS-tst-chk6.cc): Likewise.
30303         (CFLAGS-tst-lfschk1.c): Likewise.
30304         (CFLAGS-tst-lfschk2.c): Likewise.
30305         (CFLAGS-tst-lfschk3.c): Likewise.
30306         (CFLAGS-tst-lfschk4.cc): Likewise.
30307         (CFLAGS-tst-lfschk5.cc): Likewise.
30308         (CFLAGS-tst-lfschk6.cc): Likewise.
30310         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
30311         (main): Disable -Wdeprecated-declarations around calls to
30312         register_printf_function.
30314         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
30315         (do_test): Disable -Wdiv-by-zero around some calls to
30316         fwrite_unlocked and fread_unlocked.
30318         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
30319         (DIAG_POP_NEEDS_COMMENT): Likewise.
30320         (_DIAG_STR1): Likewise.
30321         (_DIAG_STR): Likewise.
30322         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
30323         * stdio-common/bug21.c: Include <libc-internal.h>.
30324         (do_test): Disable -Wformat around call to sscanf.
30325         * stdio-common/scanf14.c: Include <libc-internal.h>.
30326         (main): Disable -Wformat around some calls to scanf functions.
30328 2014-12-09  Torvald Riegel  <triegel@redhat.com>
30330         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
30332 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30334         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
30335         stack variable alignment.
30337 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
30339         [BZ #17682]
30340         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
30341         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
30342         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
30343         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
30344         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
30345         __getrlimit instead of getrlimit.
30346         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
30347         __gettimeofday instead of gettimeofday.
30348         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
30349         Likewise.
30350         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
30351         Likewise.
30352         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30353         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
30354         Remove variable.
30355         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
30356         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
30358 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30360         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
30361         for wide-character tests.
30363 2014-12-04  Roland McGrath  <roland@hack.frob.com>
30365         * io/openat64.c: #include <libc-internal.h>
30366         (__openat64): Prototypify.  Use ignore_value on MODE.
30367         * io/openat.c: Likewise.
30368         * misc/reboot.c: #include <libc-internal.h>
30369         (reboot): Prototypify.  Use ignore_value on HOWTO.
30370         * misc/ptrace.c: #include <libc-internal.h>
30371         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
30373 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
30375         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
30376         XPG4, UNIX98 and XOPEN2K.
30377         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
30378         Remove variable.
30379         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
30381 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30383         * libio/fileops.c: Use ISO C style for function definitions.
30384         * libio/iofopen.c: Likewise.
30385         * libio/wfileops.c: Likewise.
30387         [BZ #17653]
30388         * libio/fileops.c (_IO_new_file_underflow): Unset cached
30389         offset on EOF.
30390         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
30391         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
30392         (fgets_func): Function pointer to fgets and fgetws.
30393         (do_ftell_test): Add test to verify ftell value after read
30394         EOF.
30395         (do_test): Set fgets_func.
30397         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
30398         O_TRUNC flag for w and w+ modes.
30399         (do_rewind_test): Likewise.
30400         (do_ftell_test): Likewise.
30401         (do_write_test): Likewise.
30403         [BZ #17647]
30404         * libio/fileops.c (do_ftell): Seek only when there are
30405         unflushed writes.
30406         * libio/wfileops.c (do_ftell_wide): Likewise.
30407         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
30408         test case.
30409         (do_one_test): Call it.
30411 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
30413         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
30414         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
30415         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
30416         Remove variable.
30417         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
30418         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
30419         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
30421 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
30423         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
30424         Remove variable.
30425         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
30427         [BZ #17668]
30428         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
30429         as weak alias of __getifaddrs.  Use libc_hidden_weak.
30430         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
30431         __freeifaddrs.  Use libc_hidden_weak.
30432         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
30433         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
30434         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
30435         __freeifaddrs.  Use libc_hidden_weak.
30436         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
30437         __getifaddrs and define as weak alias of __getifaddrs.  Use
30438         libc_hidden_weak.
30439         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
30440         __freeifaddrs.  Use libc_hidden_weak.
30441         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
30442         Remove variable.
30443         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
30444         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
30446 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
30448         [BZ #17601]
30449         * sysdeps/mips/start.S (__start): Use indirect jump to call
30450         __libc_start_main.
30452 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
30454         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
30456         * nptl/tst-mutex1.c: Include <stdbool.h>.
30457         [!ATTR] (ATTR_NULL): New macro.
30458         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
30459         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
30460         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
30462         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
30463         to char *.
30465         [BZ #17665]
30466         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
30467         Change conditional to [__USE_MISC].
30469         [BZ #17664]
30470         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
30471         fgets_unlocked.
30472         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
30473         __fgets_unlocked.
30474         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
30475         fgets_unlocked.
30476         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
30477         Remove variable.
30478         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
30479         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
30480         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
30481         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
30482         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
30483         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
30484         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
30485         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
30486         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
30488         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
30490 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30492         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30493         Remove strpbrk objects.
30494         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30495         (__libc_ifunc_impl_list): Remove strpbrk implementation.
30496         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
30497         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
30498         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
30499         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
30501         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30502         Remove strcspn objects.
30503         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30504         (__libc_ifunc_impl_list): Remove strcspn implementation.
30505         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
30506         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
30507         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
30508         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
30510         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30511         Remove strspn objetcs.
30512         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30513         (__libc_ifunc_impl_list): Remove strspn implementation.
30514         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
30515         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
30516         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
30517         * sysdeps/powerpc/powerpc64/strspn.S: New file.
30519 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
30521         [BZ #17581]
30522         * malloc/hooks.c
30523         (mem2mem_check): Add a terminator to the chain of checking blocks.
30524         (malloc_check_get_size): Use it here.
30525         (mem2chunk_check): Ditto.
30527 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30529         * sysdeps/powerpc/powerpc64/strtok.S: New file.
30530         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
30532 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
30534         * bits/ioctl-types.h: Indent preprocessor directives correctly.
30536         * nptl/nptl-init.c: Include libc-internal.h.
30537         (__pthread_initialize_minimal_internal): Use ROUND_UP.
30539         * elf/ldconfig.c (search_dir): Expand comment.
30541 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
30543         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
30544         variable.
30545         (linknamespace-symlist-stdlibs-tests): Likewise.
30546         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
30547         instead of $(objpfx)symlist-stdlibs.
30548         (linknamespace-libs-isoc): New variable.
30549         (linknamespace-libs): Use $(linknamespace-libs-isoc).
30550         (linknamespace-libs-ISO): New variable.
30551         (linknamespace-libs-ISO99): Likewise.
30552         (linknamespace-libs-ISO11): Likewise.
30553         (linknamespace-libs-XPG3): Likewise.
30554         (linknamespace-libs-XPG4): Likewise.
30555         (linknamespace-libs-POSIX): Likewise.
30556         (linknamespace-libs-UNIX98): Likewise.
30557         (linknamespace-libs-XOPEN2K): Likewise.
30558         (linknamespace-libs-POSIX2008): Likewise.
30559         (linknamespace-libs-XOPEN2K8): Likewise.
30560         ($(objpfx)symlist-stdlibs): Replace by
30561         $(linknamespace-symlist-stdlibs-tests).  Use
30562         $(linknamespace-libs-$*) as set of libraries.
30563         ($(linknamespace-header-tests)): Update dependencies.  Use
30564         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
30565         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
30566         * conform/linknamespace.pl: Remove comment about considering
30567         definitions of symbols from irrelevant libraries.
30569 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
30571         [BZ #13862]
30572         * elf/dl-tls.c: Include <atomic.h>.
30573         (oom): Remove #ifdef SHARED/#endif.
30574         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
30575         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
30576         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
30577         big enough.
30578         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
30579         * nptl/Makefile (tests): Add tst-stack4.
30580         (modules-names): Add tst-stack4mod.
30581         ($(objpfx)tst-stack4): New.
30582         (tst-stack4mod.sos): Likewise.
30583         ($(objpfx)tst-stack4.out): Likewise.
30584         ($(tst-stack4mod.sos)): Likewise.
30585         (clean): Likewise.
30586         * nptl/tst-stack4.c: New file.
30587         * nptl/tst-stack4mod.c: Likewise.
30589 2014-11-27  J. Brown  <jb999@gmx.de>
30591         * sysdeps/x86/bits/string.h: Add recent CPUs.
30593 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
30595         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
30596         sigblock.
30598         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
30599         feof.
30601         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
30602         variable.
30604 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
30606         * nscd/connections.c: Include libc-internal.h because of macro
30607         usage ignore_value.
30609 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30611         * string/bits/string3.h (__warn_memset_zero_len): Don't
30612         declare for gcc newer than 5.0.
30613         (memset): Don't test for zero-length __LEN for gcc newer than
30614         5.0.
30616 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
30618         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
30619         size_t for %zu format.
30621         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
30622         difference, not %ju.
30624 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
30626         * include/libc-internal.h (ignore_value): New macro.
30627         * nscd/connections.c (restart): Wrap calls to setuid and setgid
30628         with ignore_value.
30630         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
30631         definition.
30633         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
30634         pthread_cleanup_push to void *.
30636         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
30637         Undefine.
30639         [BZ #16619]
30640         [BZ #16740]
30641         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
30642         instead of 1L << 52.
30644         * libio/bug-rewind.c (do_test): Check fwscanf return values.
30645         * libio/bug-rewind2.c (do_test): Likewise.
30647         * debug/test-stpcpy_chk-ifunc.c: Remove file.
30648         * debug/test-strcpy_chk-ifunc.c: Likewise.
30649         * wcsmbs/test-wcschr-ifunc.c: Likewise.
30650         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30651         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30652         * wcsmbs/test-wcslen-ifunc.c: Likewise.
30653         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30654         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30655         * Rules [$(multi-arch) = no] (tests): Do not filter out
30656         $(tests-ifunc).
30657         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
30658         * debug/Makefile (tests-ifunc): Remove variable.
30659         (tests): Do not add $(tests-ifunc).
30660         * wcsmbs/Makefile (tests-ifunc): Remove variable.
30661         (tests): Do not add $(tests-ifunc).
30662         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
30663         [TEST_IFUNC]: Remove conditionals.
30664         * string/test-string.h (TEST_IFUNC): Remove macro.
30665         [TEST_IFUNC]: Remove conditionals.
30667         * string/test-strchr.c [!WIDE] (L): New macro.
30668         [WIDE] (L): Likewise.
30669         (check1): Use CHAR instead of char.  Use L on string and character
30670         constants.
30672 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
30674         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
30675         tests.
30676         * sysdeps/powerpc/bits/atomic.h
30677         (__arch_atomic_exchange_and_add_32_acq): Add definition.
30678         (__arch_atomic_exchange_and_add_32_rel): Likewise.
30679         (atomic_exchange_and_add_acq): Likewise.
30680         (atomic_exchange_and_add_rel): Likewise.
30681         * sysdeps/powerpc/powerpc32/bits/atomic.h
30682         (__arch_atomic_exchange_and_add_64_acq): Add definition.
30683         (__arch_atomic_exchange_and_add_64_rel): Likewise.
30684         * sysdeps/powerpc/powerpc64/bits/atomic.h
30685         (__arch_atomic_exchange_and_add_64_acq): Add definition.
30686         (__arch_atomic_exchange_and_add_64_rel): Likewise.
30688 2014-11-26  Torvald Riegel  <triegel@redhat.com>
30690         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
30691         Change synchronization of __sched_fifo_min_prio and
30692         __sched_fifo_max_prio.
30693         * nptl/pthread_mutexattr_getprioceiling.c
30694         (pthread_mutexattr_getprioceiling): Likewise.
30695         * nptl/pthread_mutexattr_setprioceiling.c
30696         (pthread_mutexattr_setprioceiling): Likewise.
30697         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
30698         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
30699         Likewise.
30701 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
30703         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
30704         void.
30706 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
30708         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
30709         third argument const.
30711 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
30713         fnmatch: work around GCC compiler warning bug with uninit var
30714         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
30715         This works around a bug with x86-64 GCC 4.9.2 and earlier
30716         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
30717         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
30718         used uninitialized in this function [-Wmaybe-uninitialized]".
30720 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
30722         * posix/bug-regex31.c (main): Return RES not 0.
30724 2014-11-25  Anton Blanchard <anton@samba.org>
30726         * sysdeps/powerpc/bits/atomic.h
30727         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
30729 2014-11-24  Sterling Augustine  <saugustine@google.com>
30731         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
30733 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
30735         [BZ #17608]
30736         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
30738 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
30740         [BZ #17633]
30741         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
30742         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
30743         variable.
30744         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
30745         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
30747 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
30749         * string/strncpy.c (strncpy): Improve performance by using memset.
30751 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
30753         * string/strcpy.c (strcpy):
30754         Improve performance by using strlen and memcpy.
30756 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
30758         * string/strcoll_l.c (get_next_seq): __always_inline.
30759         * string/strcoll_l.c (do_compare): __always_inline.
30761 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30763         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
30764         defined.
30765         * include/mqueue.h: Likewise.
30766         * include/stdlib.h: Likewise.
30768         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
30769         (get_null_defines): Adjust.
30770         * sunrpc/Makefile: Adjust comment.
30771         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
30772         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
30773         (CFLAGS-interp.c): Likewise.
30774         (CFLAGS-ldconfig.c): Likewise.
30775         (CPPFLAGS-.os): Likewise.
30776         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30777         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
30778         * extra-modules.mk (extra-modules.mk): Likewise.
30779         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
30780         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
30781         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
30782         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
30783         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
30784         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
30785         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
30786         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
30787         * iconvdata/Makefile (CPPFLAGS): Likewise.
30788         (cpp-srcs-left): Add libof for all iconvdata routines.
30789         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
30790         * include/assert.h: Likewise.
30791         * include/ctype.h: Likewise.
30792         * include/errno.h: Likewise.
30793         * include/libc-symbols.h: Likewise.
30794         * include/math.h: Likewise.
30795         * include/netdb.h: Likewise.
30796         * include/resolv.h: Likewise.
30797         * include/stdio.h: Likewise.
30798         * include/stdlib.h: Likewise.
30799         * include/string.h: Likewise.
30800         * include/sys/stat.h: Likewise.
30801         * include/wctype.h: Likewise.
30802         * intl/l10nflist.c: Likewise.
30803         * libidn/idn-stub.c: Likewise.
30804         * libio/libioP.h: Likewise.
30805         * nptl/libc_multiple_threads.c: Likewise.
30806         * nptl/pthreadP.h: Likewise.
30807         * posix/regex_internal.h: Likewise.
30808         * resolv/res_hconf.c: Likewise.
30809         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
30810         * sysdeps/arm/memmove.S: Likewise.
30811         * sysdeps/arm/sysdep.h: Likewise.
30812         * sysdeps/generic/_itoa.h: Likewise.
30813         * sysdeps/generic/symbol-hacks.h: Likewise.
30814         * sysdeps/gnu/errlist.awk: Likewise.
30815         * sysdeps/gnu/errlist.c: Likewise.
30816         * sysdeps/i386/i586/memcpy.S: Likewise.
30817         * sysdeps/i386/i586/memset.S: Likewise.
30818         * sysdeps/i386/i686/memcpy.S: Likewise.
30819         * sysdeps/i386/i686/memmove.S: Likewise.
30820         * sysdeps/i386/i686/mempcpy.S: Likewise.
30821         * sysdeps/i386/i686/memset.S: Likewise.
30822         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30823         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30824         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
30825         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
30826         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30827         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30828         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
30829         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30830         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30831         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30832         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30833         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30834         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30835         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30836         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30837         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30838         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
30839         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
30840         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
30841         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30842         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30843         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30844         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30845         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30846         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30847         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30848         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
30849         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30850         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
30851         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30852         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30853         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30854         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30855         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30856         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30857         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30858         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30859         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30860         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30861         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30862         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30863         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30864         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30865         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30866         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30867         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30868         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
30869         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
30870         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30871         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30872         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30873         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
30874         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
30875         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30876         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30877         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
30878         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30879         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
30880         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
30881         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30882         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30883         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30884         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
30885         * sysdeps/nptl/bits/libc-lock.h: Likewise.
30886         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
30887         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
30888         * sysdeps/posix/closedir.c: Likewise.
30889         * sysdeps/posix/opendir.c: Likewise.
30890         * sysdeps/posix/readdir.c: Likewise.
30891         * sysdeps/posix/rewinddir.c: Likewise.
30892         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
30893         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
30894         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30895         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30896         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30897         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
30898         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
30899         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
30900         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
30901         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
30902         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
30903         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
30904         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
30905         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
30906         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
30907         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
30908         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
30909         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
30910         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
30911         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
30912         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
30913         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
30914         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
30915         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
30916         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
30917         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
30918         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
30919         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
30920         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
30921         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
30922         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
30923         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
30924         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
30925         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
30926         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
30927         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
30928         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30929         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30930         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
30931         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
30932         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
30933         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
30934         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
30935         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
30936         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
30937         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
30938         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
30939         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
30940         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
30941         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
30942         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
30943         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
30944         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
30945         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
30946         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
30947         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
30948         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
30949         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
30950         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
30951         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
30952         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
30953         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
30954         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
30955         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
30956         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
30957         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
30958         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
30959         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
30960         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
30961         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
30962         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
30963         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
30964         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
30965         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
30966         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
30967         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
30968         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
30969         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
30970         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
30971         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
30972         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
30973         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
30974         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
30975         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
30976         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30977         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
30978         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
30979         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30980         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30981         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30982         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
30983         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
30984         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
30985         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
30986         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30987         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
30988         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
30989         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30990         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
30991         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
30992         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30993         * sysdeps/unix/alpha/sysdep.S: Likewise.
30994         * sysdeps/unix/alpha/sysdep.h: Likewise.
30995         * sysdeps/unix/make-syscalls.sh: Likewise.
30996         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30997         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30998         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30999         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
31000         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
31001         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
31002         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
31003         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31004         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
31005         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
31006         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31007         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
31008         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31009         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
31010         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
31011         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31012         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
31013         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
31014         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
31015         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
31016         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
31017         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31018         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
31019         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
31020         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
31021         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
31022         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
31024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
31025         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
31026         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31027         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
31028         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31029         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31030         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
31031         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
31032         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31033         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31034         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
31035         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
31036         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31037         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
31038         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31039         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
31040         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31041         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
31042         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31043         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31044         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
31045         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31046         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31047         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
31048         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
31049         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
31050         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
31051         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31052         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
31053         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31054         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
31055         * sysdeps/x86_64/memcpy.S: Likewise.
31056         * sysdeps/x86_64/memmove.c: Likewise.
31057         * sysdeps/x86_64/memset.S: Likewise.
31058         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
31059         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31060         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
31061         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
31062         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
31063         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31064         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31065         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31066         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31067         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31068         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31069         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31070         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
31071         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31072         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31073         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
31074         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
31075         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31076         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31077         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31078         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
31079         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31080         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31081         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31082         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31083         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31084         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31085         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
31086         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31087         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31088         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
31089         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31090         * sysdeps/x86_64/strcmp.S: Likewise.
31092         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
31094         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
31095         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
31096         * elf/rtld-Rules: Likewise.
31097         * elf/setup-vdso.h: Likewise.
31098         * include/assert.h: Likewise.
31099         * include/bits/stdlib-float.h: Likewise.
31100         * include/errno.h: Likewise.
31101         * include/sys/stat.h: Likewise.
31102         * include/unistd.h: Likewise.
31103         * sysdeps/aarch64/setjmp.S: Likewise.
31104         * sysdeps/alpha/setjmp.S: Likewise.
31105         * sysdeps/arm/__longjmp.S: Likewise.
31106         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
31107         * sysdeps/arm/setjmp.S: Likewise.
31108         * sysdeps/arm/sysdep.h: Likewise.
31109         * sysdeps/generic/_itoa.h: Likewise.
31110         * sysdeps/generic/dl-sysdep.h: Likewise.
31111         * sysdeps/generic/ldsodefs.h: Likewise.
31112         * sysdeps/i386/dl-tls.h: Likewise.
31113         * sysdeps/i386/setjmp.S: Likewise.
31114         * sysdeps/m68k/setjmp.c: Likewise.
31115         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
31116         * sysdeps/mach/hurd/opendir.c: Likewise.
31117         * sysdeps/posix/getcwd.c: Likewise.
31118         * sysdeps/posix/opendir.c: Likewise.
31119         * sysdeps/posix/profil.c: Likewise.
31120         * sysdeps/powerpc/dl-procinfo.h: Likewise.
31121         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31122         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31123         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
31124         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
31125         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
31126         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
31127         * sysdeps/s390/dl-tls.h: Likewise.
31128         * sysdeps/s390/s390-32/setjmp.S: Likewise.
31129         * sysdeps/s390/s390-64/setjmp.S: Likewise.
31130         * sysdeps/sh/sh3/setjmp.S: Likewise.
31131         * sysdeps/sh/sh4/setjmp.S: Likewise.
31132         * sysdeps/unix/alpha/sysdep.h: Likewise.
31133         * sysdeps/unix/arm/sysdep.S: Likewise.
31134         * sysdeps/unix/i386/sysdep.S: Likewise.
31135         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
31136         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
31137         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31138         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31139         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31140         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
31141         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
31142         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
31143         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
31144         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
31145         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
31146         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31147         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31150         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31151         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31152         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31153         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31154         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31155         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31156         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31157         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31158         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31159         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
31160         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31161         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31162         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31163         * sysdeps/x86_64/setjmp.S: Likewise.
31165         * include/math.h: Use IS_IN instead of IS_IN_libm.
31166         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
31167         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31168         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
31169         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
31170         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31171         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
31172         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
31173         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31174         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31175         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
31176         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
31177         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
31178         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
31179         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
31180         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
31181         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
31182         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
31183         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
31184         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
31185         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
31186         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
31187         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
31188         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
31189         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
31190         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
31191         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
31192         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
31193         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
31194         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
31195         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
31196         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
31197         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
31198         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
31199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
31200         Likewise.
31201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
31202         Likewise.
31203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
31204         Likewise.
31205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
31206         Likewise.
31207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
31208         Likewise.
31209         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
31210         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
31211         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
31212         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31213         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31214         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
31216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
31217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
31218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
31219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
31220         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
31221         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
31222         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31223         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31224         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31225         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31226         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31227         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31228         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
31229         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
31230         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
31231         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
31232         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
31233         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
31234         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31235         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
31237         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
31238         * nptl/pthreadP.h: Likewise.
31239         * nptl_db/structs.def: Likewise.
31240         * sysdeps/arm/sysdep.h: Likewise.
31241         * sysdeps/nptl/bits/libc-lock.h: Likewise.
31242         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
31243         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
31244         * sysdeps/unix/alpha/sysdep.h: Likewise.
31245         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
31246         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
31247         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
31248         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
31249         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
31250         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
31251         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31252         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
31253         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
31254         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
31255         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
31256         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
31257         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
31258         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
31259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
31260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
31261         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
31262         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
31263         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
31264         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
31265         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
31266         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
31267         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
31268         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
31269         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
31270         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
31272         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
31273         * nptl/pthreadP.h: Likewise.
31274         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
31275         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
31276         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
31277         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
31278         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
31279         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
31280         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
31281         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
31282         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
31283         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
31284         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
31285         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
31286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
31287         Likewise.
31288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
31289         Likewise.
31290         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
31291         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
31292         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
31293         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
31294         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
31295         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
31296         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
31297         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
31299         * dlfcn/dladdr.c: Use IS_IN.
31300         * dlfcn/dladdr1.c: Likewise.
31301         * dlfcn/dlclose.c: Likewise.
31302         * dlfcn/dlerror.c: Likewise.
31303         * dlfcn/dlinfo.c: Likewise.
31304         * dlfcn/dlmopen.c: Likewise.
31305         * dlfcn/dlopen.c: Likewise.
31306         * dlfcn/dlsym.c: Likewise.
31307         * dlfcn/dlvsym.c: Likewise.
31309         * include/ifaddrs.h: Use IS_IN.
31310         * inet/check_pf.c: Likewise.
31311         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31312         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
31314         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
31315         IS_IN_ldconfig.
31316         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
31317         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
31319         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
31320         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
31321         IS_IN (libc).
31323         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
31325         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
31326         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31327         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
31328         * include/libc-symbols.h (IS_IN_LIB): New macro.
31329         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
31330         * include/netdb.h: Likewise.
31331         * include/stap-probe.h: Remove all uses of IN_LIB.
31333         * Makeconfig (module-cppflags-real): Define MODULE_NAME
31334         instead of IN_MODULE.
31335         * include/libc-symbols.h (IN_MODULE): Define using
31336         MODULE_NAME.
31337         (PASTE_NAME, PASTE_NAME1): New macros.
31338         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
31339         of IN_LIB.
31340         (STAP_PROBE_ASM): Likewise.
31342 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31344         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
31345         __mach_init in dlopened libc.
31347 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
31349         * sysdeps/arm/preconfigure.ac: Delete EABI check.
31350         * sysdeps/arm/preconfigure: Regenerate.
31352 2014-11-21  Roland McGrath  <roland@hack.frob.com>
31354         * nptl/pthread_create.c (__pthread_create_2_1): Set
31355         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
31356         when copying values from IATTR into PD.
31358 2014-11-21  Will Newton  <will.newton@linaro.org>
31359             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
31361         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
31362         Refactor inline-asm.  Also add comment.
31364         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
31365         ElfW macro instead of hardcoded Elf64 types.
31366         (la_aarch64_gnu_pltenter): Likewise.
31367         * sysdeps/aarch64/dl-machine.h
31368         (elf_machine_runtime_setup): Use ElfW(Addr).
31370         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
31371         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
31372         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
31373         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
31374         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
31375         (R_AARCH64_TLS_DTPMOD64): Rename to ..
31376         (R_AARCH64_TLS_DTPMOD): This.
31377         (R_AARCH64_TLS_DTPREL64): Rename to ...
31378         (R_AARCH64_TLS_DTPREL): This.
31379         (R_AARCH64_TLS_TPREL64): Rename to ...
31380         (R_AARCH64_TLS_TPREL): This.
31381         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
31382         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
31383         R_AARCH64_TLS_TPREL64.
31384         (elf_machine_rela): Likewise.
31386 2014-11-21  Torvald Riegel  <triegel@redhat.com>
31388         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
31389         by setting it to 0.  64b atomics are not supported currently.
31391 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
31393         [BZ #16469]
31394         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
31395         search domain names.
31397 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
31399         [BZ #16469]
31400         * NEWS: Update.
31401         * resolv/res_query.c (__libc_res_nquerydomain): Retain
31402         trailing dot.
31403         * posix/tst-getaddrinfo5.c: New.
31404         * posix/Makefile (tests): Add it.
31406 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
31408         [BZ #14498]
31409         * NEWS: Fixed.
31410         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
31411         after parsing line but before break_if_match.
31412         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
31413         if there is a protocol mismatch.
31415 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
31417         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
31418         because the potential race is on the user-supplied stream.
31420 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
31422         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
31423         string literal if not passed a buffer.
31424         * manual/job.texi (ctermid): Update reasoning, note deviation
31425         from posix, suggest mtasurace when not passed a buffer, for
31426         future non-preliminary safety notes.
31428 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
31430         * manual/users.texi (cuserid): Fix MT-Safety note for the case
31431         of not passing it a buffer.
31432         Reported by Peng Haitao.
31434 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
31436         * manual/Makefile ($(objpfx)stamp-summary): Require
31437         check-safety.sh to pass.
31438         * manual/check-safety.sh: Wish for verification that every
31439         @deftypefn and @deftypefun is followed by a @safety remark.
31441 2014-11-20  Roland McGrath  <roland@hack.frob.com>
31443         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
31445         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
31446         PTHREAD_CANCEL_ASYNCHRONOUS.
31447         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
31448         send SIGCANCEL.
31450         * nptl/default-sched.h: New file.
31451         * sysdeps/unix/sysv/linux/default-sched.h: New file.
31452         * nptl/pthread_create.c: Include it.
31453         (__pthread_create_2_1): Use collect_default_sched instead of making
31454         Linux syscalls here directly.
31456 2014-11-20  Torvald Riegel  <triegel@redhat.com>
31458         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
31459         __pthread_once): Use C11 atomics.
31461 2014-11-20  Torvald Riegel  <triegel@redhat.com>
31463         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
31465 2014-11-20  Torvald Riegel  <triegel@redhat.com>
31467         * include/atomic.h (__atomic_link_error, __atomic_check_size,
31468         atomic_thread_fence_acquire, atomic_thread_fence_release,
31469         atomic_thread_fence_seq_cst, atomic_load_relaxed,
31470         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
31471         atomic_compare_exchange_weak_relaxed,
31472         atomic_compare_exchange_weak_acquire,
31473         atomic_compare_exchange_weak_release,
31474         atomic_exchange_acquire, atomic_exchange_release,
31475         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
31476         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
31477         atomic_fetch_and_acquire,
31478         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
31480 2014-11-20  Torvald Riegel  <triegel@redhat.com>
31482         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
31483         USE_ATOMIC_COMPILER_BUILTINS): Define.
31484         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
31485         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31486         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
31487         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31488         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
31489         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31490         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
31491         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31492         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
31493         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31494         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
31495         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31496         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
31497         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31498         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
31499         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31500         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
31501         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31502         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
31503         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31504         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
31505         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31506         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
31507         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31508         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
31509         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31510         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
31511         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31512         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
31513         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31514         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
31515         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31516         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
31517         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31518         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
31519         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31520         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
31521         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31522         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
31523         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31525 2014-11-19  Roland McGrath  <roland@hack.frob.com>
31527         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
31528         the sched_priority value here.  It was already checked when the user
31529         called pthread_attr_setschedparam.
31531         * nptl/tst-bad-schedattr.c: New file.
31532         * nptl/Makefile (tests): Add it.
31534 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
31535             Florian Weimer  <fweimer@redhat.com>
31536             Joseph Myers  <joseph@codesourcery.com>
31537             Adam Conrad  <adconrad@0c3.net>
31538             Andreas Schwab  <schwab@suse.de>
31539             Brooks  <bmoses@google.com>
31541         [BZ #17625]
31542         * wordexp-test.c (__dso_handle): Add prototype.
31543         (__register_atfork): Likewise.
31544         (__app_register_atfork): New function.
31545         (registered_forks): New global.
31546         (register_fork): New function.
31547         (test_case): Add 3 new tests for WRDE_CMDSUB.
31548         (main): Call __app_register_atfork.
31549         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
31550         fork count is non-zero fail the test.
31551         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
31552         is set.
31553         (parse_dollars): Remove check for WRDE_NOCMD.
31554         (parse_dquote): Likewise.
31556 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31558         * Makeconfig (built-modules): List non-library modules to be
31559         built.
31560         (module-cppflags): Include libc-modules.h for
31561         everything except shlib-versions.v.i.
31562         (CPPFLAGS): Use it.
31563         (before-compile): Add libc-modules.h.
31564         ($(common-objpfx)libc-modules.h,
31565         $(common-objpfx)libc-modules.stmp): New targets.
31566         (common-generated): Add libc-modules.h and libc-modules.stmp.
31567         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
31568         * include/libc-symbols.h: Don't include libc-modules.h.
31569         * include/libc-modules.h: Remove file.
31570         * scripts/gen-libc-modules.awk: New script to generate
31571         libc-modules.h.
31572         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
31573         Depend on libc-modules.stmp.
31575         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
31577         * Makeconfig (in-module): Get value of libof set for the
31578         translation unit.
31579         (CPPFLAGS): Use $(in-module).
31580         * Makerules: Don't suffix routine names for nonlib.
31581         * include/libc-modules.h: New file.
31582         * include/libc-symbols.h: Include libc-modules.h
31583         (IS_IN): New macro to replace IS_IN_* macros.
31584         * elf/Makefile: Set libof-* for each routine.
31585         * elf/rtld-Rules: Likewise.
31586         * extra-modules.mk: Likewise.
31587         * iconv/Makefile: Likewise.
31588         * iconvdata/Makefile: Likewise.
31589         * locale/Makefile: Likewise.
31590         * malloc/Makefile: Likewise.
31591         * nss/Makefile: Likewise.
31592         * sysdeps/gnu/Makefile: Likewise.
31593         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
31594         * sysdeps/unix/sysv/linux/Makefile: Likewise.
31595         * sysdeps/s390/s390-64/Makefile: Likewise.
31596         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
31597         CPPFLAGS for nscd instead of nonlib.
31599 2014-11-18  Roland McGrath  <roland@hack.frob.com>
31601         * nptl/createthread.c: New file.
31603         * nptl/createthread.c: Moved ...
31604         * sysdeps/unix/sysv/linux/createthread.c: ... here.
31606         * nptl/createthread.c: Add proper top-line comment.
31607         (do_clone): Folded into ...
31608         (create_thread): ... here.  Take new arguments STOPPED_START and
31609         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
31610         increment __nptl_threads, do event-reporting logic, do
31611         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
31612         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
31613         resource cleanup if sched_setaffinity or sched_setscheduler fails,
31614         just send SIGCANCEL.
31615         * nptl/pthread_create.c: Forward-declare create_thread before
31616         including createthread.c.
31617         (start_thread): Use new macro START_THREAD_DEFN to replace defining
31618         declaration, and new macro START_THREAD_SELF to replace argument.
31619         Remove return statement.
31620         (report_thread_creation): New function.
31621         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
31622         synchronization logic, and __nptl_nthreads increment here, around
31623         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
31624         PD->parent_cancelhandling here, before create_thread.  When
31625         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
31626         __deallocate_stack, and ENOMEM translation here.
31628 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
31630         [BZ #17616]
31631         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
31632         (mptwo): Rename to __mptwo.
31633         (__inv): Use __mptwo instead of mptwo.
31634         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
31635         (mptwo): Rename to __mptwo.
31636         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
31637         of mpone and __mptwo instead of mptwo.
31638         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
31639         instead of mpone.
31640         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31641         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
31642         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
31643         of mpone and __mptwo instead of mptwo.
31644         (__mpranred): Use __mpone instead of mpone.
31645         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
31646         variable.
31647         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
31648         (test-xfail-ISO99/math.h/linknamespace): Likewise.
31649         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
31650         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
31651         (test-xfail-ISO11/math.h/linknamespace): Likewise.
31652         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
31653         (test-xfail-XPG3/math.h/linknamespace): Likewise.
31654         (test-xfail-XPG4/math.h/linknamespace): Likewise.
31655         (test-xfail-POSIX/math.h/linknamespace): Likewise.
31656         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
31657         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
31658         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
31659         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
31660         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
31661         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
31662         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
31663         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
31664         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
31665         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
31667 2014-11-18  Tom de Vries  <tom@codesoucery.com>
31669         * manual/signal.texi (Primitives Interrupted by Signals): In section,
31670         replace BSD Handler xref with BSD Signal Handling.
31672 2014-11-17  Richard Henderson  <rth@redhat.com>
31674         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
31675         (_FP_PACK_RAW_2): Remove.
31676         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
31677         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
31678         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
31679         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
31680         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
31681         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
31682         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
31683         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
31684         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
31685         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
31686         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
31687         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
31688         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
31689         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
31690         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
31691         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
31693 2014-11-14  Roland McGrath  <roland@hack.frob.com>
31695         * signal/signal.h [__USE_MISC]
31696         (struct sigvec): Remove type.
31697         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
31698         (sigvec): Remove declaration.
31699         * sysdeps/posix/sigvec.c: Moved ...
31700         * signal/sigvec.c: ... here, replacing old file.
31701         (struct sigvec): New type, copied from old signal.h definition.
31702         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
31703         (__sigvec): Convert definition to prototype.
31704         (sigvec): Replace weak_alias with compat_symbol.
31705         * signal/Versions (libc: GLIBC_2.21): New version set.
31706         * include/signal.h: Remove __sigvec declaration.
31707         * sysdeps/unix/bsd/sigvec.c: Remove file.
31708         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
31709         * manual/signal.texi (BSD Handler): Remove subsection.
31710         Move siginterrupt up to ...
31711         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
31712         (Blocking in BSD): Fold subsection into its parent.
31713         * NEWS: Mention sigvec removal.
31715 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
31717         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
31718         (DLA_FMS): Make definition conditional only on [__FMA4__].
31719         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
31720         definition.
31722         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
31723         Make definition conditional only on [PROF].
31724         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
31725         definition.
31726         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
31727         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
31729         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
31730         !__GNUC__].
31731         * include/signal.h (__sigpause): Move declaration above call to
31732         libc_hidden_proto.
31733         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
31734         variable.
31735         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
31736         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
31738 2014-11-14  David S. Miller  <davem@davemloft.net>
31740         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
31741         Define before including <string/memcpy.c> and <string/mempcpy.c>.
31743 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
31745         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
31746         * configure: Regenerated.
31747         * manual/install.texi (Tools for Compilation): Document a
31748         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
31749         compiler verified to work.
31750         * INSTALL: Regenerated.
31752         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
31753         redeclare with asm name.
31754         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
31755         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
31756         including <string.h>.
31757         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31758         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
31759         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31760         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
31761         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31762         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31763         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31765 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
31767         * stdlib/strtol.c (__strtol): Use prototype definition.
31769         [BZ #17594]
31770         * stdlib/strtol.c (SYM__): New macro.
31771         (SYM__1): Likewise.
31772         (__strtol): Likewise.
31773         (strtol): Rename to __strtol and define as weak alias of
31774         __strtol.  Use libc_hidden_weak.
31776 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31778         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
31779         Use numbered labels in inline assembly.
31781 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31783         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
31784         Add setjmp LIBC_PROBE.
31785         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
31786         Likewise.
31787         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
31788         Add longjmp, longjmp_target LIBC_PROBE.
31789         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
31790         Likewise.
31792 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31794         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31795         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
31796         to get rid of unused variable warning.
31798 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31800         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
31801         Check for unwind_backtrace ==  NULL only in SHARED case.
31802         (__backchain_backtrace): Compile only in SHARED case.
31803         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
31804         Likewise.
31805         (__backchain_backtrace): Declare as static.
31807 2014-11-12  Roland McGrath  <roland@hack.frob.com>
31809         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
31810         (__libc_multiple_threads_ptr): Variable moved ...
31811         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
31813 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
31815         * conform/GlibcConform.pm: New file.
31816         * conform/conformtest.pl: Use GlibcConform module.
31817         * conform/linknamespace.pl: New file.
31818         * conform/list-header-symbols.pl: Likewise.
31819         * conform/Makefile (linknamespace-symlists-base): New variable.
31820         (linknamespace-symlists-tests): Likewise.
31821         (linknamespace-header-base): Likewise.
31822         (linknamespace-header-tests): Likewise.
31823         (tests-special): Add new tests.
31824         ($(linknamespace-symlists-tests)): New rule.
31825         (linknamespace-libs): New variable.
31826         ($(objpfx)symlist-stdlibs): New rule.
31827         ($(linknamespace-header-tests)): Likewise.
31828         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
31829         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
31830         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
31831         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
31832         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
31833         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
31834         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
31835         (test-xfail-ISO/math.h/linknamespace): Likewise.
31836         (test-xfail-ISO/signal.h/linknamespace): Likewise.
31837         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
31838         (test-xfail-ISO/time.h/linknamespace): Likewise.
31839         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
31840         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
31841         (test-xfail-ISO99/math.h/linknamespace): Likewise.
31842         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
31843         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
31844         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
31845         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
31846         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
31847         (test-xfail-ISO11/math.h/linknamespace): Likewise.
31848         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
31849         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
31850         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
31851         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
31852         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
31853         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
31854         (test-xfail-XPG3/math.h/linknamespace): Likewise.
31855         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
31856         (test-xfail-XPG3/search.h/linknamespace): Likewise.
31857         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
31858         (test-xfail-XPG3/time.h/linknamespace): Likewise.
31859         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
31860         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
31861         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
31862         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
31863         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
31864         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
31865         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
31866         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
31867         (test-xfail-XPG4/math.h/linknamespace): Likewise.
31868         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
31869         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
31870         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
31871         (test-xfail-XPG4/search.h/linknamespace): Likewise.
31872         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
31873         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
31874         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
31875         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
31876         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
31877         (test-xfail-XPG4/time.h/linknamespace): Likewise.
31878         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
31879         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
31880         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
31881         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
31882         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
31883         (test-xfail-POSIX/math.h/linknamespace): Likewise.
31884         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
31885         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
31886         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
31887         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
31888         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
31889         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
31890         (test-xfail-POSIX/time.h/linknamespace): Likewise.
31891         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
31892         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
31893         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
31894         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
31895         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
31896         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
31897         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
31898         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
31899         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
31900         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
31901         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
31902         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
31903         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
31904         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
31905         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
31906         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
31907         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
31908         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
31909         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
31910         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
31911         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
31912         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
31913         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
31914         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
31915         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
31916         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
31917         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
31918         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
31919         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
31920         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
31921         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
31922         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
31923         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
31924         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
31925         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
31926         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
31927         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
31928         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
31929         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
31930         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
31931         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
31932         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
31933         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
31934         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
31935         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
31936         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
31937         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
31938         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
31939         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
31940         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
31941         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
31942         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
31943         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
31944         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
31945         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
31946         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
31947         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
31948         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
31949         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
31950         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
31951         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
31952         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
31953         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
31954         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
31955         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
31956         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
31957         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
31958         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
31959         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
31960         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
31961         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
31962         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
31963         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
31964         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
31965         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
31966         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
31967         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
31968         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
31969         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
31970         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
31971         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
31972         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
31973         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
31974         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
31975         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
31976         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
31977         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
31978         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
31979         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
31980         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
31981         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
31982         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
31983         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
31984         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
31985         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
31986         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
31987         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
31988         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
31990         [BZ #17589]
31991         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
31992         of fgets_unlocked.
31994         [BZ #17585]
31995         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
31996         (memmem): Rename to __memmem and define as weak alias of
31997         __memmem.  Use libc_hidden_weak.
31998         (__memmem): Use libc_hidden_def.
31999         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
32000         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
32001         memmem.
32003         [BZ #17582]
32004         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
32005         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
32006         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
32007         and define as weak alias of __fgets_unlocked.  Use
32008         libc_hidden_weak.
32009         (__fgets_unlocked): Use libc_hidden_def.
32010         * include/stdio.h (__fgets_unlocked): Declare.  Use
32011         libc_hidden_proto.
32012         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
32013         __fgets_unlocked instead of fgets_unlocked.
32014         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
32015         (GET_NPROCS_CONF_PARSER): Likewise.
32016         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
32017         (GET_NPROCS_CONF_PARSER): Likewise.
32019         [BZ #17574]
32020         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
32021         weak alias of __wmemset.  Use libc_hidden_weak.
32022         (__wmemset): Use libc_hidden_def.
32023         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
32024         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
32025         of wmemset.
32027         [BZ #17573]
32028         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
32029         with asm name __mempcpy.
32030         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
32032         [BZ #17572]
32033         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
32034         and define as weak alias of __rawmemchr.
32035         (__rawmemchr): Do not define as strong alias of rawmemchr.
32037         [BZ #17571]
32038         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
32039         alias of __qsort_r.
32040         (qsort): Call __qsort_r instead of qsort_r.
32041         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
32042         (__qsort_r): Declare.  Call libc_hidden_proto.
32043         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
32044         instead of qsort_r.
32045         * nscd/gai.c (__qsort_r): Define to qsort_r.
32046         * posix/tst-rfc3484.c (__qsort_r): Likewise.
32047         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
32048         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
32050         [BZ #17570]
32051         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
32052         define as weak alias of __malloc_info.
32054         [BZ #17584]
32055         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
32056         as weak alias of __rewinddir.  Don't use libc_hidden_def.
32057         (__rewinddir): Use libc_hidden_def.
32058         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
32059         as weak alias of __rewinddir.  Don't use libc_hidden_def.
32060         (__rewinddir): Use libc_hidden_def.
32061         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
32062         weak alias of __rewinddir.  Don't use libc_hidden_def.
32063         (__rewinddir): Use libc_hidden_def.
32064         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
32065         (__rewinddir): Use libc_hidden_proto.
32066         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
32067         rewinddir.
32068         (__getcwd): Use __rewinddir instead of rewinddir.
32070         [BZ #17583]
32071         * libio/fileno.c (fileno): Rename to __fileno and define as weak
32072         alias of __fileno.  Use libc_hidden_weak.
32073         (__fileno): Use libc_hidden_def.
32074         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
32075         * libio/ftello.c (ftello): Rename to __ftello and define as weak
32076         alias of __ftello.
32077         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
32078         __ftello.
32079         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
32080         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
32081         libc_hidden_def.
32082         (fread_unlocked): Don't use libc_hidden_ver.
32083         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
32084         and define as weak alias of __fread_unlocked.  Don't use
32085         libc_hidden_def.
32086         (__fread_unlocked): Use libc_hidden_def.
32087         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
32088         (ftello): Don't use libc_hidden_proto.
32089         (__ftello): Declare.  Use libc_hidden_proto.
32090         (fread_unlocked): Don't use libc_hidden_proto.
32091         (__fread_unlocked): Declare.  Use libc_hidden_proto.
32092         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
32093         and __ftello instead of fileno, fread_unlocked and ftello.
32095 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32097         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
32098         GOT12.
32099         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
32100         Likewise.
32101         (_dl_start_user): Likewise.
32102         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
32104 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
32105             Siddhesh Poyarekar  <siddhesh@redhat.com>
32107         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
32108         Move argv and envp down instead of moving argc up.
32109         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
32111 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
32113         [BZ #17506]
32114         * test-skeleton.c (main): Return successful if one of
32115         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
32116         * string/tst-strcoll-overflow.c: Define expected status.
32118 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
32120         [BZ #17475]
32121         * locale/iso-639.def: Define Bhili and Tulu language codes.
32123 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
32125         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
32127 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
32129         [BZ #17555]
32130         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
32132 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
32134         * configure.ac: Updated check of minimal required version to
32135         2.22.
32136         * manual/install.texi (Tools for Compilation): Updated version
32137         number.
32138         * configure: Regenerated.
32139         * INSTALL: Likewise.
32141 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
32143         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
32144         __tls_get_addr.
32146 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
32148         * include/sys/wait.h (__libc_waitpid): Remove declaration.
32149         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
32150         (__waitpid): Don't define as alias.  Use libc_hidden_def not
32151         libc_hidden_weak.
32152         (waitpid): Define as alias of __waitpid.
32153         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
32154         __waitpid.
32155         (__waitpid): Don't define as alias.  Use libc_hidden_def not
32156         libc_hidden_weak.
32157         (waitpid): Define as alias of __waitpid.
32158         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
32159         __libc_waitpid alias.
32160         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
32161         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
32162         Likewise.
32163         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
32164         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
32165         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
32166         alias.
32167         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
32168         __waitpid.
32169         (__waitpid): Don't define as alias.  Use libc_hidden_def not
32170         libc_hidden_weak.
32171         (waitpid): Define as alias of __waitpid.
32173 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
32175         * manual/llio.texi: Add comment that write safety has been
32176         fixed in Linux.
32178         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
32179         (localplt-build-dso): Add elf/ld.so.
32180         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
32181         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
32182         and free for ld.so.
32183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
32184         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
32185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
32186         Likewise.
32187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
32188         Likewise.
32189         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
32190         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
32191         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
32192         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
32193         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
32194         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
32195         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
32196         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
32197         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
32198         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
32199         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
32201 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
32203         [BZ #14132]
32204         * include/libc-symbols.h (INTUSE): Remove macro.
32205         (INTDEF): Likewise.
32206         (INTVARDEF): Likewise.
32207         (_INTVARDEF): Likewise.
32208         (INTDEF2): Likewise.
32209         (INTVARDEF2): Likewise.
32210         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
32211         rtld_hidden_def instead of INTVARDEF.
32212         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
32213         (_dl_starting_up_internal): Remove declaration.
32214         (_dl_starting_up): Use rtld_hidden_proto.
32215         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
32216         declaration.
32217         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
32218         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
32219         _dl_starting_up.
32220         * elf/dl-writev.h (_dl_writev): Likewise.
32221         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
32222         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
32223         _dl_starting_up_internal.
32225 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32227         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
32228         test-skeleton.c.
32230 2014-11-05  Will Newton  <will.newton@linaro.org>
32232         * benchtests/Makefile: (bench-malloc): Add malloc thread
32233         scalability benchmark.
32234         * benchtests/bench-malloc-threads.c: New file.
32236 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
32238         * sysdeps/aarch64/strchrnul.S: New file.
32240 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32242         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
32243         definition.
32244         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
32245         Likwise.
32246         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
32247         Likewise.
32248         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
32249         Likewise.
32250         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
32251         Likewise.
32252         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
32253         Likewise.
32255 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
32257         * catgets/test-gencat.c: Use test-skeleton.c.
32258         * catgets/tst-catgets.c: Likewise.
32259         * csu/tst-empty.c: Likewise.
32260         * elf/tst-audit2.c: Likewise.
32261         * elf/tst-global1.c: Likewise.
32262         * elf/tst-pathopt.c: Likewise.
32263         * elf/tst-piemod1.c: Likewise.
32264         * elf/tst-tls10.c: Likewise.
32265         * elf/tst-tls11.c: Likewise.
32266         * elf/tst-tls12.c: Likewise.
32267         * gnulib/tst-gcc.c: Likewise.
32268         * iconvdata/tst-e2big.c: Likewise.
32269         * iconvdata/tst-loading.c: Likewise.
32270         * iconv/tst-iconv1.c: Likewise.
32271         * iconv/tst-iconv2.c: Likewise.
32272         * inet/test-inet6_opt.c: Likewise.
32273         * inet/tst-gethnm.c: Likewise.
32274         * inet/tst-network.c: Likewise.
32275         * inet/tst-ntoa.c: Likewise.
32276         * intl/tst-codeset.c: Likewise.
32277         * intl/tst-gettext2.c: Likewise.
32278         * intl/tst-gettext3.c: Likewise.
32279         * intl/tst-ngettext.c: Likewise.
32280         * intl/tst-translit.c: Likewise.
32281         * io/test-stat.c: Likewise.
32282         * libio/test-fmemopen.c: Likewise.
32283         * libio/tst-freopen.c: Likewise.
32284         * libio/tst-sscanf.c: Likewise.
32285         * libio/tst-ungetwc1.c: Likewise.
32286         * libio/tst-ungetwc2.c: Likewise.
32287         * libio/tst-widetext.c: Likewise.
32288         * localedata/tst-ctype.c: Likewise.
32289         * localedata/tst-digits.c: Likewise.
32290         * localedata/tst-leaks.c: Likewise.
32291         * localedata/tst-mbswcs1.c: Likewise.
32292         * localedata/tst-mbswcs2.c: Likewise.
32293         * localedata/tst-mbswcs3.c: Likewise.
32294         * localedata/tst-mbswcs4.c: Likewise.
32295         * localedata/tst-mbswcs5.c: Likewise.
32296         * localedata/tst-setlocale.c: Likewise.
32297         * localedata/tst-trans.c: Likewise.
32298         * localedata/tst-wctype.c: Likewise.
32299         * localedata/tst-xlocale1.c: Likewise.
32300         * login/tst-grantpt.c: Likewise.
32301         * malloc/tst-calloc.c: Likewise.
32302         * malloc/tst-malloc.c: Likewise.
32303         * malloc/tst-mallocstate.c: Likewise.
32304         * malloc/tst-mcheck.c: Likewise.
32305         * malloc/tst-mtrace.c: Likewise.
32306         * malloc/tst-obstack.c: Likewise.
32307         * math/atest-exp2.c: Likewise.
32308         * math/atest-exp.c: Likewise.
32309         * math/atest-sincos.c: Likewise.
32310         * math/test-matherr.c: Likewise.
32311         * math/test-misc.c: Likewise.
32312         * math/test-powl.c: Likewise.
32313         * math/tst-definitions.c: Likewise.
32314         * misc/tst-dirname.c: Likewise.
32315         * misc/tst-efgcvt.c: Likewise.
32316         * misc/tst-fdset.c: Likewise.
32317         * misc/tst-hsearch.c: Likewise.
32318         * misc/tst-mntent2.c: Likewise.
32319         * nptl/tst-sem7.c: Likewise.
32320         * nptl/tst-sem8.c: Likewise.
32321         * nptl/tst-sem9.c: Likewise.
32322         * nss/test-netdb.c: Likewise.
32323         * posix/tst-fnmatch.c: Likewise.
32324         * posix/tst-getlogin.c: Likewise.
32325         * posix/tst-gnuglob.c: Likewise.
32326         * posix/tst-mmap.c: Likewise.
32327         * pwd/tst-getpw.c: Likewise.
32328         * resolv/tst-inet_ntop.c: Likewise.
32329         * rt/tst-timer.c: Likewise.
32330         * stdio-common/test-fseek.c: Likewise.
32331         * stdio-common/test-popen.c: Likewise.
32332         * stdio-common/test-vfprintf.c: Likewise.
32333         * stdio-common/tst-cookie.c: Likewise.
32334         * stdio-common/tst-fileno.c: Likewise.
32335         * stdio-common/tst-gets.c: Likewise.
32336         * stdio-common/tst-obprintf.c: Likewise.
32337         * stdio-common/tst-perror.c: Likewise.
32338         * stdio-common/tst-sprintf2.c: Likewise.
32339         * stdio-common/tst-sprintf3.c: Likewise.
32340         * stdio-common/tst-sprintf.c: Likewise.
32341         * stdio-common/tst-swprintf.c: Likewise.
32342         * stdio-common/tst-tmpnam.c: Likewise.
32343         * stdio-common/tst-unbputc.c: Likewise.
32344         * stdio-common/tst-wc-printf.c: Likewise.
32345         * stdlib/tst-environ.c: Likewise.
32346         * stdlib/tst-fmtmsg.c: Likewise.
32347         * stdlib/tst-limits.c: Likewise.
32348         * stdlib/tst-rand48-2.c: Likewise.
32349         * stdlib/tst-rand48.c: Likewise.
32350         * stdlib/tst-random2.c: Likewise.
32351         * stdlib/tst-random.c: Likewise.
32352         * stdlib/tst-strtol.c: Likewise.
32353         * stdlib/tst-strtoll.c: Likewise.
32354         * stdlib/tst-tls-atexit.c: Likewise.
32355         * stdlib/tst-xpg-basename.c: Likewise.
32356         * string/test-ffs.c: Likewise.
32357         * string/tst-bswap.c: Likewise.
32358         * string/tst-inlcall.c: Likewise.
32359         * string/tst-strtok.c: Likewise.
32360         * string/tst-strxfrm.c: Likewise.
32361         * sysdeps/x86_64/tst-audit10.c: Likewise.
32362         * sysdeps/x86_64/tst-audit3.c: Likewise.
32363         * sysdeps/x86_64/tst-audit4.c: Likewise.
32364         * sysdeps/x86_64/tst-audit5.c: Likewise.
32365         * time/tst-ftime_l.c: Likewise.
32366         * time/tst-getdate.c: Likewise.
32367         * time/tst-mktime3.c: Likewise.
32368         * time/tst-mktime.c: Likewise.
32369         * time/tst-posixtz.c: Likewise.
32370         * time/tst-strptime2.c: Likewise.
32371         * time/tst-strptime3.c: Likewise.
32372         * wcsmbs/tst-btowc.c: Likewise.
32373         * wcsmbs/tst-mbrtowc.c: Likewise.
32374         * wcsmbs/tst-mbsrtowcs.c: Likewise.
32375         * wcsmbs/tst-wchar-h.c: Likewise.
32376         * wcsmbs/tst-wcpncpy.c: Likewise.
32377         * wcsmbs/tst-wcrtomb.c: Likewise.
32378         * wcsmbs/tst-wcsnlen.c: Likewise.
32379         * wcsmbs/tst-wcstof.c: Likewise.
32381 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
32383         [BZ #14132]
32384         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
32385         INTDEF.
32386         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
32387         declaration.
32388         (_dl_mcount): Use rtld_hidden_proto.
32389         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
32390         _dl_mcount.
32391         * elf/rtld.c (_rtld_global_ro): Likewise.
32393         [BZ #14132]
32394         * elf/dl-init.c (_dl_init): Don't use INTDEF.
32395         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
32396         of _dl_init_internal.
32397         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
32398         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
32399         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
32400         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
32401         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
32402         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
32403         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
32404         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
32405         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
32406         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
32407         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
32408         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
32409         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
32410         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
32411         * sysdeps/tile/dl-start.S (_start): Likewise.
32412         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
32413         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
32415         [BZ #14132]
32416         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
32417         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
32418         (rtld_progname): Make macro definition unconditional.
32419         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
32420         INTDEF.
32421         (dlmopen_doit): Do not use INTUSE with _dl_argv.
32422         (dl_main): Likewise.
32423         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
32424         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
32425         instead of _dl_argv_internal.
32426         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32427         __GI__dl_argv instead of INTUSE(_dl_argv).
32428         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
32429         __GI__dl_argv instead of _dl_argv_internal.
32431         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
32432         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
32433         macro.
32434         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
32435         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
32436         New macro.
32437         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
32438         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
32439         macro.
32440         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
32441         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
32443 2014-11-04  Andreas Schwab  <schwab@suse.de>
32445         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
32447 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32449         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
32450         mtvsrd instruction in binary form.
32452 2014-11-03  Andreas Schwab  <schwab@suse.de>
32454         [BZ #17522]
32455         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
32456         for less than MB_LEN_MAX use a local buffer of that size.
32457         * libio/tst-fputws.c: New file.
32458         * libio/Makefile (tests): Add tst-fputws.
32460 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
32462         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
32463         the size of the fpu_fr.fpu_dregs[] array.
32465 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
32467         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
32468         (__nanosleep): Do not define as alias.
32469         (nanosleep): Define as alias of __nanosleep.
32470         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
32471         __libc_nanosleep name.
32473 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
32475         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
32476         install.texi in comment.
32478 2014-10-31  Torvald Riegel  <triegel@redhat.com>
32480         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
32481         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
32482         ... add here and use lwsync or sync ...
32483         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
32484         ... and add here using lwsync.
32486 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
32488         * elf/dl-machine-reject-phdr.h: New file.
32489         * elf/dl-load.c: #include that.
32490         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
32491         if that returned true.
32493 2014-10-31  Roland McGrath  <roland@hack.frob.com>
32495         [BZ #17496]
32496         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
32497         gen-as-const-headers chunk.  Add a big scare comment after the last
32498         safe place to touch before-compile.
32500 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
32502         * manual/install.texi (Tools for Compilation): Update autoconf
32503         version requirements.
32504         * INSTALL: Regenerated.
32506         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
32507         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
32508         (__libc_pselect): Likewise.
32510         [BZ #14138]
32511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
32512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32516 2014-10-31  Torvald Riegel  <triegel@redhat.com>
32518         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
32519         correct barrier instruction.
32520         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
32521         Likewise.
32522         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
32523         Likewise.
32525 2014-10-30  Roland McGrath  <roland@hack.frob.com>
32527         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
32528         after defining inlines.  Instead, just use parens to defeat macro
32529         expansion of __isctype in its declaration.
32531 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
32533         * include/sys/uio.h (__libc_readv): Remove declaration.
32534         (__libc_writev): Likewise.
32535         * misc/readv.c (__libc_readv): Rename to __readv.
32536         (__readv): Do not define as alias.
32537         (readv): Define as alias of __readv.
32538         * misc/writev.c (__libc_writev): Rename to __writev.
32539         (__writev): Do not define as alias.
32540         (writev): Define as alias of __writev.
32541         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
32542         (__readv): Do not define as alias.
32543         (readv): Define unconditionally as alias of __readv.
32544         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
32545         (__writev): Do not define as alias.
32546         (writev): Define unconditionally as alias of __writev.
32547         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
32548         name.
32549         (writev): Do not define __libc_writev name.
32551 2014-10-30  Roland McGrath  <roland@hack.frob.com>
32553         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
32554         (convert_charseq): New function, broken out of ...
32555         (use_from_charmap): ... here.  Call it.
32556         (use_to_charmap): Use convert_charseq and free instead of duplicating
32557         its code with a variable-length stack struct.
32559 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
32561         * include/fcntl.h (__libc_creat): Remove declaration.
32562         * io/creat.c (__libc_creat): Rename to creat.
32563         (creat): Do not define as alias.
32564         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
32565         of creat instead of __libc_creat.
32566         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
32567         to creat.
32568         (creat): Do not define as alias.
32569         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
32570         __libc_creat.
32571         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
32572         __libc_creat name.
32573         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
32574         Likewise.
32576 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
32578         * manual/llio.texi: Add comments discussing why write() may be
32579         considered MT-unsafe on Linux.
32581 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
32583         * dl-load.c (local_strdup): Remove.
32584         (expand_dynamic_string_token): Use __strdup.
32585         (decompose_rpath): Likewise.
32586         (_dl_map_object): Likewise.
32588 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
32590         [BZ #14132]
32591         * sysdeps/generic/unwind-dw2-fde.c
32592         (__register_frame_info_bases_internal): Do not declare.
32593         (__register_frame_info_table_bases_internal): Likewise.
32594         (__deregister_frame_info_bases_internal): Likewise.
32595         (__register_frame_info_bases): Declare and use hidden_proto before
32596         definition.  Use hidden_def instead of INTDEF.
32597         (__register_frame_info_table_bases): Likewise.
32598         (__deregister_frame_info_bases): Likewise.
32599         (__register_frame_info): Do not use INTUSE.
32600         (__register_frame): Likewise.
32601         (__register_frame_info_table): Likewise.
32602         (__register_frame_table): Likewise.
32603         (__deregister_frame_info): Likewise.
32604         (__deregister_frame): Likewise.
32606 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
32608         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32609         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
32610         not undefine.
32611         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
32612         Likewise.
32613         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
32614         Likewise.
32616 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
32618         [BZ #14138]
32619         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
32620         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
32621         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
32622         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
32623         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
32624         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
32625         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
32626         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
32627         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
32628         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
32629         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
32630         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
32631         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
32632         syscall.
32633         (setfsuid): Likewise.
32634         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
32635         (setfsuid): Likewise.
32636         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
32637         (setfsuid): Likewise.
32638         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
32639         Likewise.
32640         (setfsuid): Likewise.
32641         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
32642         (setfsuid): Likewise.
32643         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
32644         Likewise.
32645         (setfsuid): Likewise.
32647 2014-10-27  Andreas Schwab  <schwab@suse.de>
32649         [BZ #17501]
32650         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
32651         check for Slow_SSE4_2 feature bit.
32652         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
32653         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
32654         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
32655         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
32657 2014-10-24  Roland McGrath  <roland@hack.frob.com>
32659         * configure.ac: Validate compiler version with a empirical test of
32660         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
32661         $CC -v output.
32662         * configure: Regenerated.
32664         * inet/htons.c (htons): Prototypify.
32665         * inet/htonl.c (htonl): Likewise.
32667 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32669         * string/strncat.c (strncat): Improve performance by using strlen.
32671 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32673         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
32675 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32677         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
32678         Call libc_fetestexcept_aarch64.
32680 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32682         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
32683         Call libc_feholdexcept_aarch64.
32685 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32687         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
32688         Call get_rounding_mode.
32690 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32692         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
32693         Simplify logic.
32695 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32697         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
32698         Simplify logic.
32700 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
32702         [BZ #14138]
32703         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
32704         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
32705         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
32706         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
32707         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
32708         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
32709         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
32710         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
32711         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
32712         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
32713         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32714         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
32715         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
32716         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
32717         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
32718         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
32719         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
32720         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
32721         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
32722         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
32723         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
32724         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
32725         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
32726         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
32727         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
32728         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
32729         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
32730         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
32731         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
32732         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
32733         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
32734         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
32735         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
32736         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
32737         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
32738         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
32739         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
32740         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
32741         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
32742         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
32743         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
32744         syscall.
32745         (geteuid): Likewise.
32746         (getgid): Likewise.
32747         (getuid): Likewise.
32748         (getresgid): Likewise.
32749         (getresuid): Likewise.
32750         (getgroups): Likewise.
32751         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
32752         (geteuid): Likewise.
32753         (getgid): Likewise.
32754         (getuid): Likewise.
32755         (getresgid): Likewise.
32756         (getresuid): Likewise.
32757         (getgroups): Likewise.
32758         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
32759         (geteuid): Likewise.
32760         (getgid): Likewise.
32761         (getuid): Likewise.
32762         (getresgid): Likewise.
32763         (getresuid): Likewise.
32764         (getgroups): Likewise.
32765         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
32766         Likewise.
32767         (geteuid): Likewise.
32768         (getgid): Likewise.
32769         (getuid): Likewise.
32770         (getresgid): Likewise.
32771         (getresuid): Likewise.
32772         (getgroups): Likewise.
32773         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
32774         (geteuid): Likewise.
32775         (getgid): Likewise.
32776         (getuid): Likewise.
32777         (getresgid): Likewise.
32778         (getresuid): Likewise.
32779         (getgroups): Likewise.
32780         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
32781         Likewise.
32782         (geteuid): Likewise.
32783         (getgid): Likewise.
32784         (getuid): Likewise.
32785         (getgroups): Likewise.
32787         [BZ #14138]
32788         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
32789         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
32790         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
32791         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
32792         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
32793         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
32794         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
32795         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
32796         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
32797         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
32798         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
32799         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
32800         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
32801         __chown.
32802         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
32803         (lchown): Likewise.
32804         (fchown): Likewise.
32805         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
32806         Likewise.
32807         (lchown): Likewise.
32808         (fchown): Likewise.
32809         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
32810         (lchown): Likewise.
32811         (fchown): Likewise.
32812         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
32813         Likewise.
32814         (lchown): Likewise.
32815         (fchown): Likewise.
32817 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32819         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
32820         Simplify logic.
32822 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32824         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
32825         Cleanup logic.
32827 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32829         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
32830         Remove unused include.
32832 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32834         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
32835         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
32836         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
32837         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
32839 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
32840             Helge Deller <deller@gmx.de>
32842         [BZ #17508]
32843         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
32844         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
32845         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
32847 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
32849         [BZ #14132]
32850         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
32851         Remove macro definition.
32852         (__ashrdi3_v_glibc20): Likewise.
32853         (__lshrdi3_v_glibc20): Likewise.
32854         (__cmpdi2_v_glibc20): Likewise.
32855         (__ucmpdi2_v_glibc20): Likewise.
32856         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
32857         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
32858         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
32859         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
32860         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
32861         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
32863 2014-10-22  Roland McGrath  <roland@hack.frob.com>
32865         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
32866         old GNU extension [0] syntax.
32867         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
32868         alloca rather than an array member with variable length.
32869         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
32870         * nscd/nscd.c (invalidate_db): New function, broken out of ...
32871         (parse_opt): ... here.  Likewise use alloca there.
32872         Validate the -i argument before checking for rootness.
32873         (send_shutdown): New function, broken out of ...
32874         (parse_opt): ... here.
32876 2014-10-22  Roland McGrath  <roland@hack.frob.com>
32878         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
32879         macro to get at the _rt_local_ro field.
32880         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
32881         ([PIC] case) or _dl_hwcap ([!PIC] case).
32882         * sysdeps/arm/setjmp.S: Likewise.
32884         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
32885         * sysdeps/arm/configure.ac: New check to define it.
32886         * sysdeps/arm/configure: Regenerated.
32887         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
32888         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
32889         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
32890         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
32891         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
32892         Use move/movt pair instead of a load.
32893         (LDST_GLOBAL): Macro removed.
32894         (LDR_GLOBAL): New macro replaces it.
32895         (LDR_HIDDEN): New macro.
32896         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
32897         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
32899         * setjmp/tst-setjmp-static.c: New file.
32900         * setjmp/Makefile (tests): Add it.
32901         (tests-static): New variable.
32903 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
32905         [BZ #17485]
32906         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
32908 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
32910         [BZ #14132]
32911         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
32913 2014-10-21  Roland McGrath  <roland@hack.frob.com>
32915         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
32917 2014-10-20  Roland McGrath  <roland@hack.frob.com>
32919         * io/fts.c (dirent_not_directory): New function.
32920         (fts_build): Call it.
32922 2014-10-20  Roland McGrath  <roland@hack.frob.com>
32924         * nptl/version.c (__nptl_main): Use normal __write rather than
32925         INTERNAL_SYSCALL.
32926         (banner): Update copyright years.
32928         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
32929         gettimeofday.
32930         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
32931         * nptl/pthread_cond_timedwait.c: Likewise.
32932         * nptl/pthread_mutex_timedlock.c: Likewise.
32933         * nptl/sem_timedwait.c: Likewise.
32935         * sysdeps/nptl/bits/libc-lock.h
32936         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
32937         (__libc_lock_init_recursive): Return void, not 0.
32938         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
32939         (__libc_rwlock_init): Likewise.
32940         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
32942 2014-10-20  Torvald Riegel  <triegel@redhat.com>
32944         [BZ #15215]
32945         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
32946         (__pthread_once_slow): ... here.
32947         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
32948         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
32950 2014-10-20  Torvald Riegel  <triegel@redhat.com>
32952         [BZ #15215]
32953         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
32954         __PTHREAD_ONCE_FORK_GEN_INCR): New.
32955         * sysdeps/nptl/fork.c (__libc_fork): Use them.
32956         * nptl/pthread_once.c (__pthread_once): Likewise.
32957         Update comments.
32959 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
32961         [BZ #14138]
32962         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
32963         name.
32964         (writev): Use __libc_writev as strong name.
32965         * sysdeps/unix/sysv/linux/readv.c: Remove file.
32966         * sysdeps/unix/sysv/linux/writev.c: Likewise.
32968 2014-10-17  Roland McGrath  <roland@hack.frob.com>
32970         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
32972         * sysdeps/i386/nptl/tls.h
32973         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
32974         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
32975         New macros.
32976         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
32977         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
32978         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
32979         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
32980         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
32981         Call CHECK_THREAD_SYSINFO instead of doing an assert.
32983         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
32984         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
32985         on [__NR_futex].
32986         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
32987         broken out of ...
32988         (__pthread_mutex_init): ... here.  Call it.
32989         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
32990         Conditionalize PI cases on [__NR_futex].
32991         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
32992         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
32993         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
32995         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
32996         conditional on [SIGSETXID].
32997         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
32998         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
32999         is defined.  Likewise for SIGSETXID.
33000         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
33001         Conditionalize definitions on [SIGSETXID].
33002         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
33003         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
33004         unblocking on [SIGCANCEL].
33006         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
33007         [__NR_set_robust_list].
33009 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33011         * string/strcoll_l.c (get_next_seq): Fix up formatting.
33012         (do_compare): Likewise.
33014 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
33016         [BZ #15884]
33017         * string/strcoll_l.c: Don't include stdio.h.
33018         (coll_seq): Remove members idxarr and rulearr.
33019         (get_next_seq_cached): Remove function.
33020         (get_next_seq): Likewise.
33021         (get_next_seq_nocache): Rename to get_next_seq.
33022         (do_compare): Remove function.
33023         (do_compare_nocache): Rename to do_compare.
33024         (STRCOLL): Remove weight and rules cache.
33026 2014-10-16  Roland McGrath  <roland@hack.frob.com>
33028         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
33029         * sysdeps/arm/sfp-machine.h: ... to here.
33030         * sysdeps/arm/Implies: Remove arm/soft-fp.
33032 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
33034         * conform/data/sys/utsname.h-data (*_t): Allow.
33035         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
33036         [POSIX] (WEXITED): Do not expect constant.
33037         [POSIX] (WSTOPPED): Likewise.
33038         [POSIX] (WNOHANG): Likewise.
33039         [POSIX] (WNOWAIT): Likewise.
33040         [POSIX] (siginfo_t): Do not expect type or elements.
33041         [POSIX] (pid_t): Do not expect type.
33042         [POSIX] (signal.h): Do not allow header.
33043         [POSIX] (sys/resource.h): Likewise.
33044         [POSIX] (si_*): Do not allow pattern.
33045         [POSIX] (W*): Likewise.
33046         [POSIX] (P_*): Likewise.
33047         [POSIX] (BUS_*): Likewise.
33048         [POSIX] (CLD_*): Likewise.
33049         [POSIX] (FPE_*): Likewise.
33050         [POSIX] (ILL_*): Likewise.
33051         [POSIX] (POLL_*): Likewise.
33052         [POSIX] (SEGV_*): Likewise.
33053         [POSIX] (SI_*): Likewise.
33054         [POSIX] (TRAP_*): Likewise.
33055         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
33056         variable.
33058 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
33060         [BZ #12926]
33061         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
33062         infinite loop when __recvmsg returns 0.
33064 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
33066         * CANCEL-FCT-WAIVE: Remove file.
33067         * CANCEL-FILE-WAIVE: Likewise.
33069         [BZ #14132]
33070         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
33071         instead of INTVARDEF.
33072         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
33073         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
33074         rtld_hidden_data_def instead of INTVARDEF.
33075         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
33076         * elf/dl-deps.c (expand_dst): Likewise.
33077         * elf/dl-load.c (_dl_dst_count): Likewise.
33078         (_dl_dst_substitute): Likewise.
33079         (decompose_rpath): Likewise.
33080         (_dl_init_paths): Likewise.
33081         (open_path): Likewise.
33082         (_dl_map_object): Likewise.
33083         * elf/rtld.c (dl_main): Likewise.
33084         (process_dl_audit): Likewise.
33085         (process_envvars): Likewise.
33086         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
33087         Remove declaration.
33088         (__libc_enable_secure): Use rtld_hidden_proto.
33090 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33092         * elf/dl-load.c
33093         (add_path): New function broken out of _dl_rtld_di_serinfo.
33094         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
33096 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
33098         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
33099         parentheses around macro arguments.
33100         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
33101         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
33102         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
33103         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
33104         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
33105         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
33106         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
33107         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
33108         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
33109         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
33110         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
33111         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
33112         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
33113         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
33114         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
33115         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
33116         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
33117         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
33118         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
33119         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
33120         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
33121         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
33122         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
33123         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
33124         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
33125         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
33126         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
33127         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
33128         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
33129         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
33130         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
33131         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
33132         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
33133         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
33134         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
33135         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
33136         Likewise.
33137         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
33138         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
33139         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
33140         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
33141         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
33142         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
33143         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
33144         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
33145         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
33146         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
33147         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
33148         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
33149         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
33150         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
33151         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
33152         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
33153         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
33154         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
33155         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
33156         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
33157         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
33158         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
33159         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
33160         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
33161         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
33162         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
33163         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
33164         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
33165         (_FP_FRAC_SRS_1): Likewise.
33166         (_FP_FRAC_CLZ_1): Likewise.
33167         (_FP_MUL_MEAT_1_imm): Likewise.
33168         (_FP_MUL_MEAT_1_wide): Likewise.
33169         (_FP_MUL_MEAT_1_hard): Likewise.
33170         (_FP_SQRT_MEAT_1): Likewise.
33171         (_FP_FRAC_ASSEMBLE_1): Likewise.
33172         (_FP_FRAC_DISASSEMBLE_1): Likewise.
33173         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
33174         (__FP_CLZ_2): Likewise.
33175         (_FP_MUL_MEAT_2_wide): Likewise.
33176         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
33177         (_FP_MUL_MEAT_2_gmp): Likewise.
33178         (_FP_MUL_MEAT_2_120_240_double): Likewise.
33179         (_FP_SQRT_MEAT_2): Likewise.
33180         (_FP_FRAC_ASSEMBLE_2): Likewise.
33181         (_FP_FRAC_DISASSEMBLE_2): Likewise.
33182         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
33183         (_FP_FRAC_CLZ_4): Likewise.
33184         (_FP_MUL_MEAT_4_wide): Likewise.
33185         (_FP_MUL_MEAT_4_gmp): Likewise.
33186         (_FP_SQRT_MEAT_4): Likewise.
33187         (_FP_FRAC_ASSEMBLE_4): Likewise.
33188         (_FP_FRAC_DISASSEMBLE_4): Likewise.
33189         * soft-fp/op-common.h (_FP_CMP): Likewise.
33190         (_FP_CMP_EQ): Likewise.
33191         (_FP_CMP_UNORD): Likewise.
33192         (_FP_TO_INT): Likewise.
33193         (_FP_FROM_INT): Likewise.
33194         [!__FP_CLZ] (__FP_CLZ): Likewise.
33195         (_FP_DIV_HELP_imm): Likewise.
33196         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
33197         Likewise.
33198         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
33199         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
33200         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
33201         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
33202         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
33203         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
33204         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
33205         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
33206         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
33207         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
33208         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
33209         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
33210         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
33211         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
33212         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
33213         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
33214         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
33215         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
33216         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
33217         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
33218         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
33219         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
33220         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
33221         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
33222         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
33223         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
33224         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
33225         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
33226         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
33227         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
33228         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
33229         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
33230         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
33231         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
33232         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
33233         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
33234         (FP_UNPACK_RAW_SP): Likewise.
33235         (FP_PACK_RAW_S): Likewise.
33236         (FP_PACK_RAW_SP): Likewise.
33237         (FP_UNPACK_S): Likewise.
33238         (FP_UNPACK_SP): Likewise.
33239         (FP_UNPACK_SEMIRAW_S): Likewise.
33240         (FP_UNPACK_SEMIRAW_SP): Likewise.
33241         (FP_PACK_S): Likewise.
33242         (FP_PACK_SP): Likewise.
33243         (FP_PACK_SEMIRAW_S): Likewise.
33244         (FP_PACK_SEMIRAW_SP): Likewise.
33245         (_FP_SQRT_MEAT_S): Likewise.
33246         (FP_CMP_S): Likewise.
33247         (FP_CMP_EQ_S): Likewise.
33248         (FP_CMP_UNORD_S): Likewise.
33249         (FP_TO_INT_S): Likewise.
33250         (FP_FROM_INT_S): Likewise.
33252         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
33254         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
33255         (FP_EX_INVALID_IMZ): Likewise.
33256         (FP_EX_INVALID_IMZ_FMA): Likewise.
33257         (FP_EX_INVALID_ISI): Likewise.
33258         (FP_EX_INVALID_ZDZ): Likewise.
33259         (FP_EX_INVALID_IDI): Likewise.
33260         (FP_EX_INVALID_SQRT): Likewise.
33261         (FP_EX_INVALID_CVI): Likewise.
33262         (FP_EX_INVALID_VC): Likewise.
33263         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
33264         "invalid" exceptions.
33265         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
33266         (_FP_ADD_INTERNAL): Likewise.
33267         (_FP_MUL): Likewise.
33268         (_FP_FMA): Likewise.
33269         (_FP_DIV): Likewise.
33270         (_FP_CMP_CHECK_NAN): Likewise.
33271         (_FP_SQRT): Likewise.
33272         (_FP_TO_INT): Likewise.
33273         (FP_EXTEND): Likewise.
33275 2014-10-09  Allan McRae  <allan@archlinux.org>
33277         * po/fr.po: Update French translation from translation project.
33279 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
33281         [BZ #14132]
33282         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
33283         of INTDEF.
33284         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
33285         (__cxa_atexit): Use libc_hidden_proto.
33286         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
33288         [BZ #14132]
33289         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
33290         declaration.
33291         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
33292         [!_ISOMAC] (__iswspace_l_internal): Likewise.
33293         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
33294         [!_ISOMAC] (__iswctype_internal): Likewise.
33295         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
33296         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
33297         alias.
33298         (fcntl): Remove __fcntl_internal alias.
33299         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
33300         __connect_internal alias.
33301         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
33302         Likewise.
33304         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
33305         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
33306         FP_DENORM_ZERO.
33307         (_FP_CHECK_FLUSH_ZERO): New macro.
33308         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
33309         (_FP_CMP): Likewise.
33310         (_FP_CMP_EQ): Likewise.
33311         (_FP_TO_INT): Do not set inexact for subnormal arguments if
33312         FP_DENORM_ZERO.
33313         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
33314         (FP_TRUNC): Likewise.
33316         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
33317         treated as invalid conversion, not as normal exponent.
33319         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
33320         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
33321         (_FP_CMP_EQ): Likewise.
33322         (_FP_CMP_UNORD): Likewise.
33323         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
33324         (FP_CMP_EQ_D): Likewise.
33325         (FP_CMP_UNORD_D): Likewise.
33326         * soft-fp/extended.h (FP_CMP_E): Likewise.
33327         (FP_CMP_EQ_E): Likewise.
33328         (FP_CMP_UNORD_E): Likewise.
33329         * soft-fp/quad.h (FP_CMP_Q): Likewise.
33330         (FP_CMP_EQ_Q): Likewise.
33331         (FP_CMP_UNORD_Q): Likewise.
33332         * soft-fp/single.h (FP_CMP_S): Likewise.
33333         (FP_CMP_EQ_S): Likewise.
33334         (FP_CMP_UNORD_S): Likewise.
33335         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
33336         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
33337         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
33338         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
33339         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
33340         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
33341         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
33342         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
33343         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
33344         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
33345         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
33346         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
33347         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
33348         to FP_CMP_Q.
33349         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
33350         FP_CMP_Q.
33351         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
33352         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
33353         FP_CMP_EQ_Q.
33354         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
33355         FP_CMP_Q.
33356         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
33357         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
33358         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
33359         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
33360         FP_CMP_EQ_Q.
33361         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
33362         FP_CMP_Q.
33363         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
33364         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
33365         FP_CMP_EQ_Q.
33366         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
33367         FP_CMP_Q.
33368         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
33369         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
33370         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
33371         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
33372         FP_CMP_EQ_Q.
33374         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
33375         a subnormal result, set the underflow exception if trapping on
33376         underflow is enabled.
33377         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
33378         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
33379         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
33380         redefine to 0.
33381         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
33382         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
33383         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
33384         * soft-fp/extendxftf2.c (__extendxftf2): Use
33385         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
33387         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
33388         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
33389         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
33390         FP_HANDLE_EXCEPTIONS.
33391         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
33392         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
33393         FP_HANDLE_EXCEPTIONS.
33394         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
33395         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
33396         FP_HANDLE_EXCEPTIONS.
33397         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
33398         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
33399         FP_HANDLE_EXCEPTIONS.
33401 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
33403         [BZ #14132]
33404         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
33405         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
33406         use INTUSE.
33407         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
33408         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
33409         Remove alias.
33410         (__adjtimex): Define using libc_hidden_ver.
33411         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
33412         Remove declaration.
33413         (ntp_gettime): Call __adjtimex directly.
33414         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
33415         Remove declaration.
33416         (ntp_gettimex): Call __adjtimex directly.
33417         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
33418         __adjtimex_internal alias.
33420 2014-10-08  Roland McGrath  <roland@hack.frob.com>
33422         [BZ #17460]
33423         * nscd/nscd.c (more_help): Rewrite list of tables collection
33424         using xstrdup and asprintf.
33426         * nscd/nscd_conf.c: Remove local xstrdup declaration.
33428 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33429             Roland McGrath  <roland@hack.frob.com>
33431         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
33432         (do_lookup_unique): ... local function 'enter' here; update callers.
33434 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
33436         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
33437         compat_symbol calls on [SHARED].
33438         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
33439         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
33440         Remove.
33441         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
33442         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
33443         (oldsetrlimit): Remove.
33444         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
33445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
33446         (lchown): New syscall entry.
33447         (oldsetrlimit): Remove.
33448         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
33449         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
33450         (oldsetrlimit): Remove.
33451         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
33453         [BZ #14138]
33454         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
33455         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
33456         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
33457         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
33458         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
33459         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
33460         (fchown): Likewise.
33461         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
33462         (fchown): Likewise.
33463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
33464         Likewise.
33466 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33468         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
33469         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
33470         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
33471         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
33472         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
33473         Likewise.
33474         (__old_sem_post): Likewise.
33476 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
33478         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
33479         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
33480         HAVE_CLOCK_GETTIME_VSYSCALL macros.
33481         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
33482         Use INLINE_VSYSCALL macro.
33483         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
33484         __vdso_clock_gettime.
33485         * sysdeps/unix/sysv/linux/tile/init-first.c
33486         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
33487         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
33488         __vdso_clock_gettime.
33490         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
33491         to set up frame more cleanly.
33493         * sysdeps/tile/memcmp.c: New file.
33495         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
33497         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
33498         * sysdeps/tile/tilegx/strcasestr.c: New file.
33499         * sysdeps/tile/tilegx/strnlen.c: New file.
33500         * sysdeps/tile/tilegx/strstr.c: New file.
33502         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
33504 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
33506         * nptl/tst-setuid3.c: Write errors to stdout.
33508 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33510         * elf/dl-deps.c
33511         (preload): New functions broken out of _dl_map_object_deps.
33512         (_dl_map_object_deps):  Remove a nested function. Update call sites.
33514 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
33516         [BZ #14138]
33517         * sysdeps/unix/sysv/linux/execve.c: Remove file.
33518         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
33520 2014-10-01  Steve Ellcey  <sellcey@mips.com>
33522         * sysdeps/mips/strcmp.S: New.
33524 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
33526         [BZ #14138]
33527         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
33528         (linkat): Likewise.
33529         (mkdirat): Likewise.
33530         (readlinkat): Likewise.
33531         (renameat): Likewise.
33532         (symlinkat): Likewise.
33533         (unlinkat): Likewise.
33534         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
33535         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
33536         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
33537         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
33538         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
33539         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
33540         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
33542 2014-09-30  Will Newton  <will.newton@linaro.org>
33544         * math/math.h: Define long double math functions if
33545         _LIBC_TEST is defined.
33546         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
33548         * localedata/Makefile: Move assignment to tests-special
33549         into an ifdef testing run-built-tests.
33550         * timezone/Makefile: Likewise.
33552 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
33554         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
33555         with $(BASH) not $(SHELL).
33557 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
33558             Matthew LeGendre  <legendre1@llnl.gov>
33560         [BZ #17411]
33561         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
33562         l_reloc_result.
33564 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33566         * stdio-common/printf_fp.c
33567         (hack_digit): New function, broken out of ...
33568         (__printf_fp): ... local function here.  Update call sites.
33569         hack_digit now takes an additional parameter that is a pointer
33570         to a struct of the referenced locals.  Those locals moved inside
33571         the struct and references updated.
33573 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
33575         * aclocal.m4: Require autoconf 2.69.
33576         * configure: Regenerated.
33577         * sysdeps/aarch64/configure: Likewise.
33578         * sysdeps/alpha/configure: Likewise.
33579         * sysdeps/arm/armv7/configure: Likewise.
33580         * sysdeps/arm/configure: Likewise.
33581         * sysdeps/ia64/configure: Likewise.
33582         * sysdeps/mach/configure: Likewise.
33583         * sysdeps/mips/configure: Likewise.
33584         * sysdeps/s390/configure: Likewise.
33585         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
33586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
33588         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
33589         file.
33590         * sysdeps/ia64/configure.ac: Likewise.
33592 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
33594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
33595         specify symbol version for ld.so.  Do not include entry for
33596         libpthread.
33597         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33598         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
33599         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33601         [BZ #14171]
33602         * Makeconfig [$(build-shared) = yes]
33603         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
33604         makefiles.
33605         [$(build-shared) = yes && $(soversions.mk-done) = t]
33606         ($(common-objpfx)gnu/lib-names.h): Remove rule.
33607         [$(build-shared) = yes && $(soversions.mk-done) = t]
33608         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
33609         to Makerules.
33610         [$(build-shared) = yes && $(soversions.mk-done) = t]
33611         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
33612         here.
33613         [$(build-shared) = yes && $(soversions.mk-done) = t]
33614         (common-generated): Don't append gnu/lib-names.h and
33615         gnu/lib-names.stmp here.
33616         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
33617         (lib-names-h-abi): New variable.
33618         [$(build-shared) = yes && $(soversions.mk-done) = t]
33619         (lib-names-stmp-abi): Likewise.
33620         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33621         abi-variants] (before-compile): Append
33622         $(common-objpfx)$(lib-names-h-abi).
33623         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33624         abi-variants] (common-generated): Append gnu/lib-names.h.
33625         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33626         abi-variants] (install-others-nosubdir): Depend on
33627         $(inst_includedir)/$(lib-names-h-abi).
33628         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33629         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
33630         [$(build-shared) = yes && $(soversions.mk-done) = t]
33631         ($(common-objpfx)$(lib-names-h-abi)): New rule.
33632         [$(build-shared) = yes && $(soversions.mk-done) = t]
33633         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
33634         [$(build-shared) = yes && $(soversions.mk-done) = t]
33635         (common-generated): Append $(lib-names-h-abi) and
33636         $(lib-names-stmp-abi).
33637         * scripts/lib-names.awk: Do not handle multi being set.
33638         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
33639         Remove variable.
33640         (abi-lp64_be-ld-soname): Likewise.
33641         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
33642         Likewise.
33643         (abi-hard-ld-soname): Likewise.
33644         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
33645         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
33646         Remove variable.
33647         (abi-o32_hard-ld-soname): Likewise.
33648         (abi-o32_soft_2008-ld-soname): Likewise.
33649         (abi-o32_hard_2008-ld-soname): Likewise.
33650         (abi-n32_soft-ld-soname): Likewise.
33651         (abi-n32_hard-ld-soname): Likewise.
33652         (abi-n32_soft_2008-ld-soname): Likewise.
33653         (abi-n32_hard_2008-ld-soname): Likewise.
33654         (abi-n64_soft-ld-soname): Likewise.
33655         (abi-n64_hard-ld-soname): Likewise.
33656         (abi-n64_soft_2008-ld-soname): Likewise.
33657         (abi-n64_hard_2008-ld-soname): Likewise.
33658         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
33659         Likewise.
33660         (abi-64-v2-ld-soname): Likewise.
33661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
33662         ld.so entries.
33663         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
33664         variable.
33665         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
33666         entry.
33667         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
33668         variable.
33669         (abi-64-ld-soname): Likewise.
33670         (abi-x32-ld-soname): Likewise.
33671         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
33672         entry.
33673         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33675 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
33677         [BZ #14138]
33678         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
33679         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
33680         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
33681         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
33682         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
33683         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
33684         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
33685         syscall entry for GLIBC_2.2 symbol version.
33686         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
33687         Likewise.
33688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
33689         (setrlimit): Likewise.
33690         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
33691         Likewise.
33693 2014-09-23  Will Newton  <will.newton@linaro.org>
33695         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
33696         _LINUX_ARM_SYSDEP_H include guard too.
33697         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
33698         define.
33700 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
33702         * sysdeps/unix/sysv/linux/eventfd.c:
33703         Make first argument unsigned.
33704         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
33705         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
33707 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
33709         [BZ #16852]
33710         * socket/recvmmsg.c (recvmmsg): Drop const argument.
33711         * socket/sys/socket.h: Likewise.
33712         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
33714 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33716         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
33718 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
33720         * time/tst-ftime.c: New test.
33721         * time/Makefile (tests): Add tst-ftime.
33723 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
33725         * soft-fp/extended.h: Fix comment formatting.
33726         * soft-fp/op-1.h: Likewise.
33727         * soft-fp/op-2.h: Likewise.
33728         * soft-fp/op-4.h: Likewise.
33729         * soft-fp/op-8.h: Likewise.
33730         * soft-fp/op-common.h: Likewise.
33731         * soft-fp/soft-fp.h: Likewise.
33733         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
33735 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
33737         [BZ #6652]
33738         * Makeconfig (soversions-default-setname): Remove variable.
33739         ($(common-objpfx)soversions.i): Don't pass default_setname to
33740         soversions.awk.
33741         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
33742         oldest_abi to abi-versions.awk.
33743         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
33744         * config.make.in (oldest-abi): Remove variable.
33745         * configure.ac (--enable-oldest-abi): Remove configure option.
33746         * configure: Regenerated.
33747         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
33748         text.
33749         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
33750         * scripts/soversions.awk: Do not handle default_setname variable.
33751         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
33752         variable.
33753         * sysdeps/mach/hurd/configure: Regenerated.
33754         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
33755         variable.
33756         * sysdeps/unix/sysv/linux/configure: Regenerated.
33758 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33760         * elf/Makefile (CFLAGS-interp.c): Remove.
33761         ($(elf-objpfx)runtime-linker.h): Generate header with linker
33762         path string.
33763         * elf/interp.c: Include generated runtime-linker.h
33765         * Makerules (lib%.so): Don't include $(+interp) in
33766         prerequisites.
33767         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
33768         * dlfcn/eval.c: Remove file.
33770         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
33771         macros.
33773         [BZ #17266]
33774         * misc/sys/cdefs.h: Define __extern_always_inline for clang
33775         4.2 and newer.
33777         [BZ #17370]
33778         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
33780 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33781             Jakub Jelinek  <jakub@redhat.com>
33783         [BZ #17266]
33784         * libio/stdio.h: Check definition of __fortify_function
33785         instead of __extern_always_inline to include bits/stdio2.h.
33786         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
33787         check if __extern_always_inline is defined.
33788         [__USE_MISC || __USE_XOPEN]: Likewise.
33789         [__USE_ISOC99] Likewise.
33790         * misc/sys/cdefs.h (__fortify_function): Define only if
33791         __extern_always_inline is defined.
33792         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
33793         __extern_always_inline and __extern_inline only for g++-4.3
33794         and newer or a compatible gcc.
33796 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
33798         [BZ #17371]
33799         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
33800         last change to handle zero prefix length.
33802 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33804         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
33805         _SC_REGEX_VERSION.
33807         * posix/getconf.c (vars): Add _POSIX_IPV6 and
33808         _POSIX_RAW_SOCKETS.
33810 2014-09-13  Allan McRae  <allan@archlinux.org>
33812         * po/ru.po: Update Russian translation from translation project.
33814 2014-09-12  Roland McGrath  <roland@hack.frob.com>
33816         * locale/programs/locale.c (show_locale_vars): Inline local function
33817         into its sole call site.  Clean up some style nits.
33818         (print_item): New function, broken out of ...
33819         (show_info): ... local function here.  Clean up style nits.
33821         * locale/programs/ld-ctype.c (set_one_default): New function, broken
33822         out of ...
33823         (set_class_defaults): ... local function set_default here.
33824         Define set_default as a macro locally to pass constant parameters.
33825         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
33826         rather than a shared local.
33828         * stdlib/rpmatch.c (try): New function, broken out of ...
33829         (rpmatch): ... local function here.  Also, prototypify definition.
33831 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
33833         * scripts/soversions.awk: Do not handle configuration names.
33834         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
33835         vendor and os variables to soversions.awk.
33836         * configure.ac: Do not modify gnu-* host_os.
33837         * configure: Regenerated
33838         * shlib-versions: Remove first column with configuration names.
33839         * nptl/shlib-versions: Likewise.
33840         * nptl_db/shlib-versions: Likewise.
33841         * sysdeps/hppa/shlib-versions: Likewise.
33842         * sysdeps/m68k/shlib-versions: Likewise.
33843         * sysdeps/mach/hurd/shlib-versions: Likewise.
33844         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
33845         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
33846         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
33847         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
33848         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
33849         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
33850         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
33851         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
33852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
33853         Likewise.
33854         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33855         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
33856         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
33857         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
33858         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
33859         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
33860         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
33861         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
33864         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
33865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
33866         Regenerated.
33867         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
33868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
33869         Condition symbol version definitions on [HAVE_ELFV2_ABI].
33871         * shlib-versions: Remove OS-specific entries.  Moved to files in
33872         sysdeps.
33873         * sysdeps/mach/hurd/shlib-versions: New file.
33874         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
33876         * nptl/shlib-versions: Remove architecture-specific entries.
33877         Moved to files in sysdeps.
33878         * shlib-versions: Likewise.
33879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
33880         file.
33881         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33882         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
33883         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
33884         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
33886         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
33887         (UDP_NO_CHECK6_RX): Likewise.
33889 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33891         * sysdeps/posix/sysconf.c (__sysconf): Spell
33892         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
33894 2014-08-12  Florian Weimer  <fweimer@redhat.com>
33896         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
33897         loading.
33898         * iconv/Versions (__gconv_transliterate): Export for use from
33899         gconv modules.
33900         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
33901         (struct __gconv_trans_data, __gconv_trans_fct,
33902         __gconv_trans_context_fct, __gconv_trans_query_fct,
33903         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
33904         definitions.
33905         (struct __gconv_step_data): Remove __trans member.
33906         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
33907         longer hidden.  Remove unused trans_data argument.
33908         * iconv/gconv_int.h (struct trans_struct): Remove definition.
33909         (__gconv_translit_find): Remove declaration.
33910         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
33911         prototype.
33912         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
33913         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
33914         trans_data argument.  Add hidden definition.
33915         (__gconv_translit_find): Remove.
33916         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
33917         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
33918         * iconv/skeleton.c: Remove transliteration initialization.
33919         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
33920         __gconv_step_data initialization.
33921         * libio/iofwide.c (__libio_translit_): Remove.
33922         (_IO_fwide): Adjust struct __gconv_step_data initialization.
33923         * wcsmbs/btowc.c (__btowc): Likewise.
33924         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
33925         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
33926         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
33927         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
33928         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
33929         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
33930         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
33931         * wcsmbs/wctob.c (wctob): Likewise.
33933 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33935         [BZ #16194]
33936         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
33937         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
33938         register usage.
33939         * sysdeps/x86/Makefile: Adjust.
33941 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33942             Roland McGrath  <roland@hack.frob.com>
33944         * locale/weight.h: Add include guard.
33945         (findidx): Make static rather than auto; take new parameters
33946         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
33947         * locale/weightwc.h: Likewise.
33948         * posix/fnmatch_loop.c
33949         (FCT): Change type of EXTRA from int32_t to wint_t.
33950         Don't include either header inside the function.
33951         Call FINDIDX rather than findidx, and pass new arguments.
33952         #undef FINDIDX at the end of the file.
33953         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
33954         FINDIDX before including fnmatch_loop.c for the non-wide version.
33955         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
33956         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
33957         for the wide version.
33958         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
33959         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
33960         Pass new arguments to findidx.
33961         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
33962         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
33963         Don't #include it inside the function.  Pass new arguments to findidx.
33964         * posix/regex_internal.h
33965         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
33966         (re_string_elem_size_at): Don't #include it inside the function.
33967         Pass new arguments to findidx.
33968         * string/strcoll_l.c: #include WEIGHT_H at top level.
33969         (get_next_seq): Don't #include it inside the function.
33970         Pass new arguments to findidx.
33971         (get_next_seq_nocache): Likewise.
33972         * string/strxfrm_l.c: #include WEIGHT_H at top level.
33973         (STRXFRM): Don't #include it inside the function.
33974         Pass new arguments to findidx.
33976 2014-09-11  Florian Weimer  <fweimer@redhat.com>
33978         [BZ #17344]
33979         * malloc/malloc.c (unlink): Turn asserts into a call to
33980         malloc_printerr.
33982 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
33984         [BZ #17370]
33985         * libio/wfileops (do_ftell_wide): Free OUT.
33987 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
33989         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
33991 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33993         [BZ #17363]
33994         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
33995         group if the current group is empty.
33997 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33999         * benchtests/bench-memset.c (test_main): Add more test from size
34000         from 32 to 512 bytes.
34001         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34002         Add POWER8 memset object.
34003         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34004         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
34005         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
34006         implementation.
34007         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
34008         Likewise.
34009         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
34010         multiarch POWER8 memset optimization.
34011         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
34012         POWER8 memset optimization.
34014         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34015         Remove bzero multiarch objects.
34016         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
34017         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
34018         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
34019         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
34020         Remove define.
34021         [__bzero]: Redefine to specific name.
34022         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
34023         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
34024         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
34025         define.
34026         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
34027         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
34029 2014-09-10  Florian Weimer  <fweimer@redhat.com>
34031         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
34032         warnings into errors.
34034         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
34035         __cxa_thread_atexit_impl prototype.
34037 2014-09-09  Steve Ellcey  <sellcey@mips.com>
34039         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
34040         Fix capitalization of error message.
34042 2014-09-09  Steve Ellcey  <sellcey@mips.com>
34044         * sysdeps/mips/preconfigure: Modify ABI tests.
34046 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
34048         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
34050 2014-09-07  Roland McGrath  <roland@hack.frob.com>
34051             Carlos O'Donell  <carlos@systemhalted.org>
34053         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
34054         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
34055         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
34056         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
34057         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
34058         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
34059         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
34060         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
34061         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
34062         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
34063         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
34064         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
34065         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
34066         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
34067         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
34068         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
34069         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
34070         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
34071         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
34072         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
34073         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
34074         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
34075         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
34076         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
34077         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
34078         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
34079         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
34080         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
34081         Deconditionalize the code that was previously under [RESET_PID].
34082         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
34083         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
34084         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
34085         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
34086         include sysdep.h.
34088 2014-09-08  Allan McRae  <allan@archlinux.org>
34090         * version.h (RELEASE): Set to "development".
34091         (VERSION): Set to "2.20.90"
34093 2014-09-07  Allan McRae  <allan@archlinux.org
34095         * version.h (RELEASE): Set to "stable".
34096         (VERSION): Set to "2.20"
34097         * include/features.h (__GLIBC_MINOR__): Set to 20.
34099         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
34100         Liebler.
34102         * po/ko.po: Update Korean translation from translation project.
34104 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
34106         [BZ #17354]
34107         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
34108         macro for handling signed relocations.
34110 2014-09-03  Florian Weimer  <fweimer@redhat.com>
34112         [BZ #17325]
34113         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
34114         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
34115         assert.
34116         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
34117         * iconvdata/ibm935.c (BODY): Likewise.
34118         * iconvdata/ibm937.c (BODY): Likewise.
34119         * iconvdata/ibm939.c (BODY): Likewise.
34120         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
34121         assert.
34122         * iconvdata/Makefile (iconv-test.out): Pass module list to test
34123         script.
34124         * iconvdata/run-iconv-test.sh: New test loop for checking for
34125         decoder crashers.
34127 2014-09-02  Khem Raj  <raj.khem@gmail.com>
34129         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
34130         libm_hidden_ver.
34132 2014-09-01  Allan McRae  <allan@archlinux.org>
34134         * po/eo.po: Update Esperanto translation from translation project.
34136         * po/ca.po: Update Catalan translation from translation project.
34138 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34140         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
34141         __proc_dostop call.
34143 2014-08-27  Mark Wielaard  <mjw@redhat.com>
34145         [BZ #17319]
34146         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
34147         to call set_thread_area instead of hand written asm.
34148         (__NR_set_thread_area): Removed define.
34149         (TLS_FLAG_WRITABLE): Likewise.
34150         (__ASSUME_SET_THREAD_AREA): Remove check.
34151         (TLS_EBX_ARG): Remove define.
34152         (TLS_LOAD_EBX): Likewise.
34154 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34156         Simplify atomicity of socket creation in bind.
34158         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
34159         looking up the name after linking the file.
34161 2014-08-27  Allan McRae  <allan@archlinux.org>
34163         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34165 2014-08-26  Florian Weimer  <fweimer@redhat.com>
34167         [BZ #17187]
34168         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
34169         trans_compare, open_translit, __gconv_translit_find):
34170         Remove module loading code.
34172 2014-08-26  Allan McRae  <allan@archlinux.org>
34174         * po/vi.po: Update Vietnamese translation from translation project.
34176         * po/uk.po: Update Ukrainian translation from translation project.
34178         * po/fr.po: Update French translation from translation project.
34180         * po/ru.po: Update Russian translation from translation project.
34182         * po/pl.po: Update Polish translation from translation project.
34184         * po/cs.po: Update Czech translation from translation project.
34186         * po/de.po: Update German translation from translation project.
34188         * po/bg.po: Update Bulgarian translation from translation project.
34190         * po/sv.po: Update Sweedish translation from translation project.
34192         * po/nl.po: Update Dutch translation from translation project.
34194         * po/es.po: Update Spanish translation from translation project.
34196 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34198         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
34200         * catgets/Makefile (CPPFLAGS-gencat): Remove.
34201         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
34202         (CPPFLAGS-iconvconfig): Likewise.
34203         * timezone/Makefile (CPPFLAGS-zic): Likewise.
34205         * include/libc-symbols.h: Remove unnecessary check for
34206         NOT_IN_libc.
34207         * nptl/pthreadP.h: Likewise.
34208         * sysdeps/aarch64/setjmp.S: Likewise.
34209         * sysdeps/alpha/setjmp.S: Likewise.
34210         * sysdeps/arm/sysdep.h: Likewise.
34211         * sysdeps/i386/setjmp.S: Likewise.
34212         * sysdeps/m68k/setjmp.c: Likewise.
34213         * sysdeps/posix/getcwd.c: Likewise.
34214         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
34215         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
34216         * sysdeps/s390/s390-32/setjmp.S: Likewise.
34217         * sysdeps/s390/s390-64/setjmp.S: Likewise.
34218         * sysdeps/sh/sh3/setjmp.S: Likewise.
34219         * sysdeps/sh/sh4/setjmp.S: Likewise.
34220         * sysdeps/unix/alpha/sysdep.h: Likewise.
34221         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
34222         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34223         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
34224         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
34226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34227         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34228         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34229         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34230         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34231         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34232         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
34233         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34234         * sysdeps/x86_64/setjmp.S: Likewise.
34236 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
34238         [BZ #17263]
34239         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
34240         <stdint.h>.
34241         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
34242         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
34244 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
34246         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
34248         [BZ #17262]
34249         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
34250         and __x86_64__ when disabling x87 inline functions.
34252 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
34254         [BZ #17259]
34255         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
34256         asm statement with __cpuid_count.
34258 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
34260         * configure.ac: Change __ehdr_start code to dereference the struct.
34261         Run readelf on the output to look for relocations.
34262         * configure: Regenerated.
34264 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
34266         [BZ #17261]
34267         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
34268         value to 0.
34269         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
34271 2014-08-12  Roland McGrath  <roland@hack.frob.com>
34273         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
34275 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
34277         [BZ #16892]
34278         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
34279         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
34281 2014-08-12  Sean Anderson  <seanga2@gmail.com>
34283         * malloc/malloc.c: Fix typo in comment.
34285 2014-08-09  Allan McRae  <allan@archlinux.org>
34287         * Regenerate libc.po.
34289 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
34291         * intl/tst-gettext2.sh: Check every lang file for creation.
34293 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
34295         * sysdeps/aarch64/fpu/math_private.h
34296         (libc_feholdsetround_noex_aarch64_ctx): New function.
34298 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
34300         * sysdeps/arm/armv6/strcpy.S (strcpy):
34301         Fix performance issue in misaligned cases.
34303 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34305         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
34306         Move definition from termios.h.
34307         (struct termio): Likewise.
34308         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
34309         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
34310         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
34311         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
34312         Likewise.
34313         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
34314         Move definition to ioctl-types.h
34315         (struct termio): Likewise.
34316         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
34317         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
34318         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
34319         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
34320         Likewise.
34322 2014-08-05  Richard Henderson  <rth@redhat.com>
34324         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
34325         exceptions.
34326         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
34327         Add fraiseexcpt.
34328         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
34329         Use __feraiseexcept.
34330         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
34331         Protect libm symbols with IS_IN_libm.
34333         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
34335 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
34337         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
34339 2014-08-04  Will Newton  <will.newton@linaro.org>
34341         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
34342         file.
34344 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
34346         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
34347         variants for each function.
34349 2014-08-04  Roland McGrath  <roland@hack.frob.com>
34351         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
34352         appended ...
34353         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
34354         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
34355         appended ...
34356         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
34357         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
34358         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
34359         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
34360         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
34361         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
34362         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
34363         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
34364         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
34365         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
34366         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
34367         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
34368         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
34369         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
34370         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
34371         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
34372         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
34373         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
34374         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
34375         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
34376         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
34377         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
34378         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
34379         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
34380         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
34381         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
34382         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
34383         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
34384         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
34385         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
34386         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
34387         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
34388         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
34389         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
34390         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
34391         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
34392         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
34393         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
34394         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
34395         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
34396         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
34397         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
34398         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
34399         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
34400         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
34401         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
34402         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
34403         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
34404         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
34405         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
34406         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
34407         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
34408         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
34409         Update #include.
34410         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
34411         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
34413 2014-08-04  Roland McGrath  <roland@hack.frob.com>
34415         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
34416         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
34417         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
34418         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
34419         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
34420         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
34422 2014-08-04  Roland McGrath  <roland@hack.frob.com>
34424         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
34425         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
34426         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34427         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
34429 2014-08-04  Roland McGrath  <roland@hack.frob.com>
34431         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
34432         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
34433         (__libc_vfork): Define function under this name.
34434         (__vfork): Define as an alias.
34435         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
34436         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
34438 2014-08-04  Roland McGrath  <roland@hack.frob.com>
34440         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
34441         that was previously under [RESET_PID].
34442         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
34444 2014-08-04  Andreas Schwab  <schwab@suse.de>
34446         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
34448 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
34450         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
34451         (main): Likewise.
34453 2014-08-01  Roland McGrath  <roland@hack.frob.com>
34455         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
34457 2014-08-01  Richard Henderon  <rth@redhat.com>
34459         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
34460         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
34461         typo in exact zero test.
34462         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34463         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34464         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34466 2014-08-01  Roland McGrath  <roland@hack.frob.com>
34468         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
34469         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
34470         * sysdeps/arm/sysdep.h: ... here.
34471         [!__ASSEMBLER__]: Include <stdint.h>.
34473 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
34475         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
34476         (HAVE_WCTYPE_H): Likewise.
34477         (HAVE_ISWCTYPE): Likewise.
34478         (ENABLE_NLS): Likewise.
34479         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
34480         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
34482         * posix/regex_internal.c: Check if DEBUG is defined and is
34483         set.
34485         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
34486         (HAVE_MBSRTOWCS): Likewise.
34487         * posix/fnmatch.c: Include string.h unconditionally.
34489 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
34491         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
34492         reversal.
34494 2014-07-31  Roland McGrath  <roland@hack.frob.com>
34496         * sysdeps/generic/safe-fatal.h: New file.
34497         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
34498         * nptl/forward.c: Include it.
34499         (__pthread_unwind): Use __safe_fatal as default action, rather
34500         than a bogus use of INTERNAL_SYSCALL that could never work.
34502         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
34503         * configure.ac (libc_cv_builtin_trap): New test.
34504         * configure: Regenerated.
34505         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
34506         (ABORT_INSTRUCTION): Define using __builtin_trap.
34508         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
34509         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
34510         * sysdeps/nptl/nptl-signals.h: New file.
34511         * nptl/pthreadP.h: Include <nptl-signals.h>.
34513 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
34515         * sysdeps/s390/s390-64/utf16-utf32-z9.c
34516         (ONE_DIRECTION): Define.
34517         * sysdeps/s390/s390-64/utf8-utf16-z9.c
34518         (ONE_DIRECTION): Define.
34519         * sysdeps/s390/s390-64/utf8-utf32-z9.c
34520         (ONE_DIRECTION): Define.
34522 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
34524         * sysdeps/s390/Makefile: Delete file.
34525         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
34526         * sysdeps/s390/__longjmp.c: Delete file.
34527         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
34528         Remove fields __flags and __reserved.
34529         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
34530         and add versioning.
34531         * sysdeps/s390/rtld-__longjmp.c: Delete file.
34532         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
34533         * sysdeps/s390/rtld-setjmp.S: Likewise.
34534         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
34535         * sysdeps/s390/s390-32/__longjmp.c: ... here.
34536         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
34537         * sysdeps/s390/s390-32/setjmp.S: ... here.
34538         Add versioning.
34539         (__sigsetjmp): Remove setting __flags field.
34540         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
34541         * sysdeps/s390/s390-64/__longjmp.c: ... here.
34542         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
34543         * sysdeps/s390/s390-64/setjmp.S: ... here.
34544         Add versioning.
34545         (__sigsetjmp): Remove setting __flags field.
34546         * sysdeps/s390/setjmp.S: Delete file.
34547         * sysdeps/s390/sigjmp.c: Likewise.
34548         * sysdeps/s390/v1-longjmp.c: Likewise.
34549         * sysdeps/s390/v1-setjmp.h: Likewise.
34550         * sysdeps/s390/v1-sigjmp.c: Likewise.
34551         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
34552         Remove v1-longjmp_chk.
34553         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
34554         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
34555         Include debug/longjmp_chk.c and add versioning.
34556         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
34557         Include nptl/pt-longjmp.c and add versioning.
34558         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
34559         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
34560         Include __longjmp.c.
34561         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
34562         Move to ...
34563         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
34564         (__getcontext): Remove setting __flags field.
34565         Add versioning.
34566         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
34567         Don't restore upper high grps.
34568         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
34569         Likewise.
34570         (__swapcontext): Remove setting uc_flags field.
34571         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
34572         Delete file.
34573         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
34574         Include __longjmp.c.
34575         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
34576         Move to ...
34577         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
34578         (__getcontext): Remove setting __flags field.
34579         Add versioning.
34580         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
34581         (__swapcontext): Remove setting uc_flags field.
34582         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
34583         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
34584         Remove fields uc_high_gprs and __reserved.
34585         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
34586         New file with reverted content.
34587         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
34588         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
34589         Regenerated.
34590         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
34591         Regenerated.
34593 2014-07-31  Andreas Schwab  <schwab@suse.de>
34595         * config.h.in (HAVE_IFUNC): Define to 0.
34596         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
34597         definedness.
34599 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
34601         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34602         memmove-avx-unaligned, memcpy-avx-unaligned and
34603         mempcpy-avx-unaligned.
34604         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34605         Add tests for AVX memcpy functions.
34606         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
34607         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
34608         memcpy_chk.
34609         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
34610         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
34611         memmove_chk.
34612         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
34613         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
34614         mempcpy_chk.
34615         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
34616         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
34617         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
34619 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34621         [BZ #17213]
34622         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
34623         powerpc64le.
34625 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
34627         [BZ #16839]
34628         * manual/llio.texi: Add section about open file description locks.
34629         * manual/examples/ofdlocks.c: Example of open file description
34630         lock usage.
34631         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
34632         F_OFD_SETLK, and F_OFD_SETLKW.
34634 2014-07-23  Allan McRae  <allan@archlinux.org>
34636         * po/es.po: Update Spanish translation from translation project.
34638 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
34640         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
34642 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
34644         [BZ #17078]
34645         * sysdeps/arm/dl-machine.h (elf_machine_rela)
34646         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
34647         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
34649 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
34651         [BZ #17088]
34652         * math/fesetenv.c (__fesetenv)
34653         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
34654         * math/feupdateenv.c (__feupdateenv)
34655         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
34657         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
34658         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
34659         (__ASSUME_SOCKETCALL): Do not define.
34661         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
34662         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
34663         (__ASSUME_SOCKETCALL): Do not define.
34664         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
34665         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
34666         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34667         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
34668         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34669         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
34670         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34671         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34673         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
34674         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
34675         (__ASSUME_SOCKETCALL): Do not define.
34676         (__ASSUME_IPC64): Define unconditionally.
34677         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
34678         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34679         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
34680         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34681         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
34682         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34683         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
34684         Likewise.
34686         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
34687         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
34688         (__ASSUME_SOCKETCALL): Do not define.
34689         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
34690         (__ASSUME_FUTEX_LOCK_PI): Likewise.
34691         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34692         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
34693         (__ASSUME_REQUEUE_PI): Define unconditionally.
34694         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
34695         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
34696         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34697         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
34698         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34699         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34701         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
34702         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
34703         (__ASSUME_SOCKETCALL): Do not define.
34704         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
34705         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34706         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34707         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
34708         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34709         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34711         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
34712         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
34713         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34714         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
34715         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34716         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
34717         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34718         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
34719         (__ASSUME_GETCPU_SYSCALL): Likewise.
34721         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
34722         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
34723         cases for individual architectures.
34724         * sysdeps/gnu/configure: Regenerated.
34725         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
34726         LIBC_SLIBDIR_RTLDDIR.
34727         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
34728         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
34729         LIBC_SLIBDIR_RTLDDIR.
34730         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
34731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
34732         LIBC_SLIBDIR_RTLDDIR.
34733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
34734         Regenerated.
34735         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
34736         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
34737         file.
34738         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
34739         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
34740         file.
34741         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
34742         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
34743         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
34744         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
34746         * sysdeps/aarch64/shlib-versions: Move to ...
34747         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
34748         * sysdeps/alpha/shlib-versions: Move to ...
34749         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
34750         * sysdeps/arm/shlib-versions: Move to ...
34751         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
34752         * sysdeps/hppa/shlib-versions: Move all contents except for
34753         libgcc_s entry to ...
34754         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
34755         entry from ...
34756         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
34757         * sysdeps/ia64/shlib-versions: Move to ...
34758         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
34759         entry from ...
34760         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
34761         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
34762         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
34763         * sysdeps/microblaze/shlib-versions: Move to ...
34764         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
34765         * sysdeps/mips/shlib-versions: Move to ...
34766         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
34767         entry from ...
34768         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
34769         * sysdeps/tile/shlib-versions: Move to ...
34770         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
34771         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
34772         from ...
34773         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
34774         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
34775         entry from ...
34776         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
34778 2014-07-17  Will Newton  <will.newton@linaro.org>
34780         * sysdeps/arm/bits/atomic.h
34781         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
34782         (__arch_compare_and_exchange_bool_16_int): Likewise.
34783         (__arch_compare_and_exchange_bool_64_int): Likewise.
34785         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
34786         into an #else block.
34788 2014-07-16  Roland McGrath  <roland@hack.frob.com>
34790         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
34791         just Linux configurations.  Test empirically that the compiler sets
34792         __ARM_EABI__, rather than using the tuple to decide.
34793         * sysdeps/arm/preconfigure: Regenerated.
34794         * sysdeps/unix/sysv/linux/arm/configure: File removed.
34795         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
34796         contents appended ...
34797         * sysdeps/arm/configure.ac: ... here.
34798         * sysdeps/arm/configure: Regenerated.
34800 2014-07-15  Roland McGrath  <roland@hack.frob.com>
34802         * nptl/pthread_kill.c: New file.
34803         * nptl/pthread_sigmask.c: New file.
34804         * nptl/pthread_sigqueue.c: New file.
34806         * sysdeps/nptl/lowlevellock.h: New file.
34807         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
34808         * sysdeps/nptl/lowlevellock-futex.h: New file.
34810         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
34811         Remove dead declarations.
34813 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
34815         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
34816         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
34817         config-cflags-avx2.
34818         * sysdeps/x86_64/configure.ac: Likewise.
34819         * sysdeps/i386/configure: Regenerated.
34820         * sysdeps/x86_64/configure: Likewise.
34821         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34822         memset-avx2 only if config-cflags-avx2 is yes.
34823         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34824         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
34825         defined.
34826         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
34827         only if HAVE_AVX2_SUPPORT is defined.
34828         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34830 2014-07-14  Alan Modra  <amodra@gmail.com>
34832         [BZ #17153]
34833         * elf/elf.h (DT_PPC64_NUM): Correct value.
34834         * NEWS: Add to fixed bug list.
34836 2014-07-13  Jim Meyering  <meyering@fb.com>
34838         [BZ 17150]
34839         regex: don't deref NULL upon heap allocation failure
34840         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
34841         failure in one more place.
34842         To trigger the segfault, configure grep -with-included-regex,
34843         build it, and run these commands:
34844         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
34846 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
34848         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34850 2014-07-11  Richard Henderson  <rth@redhat.com>
34852         * sysdeps/aarch64/libm-test-ulps: Update.
34854 2014-07-10  Florian Weimer  <fweimer@redhat.com>
34856         [BZ #17135]
34857         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
34858         * nptl/allocatestack.c (__nptl_setxid_error): New function.
34859         (__nptl_setxid): Initialize error member.  Call
34860         __nptl_setxid_error.
34861         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
34862         * nptl/descr.h (struct xid_command): Add error member.
34863         * nptl/tst-setuid3.c: New file.
34864         * nptl/Makefile (tests): Add it.
34866 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34868         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
34869         New define.
34870         (__lll_trylock): Use __lll_base_trylock.
34871         (__lll_cond_trylock): Likewise.
34873 2014-07-10  Roland McGrath  <roland@hack.frob.com>
34875         * nptl/pthread_create.c (start_thread): Use atomic_or and
34876         lll_futex_wake directly rather than lll_robust_dead.
34877         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
34878         (lll_robust_dead): Macro removed.
34879         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
34880         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
34881         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
34882         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34883         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34884         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
34885         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
34886         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34887         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
34888         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34889         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34890         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34891         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34892         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34893         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34895         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
34896         Use atomic_compare_and_exchange_val_acq directly rather than
34897         lll_robust_trylock.
34898         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
34899         (__lll_robust_trylock, lll_robust_trylock): Removed.
34900         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
34901         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
34902         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34903         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34904         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
34905         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
34906         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34907         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
34908         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34909         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34910         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34911         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34912         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34913         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34915 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34917         * manual/locale.texi (Locale Names): New section documenting
34918         locale name syntax.  Adjust menu and node chaining accordingly.
34919         (Choosing Locale): Reference Locale Names, Locale Categories.
34920         Mention setting LC_ALL=C.  Reflect that name syntax is now
34921         documented.
34922         (Locale Categories): New section title.  Reference Locale Names.
34923         LC_ALL is an environment variable, but not a category.
34924         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
34925         description, now in Locale Name.  Reference that section.  Locale
34926         name syntax is now documented.
34928 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34930         [BZ #17137]
34931         * locale/findlocale.c (name_present, valid_locale_name): New
34932         functions.
34933         (_nl_find_locale): Use the loc_name variable to store name
34934         candidates.  Call name_present and valid_locale_name to check and
34935         validate locale names.  Return an error if the locale is invalid.
34937 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34939         * locale/setlocale.c (setlocale): Use strdup for allocating
34940         composite name copy.
34942 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34944         Sync up with gnulib.
34945         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
34946         [!_LIBC && ENABLE_NLS]: Include gettext.h.
34947         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
34948         and _GL_ARG_NONNULL.
34949         [USE_UNLOCKED_IO]: Include unlocked-io.h.
34950         [!_LIBC]: Include code for Windows and Cygwin.
34951         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
34952         Include prototype for int strerror_r.
34953         [!_LIBC] (is_open): New function.
34954         (flush_stdout): New function.
34955         (print_errno_message): Use it.
34956         (error): Likewise.
34957         (error_at_line): Likewise.
34958         (error_tail) Add function attribute macros.  Use
34959         __builtin_expect.
34961         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
34963         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
34965         * io/ftw.c: Include sys/param.h unconditionally.
34967         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
34969         [BZ #17125]
34970         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
34971         libc_freeres_ptr.
34972         (freecache): New function to free CACHE on exit.
34974         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
34975         initialization.
34977 2014-07-09  David S. Miller  <davem@davemloft.net>
34979         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34981         * sysdeps/sparc/nptl/internaltypes.h: Delete.
34982         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
34983         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
34984         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
34985         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
34986         * sysdeps/sparc/nptl/sem_init.c: Likewise.
34987         * sysdeps/sparc/nptl/sem_post.c: Likewise.
34988         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
34989         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
34990         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
34991         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
34992         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
34993         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
34995 2014-07-09  Andreas Schwab  <schwab@suse.de>
34997         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
34998         output.
34999         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
35000         (do_test): Likewise.
35002         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35004 2014-07-09  Will Newton  <will.newton@linaro.org>
35006         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
35007         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
35008         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
35009         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
35010         * sysdeps/hppa/start.S (_start): Likewise.
35012 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
35014         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
35016         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
35017         defined.
35019 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35021         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
35022         after checking that it is non-NULL.
35024         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
35026 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35028         * sysdeps/powerpc/memmove.c: Remove file.
35029         * sysdeps/powerpc/powerpc32/power4/memcopy.h
35030         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
35031         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
35032         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
35033         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
35034         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
35035         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
35036         string memmove instead of removed powerpc one.
35038         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
35039         [weak_alias]: Fix compiler warning due trailing data.
35040         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
35041         [weak_alias]: Likewise.
35042         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
35043         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
35045         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35046         (__libc_ifunc_impl_list): Add memmove functions.
35048 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35050         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
35051         Remove code.
35052         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
35053         Likewise.
35054         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
35055         Likewise.
35056         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
35057         Likewise.
35058         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
35059         Likewise.
35060         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
35061         Likewise.
35062         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
35063         Likewise.
35064         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
35065         Likewise.
35066         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
35067         Likewise.
35068         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
35069         Likewise.
35070         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
35071         Likewise.
35072         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
35073         Likewise.
35074         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
35075         Likewise.
35076         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
35077         Likewise.
35078         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
35079         Likewise.
35080         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
35081         Likewise.
35082         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
35083         Likewise.
35085 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35087         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
35088         to avoid alignment traps in non-cacheable memory.
35089         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
35091         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
35092         multiarch objects.
35093         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
35094         file: multiarch power7 memmove.
35095         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
35096         multiarch default memmove.
35097         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
35098         multiarch memove for powerpc32/power4.
35100         * string/bcopy.c: Use full path to include memmove.c.
35101         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
35102         multiarch objects.
35103         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
35104         bcopy for powerpc64.
35105         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
35106         bcopy for powerpc64.
35107         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
35108         and memmove implementations.
35109         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
35110         optimized multiarch memmove for POWER7/powerpc64.
35111         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
35112         default multiarch memmove for powerpc64.
35113         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
35114         multiarch for powerpc64.
35115         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
35116         for POWER7/powerpc64.
35117         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
35118         memmove for POWER7/powerpc64.
35120         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
35121         glibc default one.
35123         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
35124         __ELF_NATIVE_CLASS equal to 64.
35126 2014-07-07  Roland McGrath  <roland@hack.frob.com>
35128         * sysdeps/nptl/lowlevellock.h: File removed.
35130         * NEWS: NPTL is no longer an add-on!
35131         * nptl/internaltypes.h: Moved ...
35132         * sysdeps/nptl/internaltypes.h: ... here.
35133         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
35134         * sysdeps/nptl/fork.c: Likewise.
35135         * sysdeps/nptl/gai_misc.h: Likewise.
35136         * sysdeps/nptl/librt-cancellation.c: Likewise.
35137         * sysdeps/nptl/jmp-unwind.c: Likewise.
35138         * sysdeps/nptl/setxid.h: Likewise.
35139         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
35140         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
35141         * sysdeps/unix/sysv/linux/arm/Implies: New file.
35142         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
35143         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
35144         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
35145         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
35146         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
35147         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
35148         * sysdeps/unix/sysv/linux/mips/Implies: New file.
35149         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
35150         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
35151         * sysdeps/unix/sysv/linux/sh/Implies: New file.
35152         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
35153         * sysdeps/unix/sysv/linux/tile/Implies: New file.
35154         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
35155         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
35156         * nptl/Makeconfig: Moved ...
35157         * sysdeps/nptl/Makeconfig: ... here.
35158         * nptl/configure: File removed.
35159         * nptl/ANNOUNCE: File removed.
35160         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
35161         * sysdeps/unix/sysv/linux/configure: Regenerated.
35163         * nptl/Makefile (routines): Add libc_pthread_init,
35164         libc_multiple_threads, register-atfork and unregister-atfork.
35165         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
35166         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
35167         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
35168         pthread-pi-defines.sym, structsem.sym.
35169         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
35170         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
35171         [$(subdir) = nptl] (tests): Add tst-setgetname.
35172         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
35173         * sysdeps/unix/sysv/linux/sigaction.c: Just include
35174         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
35175         [!LIBC_SIGACTION]: Remove aliases.
35176         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
35177         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
35178         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
35179         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
35180         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
35181         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
35182         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35183         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35184         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
35185         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
35186         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
35187         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
35188         __libc_allocate_rtsig_private.
35189         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
35190         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
35191         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
35192         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
35193         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
35194         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
35195         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
35196         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
35197         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
35198         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
35199         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
35200         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
35201         * nptl/internaltypes.h: ... here.
35202         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
35203         * sysdeps/nptl/jmp-unwind.c: ... here.
35204         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
35205         * nptl/libc-lowlevellock.c: ... here.
35206         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
35207         * nptl/libc_multiple_threads.c: ... here.
35208         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
35209         * nptl/libc_pthread_init.c: ... here.
35210         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
35211         * nptl/lowlevelbarrier.sym: ... here.
35212         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
35213         * nptl/lowlevelcond.sym: ... here.
35214         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
35215         * nptl/lowlevellock.c: ... here.
35216         * nptl/lowlevellock.h: Moved ...
35217         * sysdeps/nptl/lowlevellock.h: ... here.
35218         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
35219         * nptl/lowlevelrobustlock.c: ... here.
35220         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
35221         * nptl/lowlevelrobustlock.sym: ... here.
35222         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
35223         * nptl/lowlevelrwlock.sym: ... here.
35224         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
35225         * nptl/pt-fork.c: ... here.
35226         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
35227         * nptl/pthread-pi-defines.sym: ... here.
35228         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
35229         * nptl/pthread_attr_getaffinity.c: ... here.
35230         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
35231         * nptl/pthread_attr_setaffinity.c: ... here.
35232         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
35233         * nptl/pthread_mutex_cond_lock.c: ... here.
35234         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
35235         Update #include.
35236         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
35237         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
35238         * nptl/pthread_once.c: ... here, replacing old file.
35239         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
35240         * nptl/pthread_yield.c: ... here.
35241         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
35242         * nptl/register-atfork.c: ... here.
35243         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
35244         * nptl/sem_post.c: ... here.
35245         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
35246         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
35247         * nptl/sem_timedwait.c: ... here.
35248         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
35249         * nptl/sem_trywait.c: ... here.
35250         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
35251         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
35252         * nptl/sem_wait.c: ... here.
35253         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
35254         * nptl/structsem.sym: ... here.
35255         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
35256         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
35257         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
35258         * nptl/unregister-atfork.c: ... here.
35259         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
35260         * nptl/unwindbuf.sym: ... here.
35261         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
35262         * sysdeps/nptl/fork.c: ... here.
35263         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
35264         * sysdeps/nptl/fork.h: ... here.
35265         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
35266         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
35267         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
35268         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
35269         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
35270         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
35271         * sysdeps/unix/sysv/linux/getpid.c: ... here.
35272         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
35273         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
35274         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
35275         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
35276         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
35277         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
35278         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
35279         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
35280         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
35281         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
35282         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
35283         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
35284         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
35285         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
35286         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
35287         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
35288         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
35289         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
35290         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
35291         * sysdeps/unix/sysv/linux/raise.c: ... here.
35292         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
35293         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
35294         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
35295         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
35296         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
35297         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
35298         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
35299         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
35300         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
35301         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
35302         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
35303         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
35304         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
35305         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
35306         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
35308 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35310         * sysdeps/generic/memcopy.h: Add comment for
35311         MEMCPY_OK_FOR_FWD_MEMMOVE.
35313 2014-07-04  Will Newton  <will.newton@linaro.org>
35315         * string/memchr.c: Merge from gnulib.
35316         [_LIBC]: Remove conditionals.
35317         (__ptr_t): Remove define.
35318         (LONG_MAX_32_BITS): Likewise.
35319         (LONG_MAX): Likewise.
35320         (MEMCHR): Use ANSI prototype and optimize algorithm.
35322         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
35324 2014-07-03  Roland McGrath  <roland@hack.frob.com>
35326         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
35327         (lll_futex_timed_wait_bitset): Fix syscall argument count.
35329         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
35330         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
35331         in a bare environment with no <stdlib.h> installed.
35332         * sysdeps/nptl/configure: Regenerated.
35334         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
35336         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
35337         AC_EGREP_CPP for kernel header checks, so they only succeed if
35338         including <linux/version.h> actually works right.
35339         * sysdeps/unix/sysv/linux/configure: Regenerated.
35341         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
35342         value so it's not diagnosed as unused.
35344         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
35345         thing) with "ifeq ($(subdir),rt)".
35347 2014-07-03  Richard Henderson  <rth@redhat.com>
35349         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
35350         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
35351         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
35353         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
35354         (math_force_eval): New.
35356         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
35357         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
35359         * sysdeps/alpha/fpu/s_round.c: Remove file.
35360         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
35362         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
35363         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
35364         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
35365         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
35366         (_dl_start, print_statistics): Likewise.
35367         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
35368         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
35370         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35371         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35372         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35373         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35374         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
35375         (HP_SMALL_TIMING_AVAIL): Define.
35376         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35377         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
35378         (HP_SMALL_TIMING_AVAIL): Define.
35379         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35380         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35382         * sysdeps/aarch64/hp-timing.h: New file.
35384         * sysdeps/generic/hp-timing.h: Remove dead comment.
35385         * sysdeps/generic/hp-timing-common.h: New file.
35386         * sysdeps/alpha/hp-timing.h: Include it.
35387         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
35388         * sysdeps/i386/i686/hp-timing.h: Likewise.
35389         * sysdeps/ia64/hp-timing.h: Likewise.
35390         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35391         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35392         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35393         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35394         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
35395         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
35396         (hp_timing_t): New.
35398         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
35399         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
35400         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
35401         * elf/rtld.c (_dl_start_final): Likewise.
35402         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
35403         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
35404         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
35405         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
35406         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
35407         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
35408         (HP_TIMING_DIFF_INIT): Remove.
35409         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
35410         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
35411         (HP_TIMING_DIFF_INIT): Remove.
35412         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
35413         * sysdeps/i386/i686/hp-timing.c: Remove file.
35414         * sysdeps/x86_64/hp-timing.c: Remove file.
35415         * sysdeps/ia64/hp-timing.c: Remove file.
35416         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
35417         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
35418         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
35419         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
35421         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
35422         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
35423         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
35424         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
35425         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
35426         (HP_TIMING_ACCUM): Remove.
35427         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
35428         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
35429         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
35431         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
35432         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
35433         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
35434         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
35435         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
35436         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
35437         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
35438         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
35440         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
35442 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
35444         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
35446 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35448         Sync up with gettext.
35449         * intl/loadmsgcat.c: Define O_BINARY if not defined.
35450         [_MSC_VER]: Include malloc.h
35451         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
35452         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
35453         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
35454         TEMP_FAILURE_RETRY.  Cast return of alloca.
35455         [!_LIBC] Call gl_rwlock_init.
35456         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
35458 2014-07-02  Roland McGrath  <roland@hack.frob.com>
35460         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
35461         before checking its value.
35463 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35465         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
35467         * debug/memcpy_chk.c: Don't include pagecopy.h.
35468         * debug/mempcpy_chk.c: Likewise.
35469         * string/memcpy.c: Likewise.
35470         * string/memmove.c: Likewise.
35471         * sysdeps/powerpc/memmove.c: Likewise.
35472         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
35473         definition of PAGE_COPY_FWD_MAYBE here...
35474         * sysdeps/generic/pagecopy.h: ... from here.
35475         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
35477 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35478             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35480         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
35481         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
35482         optimizations.
35483         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35484         (__libc_ifunc_impl_list): Likewise.
35485         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
35486         multiarch strcat for PPC64.
35487         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
35488         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
35490 2014-07-02  Roland McGrath  <roland@hack.frob.com>
35492         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
35494 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35496         * intl/loadmsgcat.c: Remove declaration of
35497         get_sysdep_segment_value.
35498         (get_sysdep_segment_value): Use ISO C style.
35499         (_nl_load_domain): Use ISO C style.  Get rid of redundant
35500         semicolon.  Fix typo and formatting in comment.
35501         (_nl_unload_domain): Use ISO C style.
35503         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
35505 2014-07-02  Will Newton  <will.newton@linaro.org>
35507         * malloc/obstack.c: Merge from gnulib master.
35508         [HAVE_CONFIG_H]: Remove conditional code.
35509         [!_LIBC]: Include config.h.
35510         [!ELIDE_CODE]: Don't include inttypes.h, include
35511         stdint.h unconditionally.
35512         (print_and_abort): Mark as _Noreturn.
35513         (_obstack_allocated_p): Mark as __attribute_pure__.
35514         (obstack_free): Rename to __obstack_free.
35515         [!__attribute__]: Remove conditional code.
35516         * malloc/obstack.h: Merge from gnulib master.
35517         [__cplusplus]: Move conditional down.
35518         [!__attribute_pure__]: Define __attribute_pure__ here
35519         if it is not already defined.
35520         (_obstack_memory_used): Mark as __attribute_pure__.
35521         [!__obstack_free]: Define as obstack_free.
35522         [__GNUC__]: Remove check for ancient NeXT gcc.
35524 2014-07-02  Will Newton  <will.newton@linaro.org>
35525             Paul Eggert  <eggert@cs.ucla.edu>
35527         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
35529 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35531         * resolv/gethnamaddr.c: Add comment warning that the file is
35532         not maintained.
35534 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
35536         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
35537         entries.
35539         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
35540         entry for aio_cancel and aio_cancel64.
35541         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
35542         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
35543         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
35544         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
35545         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
35546         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
35547         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
35548         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
35549         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
35550         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
35551         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
35552         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
35553         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
35555 2014-07-01  Roland McGrath  <roland@hack.frob.com>
35557         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
35558         * nptl/pthread_mutex_lock.c: Likewise.
35559         * nptl/pthread_mutex_timedlock.c: Likewise.
35560         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
35562 2014-07-01  Richard henderson  <rth@redhat.com>
35564         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
35565         (__isnan, __isnanl): Remove.
35566         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
35568         * sysdeps/alpha/fpu/libm-test-ulps: Update.
35570 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
35572         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35574 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35576         * resolv/nss_dns/dns-host.c (getanswer_r)
35577         [MULTI_PTRS_ARE_ALIASES]: Remove code.
35579 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
35581         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35582         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
35583         undefine.
35584         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
35585         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
35587 2014-07-01  Roland McGrath <roland@hack.frob.com>
35589         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
35590         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
35592         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
35593         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
35595         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
35596         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
35597         ... here.
35598         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
35599         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
35601         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
35602         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
35603         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
35604         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
35606         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
35607         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
35608         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
35609         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
35610         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
35611         Moved ...
35612         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
35613         ... here.
35614         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
35615         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
35616         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
35617         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
35618         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
35619         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
35620         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
35621         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
35622         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
35623         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
35624         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
35625         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
35626         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
35627         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
35628         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
35629         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
35630         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
35631         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
35632         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
35633         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
35634         ... here.
35635         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
35636         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
35637         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
35638         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
35639         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
35640         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
35641         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
35642         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
35644 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
35646         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
35647         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
35648         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
35649         Add sysdep.
35651 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35653         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35655 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
35657         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
35658         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
35660         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35662         * sysdeps/arm/libm-test-ulps: Regenerated.
35664 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
35665             Roland McGrath <roland@hack.frob.com>
35667         * test-skeleton.c (signal_handler): Kill the whole process group
35668         before killing the child individually.
35669         (main): Report any failure on `setpgid'.
35671 2014-06-30  Roland McGrath  <roland@hack.frob.com>
35673         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
35674         from _TLS_H to _ARM_NPTL_TLS_H.
35675         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
35676         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
35678 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
35680         [BZ #16539]
35681         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
35682         (__expm1l): Return argument unchanged when small but not
35683         subnormal.
35685         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
35686         include macro name.
35687         (_FP_UNPACK_RAW_1_P): Likewise.
35688         (_FP_PACK_RAW_1): Likewise.
35689         (_FP_PACK_RAW_1_P): Likewise.
35690         (_FP_MUL_MEAT_1_wide): Likewise.
35691         (_FP_MUL_MEAT_DW_1_hard): Likewise.
35692         (_FP_MUL_MEAT_1_hard): Likewise.
35693         (_FP_DIV_MEAT_1_imm): Likewise.
35694         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
35695         (_FP_DIV_MEAT_1_udiv): Likewise.
35696         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
35697         (_FP_UNPACK_RAW_2): Likewise.
35698         (_FP_UNPACK_RAW_2_P): Likewise.
35699         (_FP_PACK_RAW_2): Likewise.
35700         (_FP_PACK_RAW_2_P): Likewise.
35701         (_FP_MUL_MEAT_DW_2_wide): Likewise.
35702         (_FP_MUL_MEAT_2_wide): Likewise.
35703         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
35704         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
35705         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
35706         (_FP_MUL_MEAT_2_gmp): Likewise.
35707         (_FP_DIV_MEAT_2_udiv): Likewise.
35708         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
35709         (_FP_FRAC_SRL_4): Likewise.
35710         (_FP_FRAC_SRST_4): Likewise.
35711         (_FP_FRAC_SRS_4): Likewise.
35712         (_FP_UNPACK_RAW_4): Likewise.
35713         (_FP_UNPACK_RAW_4_P): Likewise.
35714         (_FP_PACK_RAW_4): Likewise.
35715         (_FP_PACK_RAW_4_P): Likewise.
35716         (_FP_MUL_MEAT_DW_4_wide): Likewise.
35717         (_FP_MUL_MEAT_4_wide): Likewise.
35718         (_FP_MUL_MEAT_4_gmp): Likewise.
35719         (umul_ppppmnnn): Likewise.
35720         (_FP_DIV_MEAT_4_udiv): Likewise.
35721         (__FP_FRAC_ADD_4): Likewise.
35722         (__FP_FRAC_SUB_3): Likewise.
35723         (__FP_FRAC_SUB_4): Likewise.
35724         (__FP_FRAC_DEC_3): Likewise.
35725         (__FP_FRAC_DEC_4): Likewise.
35726         (__FP_FRAC_ADDI_4): Likewise.
35727         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
35728         (_FP_FRAC_SRL_8): Likewise.
35729         (_FP_FRAC_SRS_8): Likewise.
35731         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
35732         include macro name.
35733         (FP_UNPACK_RAW_EP): Likewise.
35734         (FP_PACK_RAW_E): Likewise.
35735         (FP_PACK_RAW_EP): Likewise.
35736         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
35737         (_FP_ISSIGNAN): Likewise.
35738         (_FP_ADD_INTERNAL): Likewise.
35739         (_FP_FMA): Likewise.
35740         (_FP_CMP): Likewise.
35741         (_FP_SQRT): Likewise.
35742         (_FP_TO_INT): Likewise.
35743         (_FP_FROM_INT): Likewise.
35744         (FP_EXTEND): Likewise.
35745         (_FP_DIV_MEAT_N_loop): Likewise.
35747 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
35749         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
35750         throughout.
35752 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
35754         [BZ #17097]
35755         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
35756         result with correct sign in case of exponents that produce
35757         overflow except for X very close to 1.
35759 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
35761         mktime: merge #if/#ifdef usage from glibc
35762         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
35763         as that works with both Glibc's and Gnulib's style.
35764         See thread starting at Siddhesh Poyarekar's bug report at:
35765         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
35767 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35769         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
35770         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
35771         * sysdeps/tile/tilegx/memmove.c: Remove file.
35773 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
35775         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
35776         abi-name definition.
35777         * scripts/soversions.awk: Do not handle or generate ABI lines.
35778         * shlib-versions: Remove ABI entries.
35779         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
35780         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
35782 2014-06-27  Roland McGrath  <roland@hack.frob.com>
35784         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
35785         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
35786         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
35787         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
35788         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
35789         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
35790         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
35791         Moved ...
35792         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
35793         ... here.
35794         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
35795         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
35796         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
35797         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
35798         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
35799         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
35800         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
35801         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
35802         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
35803         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
35804         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
35805         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
35806         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
35807         Moved ...
35808         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
35809         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
35810         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
35811         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
35812         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
35813         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
35814         Moved ...
35815         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
35816         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
35817         Moved ...
35818         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
35819         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
35820         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
35821         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
35822         Moved ...
35823         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
35824         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
35825         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
35826         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
35827         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
35828         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
35829         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
35830         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
35831         Moved ...
35832         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
35833         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
35834         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
35835         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
35836         Moved ...
35837         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
35838         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
35839         Moved ...
35840         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
35841         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
35842         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
35843         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
35844         Moved ...
35845         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
35846         ... here.
35847         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
35848         Identical file removed.
35849         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
35850         Moved ...
35851         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
35852         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
35853         Identical file removed.
35854         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
35855         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
35856         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
35857         Moved ...
35858         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
35859         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
35860         Identical file removed.
35861         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
35862         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
35863         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
35864         Identical file removed.
35865         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
35866         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
35867         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
35868         Identical file removed.
35869         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
35870         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
35871         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
35872         Identical file removed.
35873         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
35874         Moved ...
35875         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
35876         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
35877         Identical file removed.
35878         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
35879         Moved ...
35880         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
35881         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
35882         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
35883         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
35884         Identical file removed.
35885         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
35886         Moved ...
35887         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
35888         ... here.
35889         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
35890         Identical file removed.
35891         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
35892         Moved ...
35893         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
35894         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
35895         Identical file removed.
35896         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
35897         Moved ...
35898         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
35899         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
35900         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
35901         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
35902         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
35903         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
35904         Moved ...
35905         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
35906         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
35907         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
35909         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
35910         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
35911         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
35912         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
35913         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
35915 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
35917         [BZ #17092]
35918         * nscd/nscd.c (monitor_child): Return exit status of child
35919         instead of return value from wait syscall.
35921 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
35923         * configure.ac (libc_commonpagesize): Remove variable.
35924         (libc_relro_required): Likewise.
35925         (libc_cv_z_relro): Remove configure test.
35926         * configure: Regenerated.
35927         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
35928         variable.
35929         (libc_relro_required): Likewise.
35930         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
35931         (libc_relro_required): Likewise.
35932         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
35933         (libc_relro_required): Likewise.
35934         * sysdeps/arm/preconfigure: Regenerated.
35935         * sysdeps/ia64/preconfigure: Remove file.
35936         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
35937         variable.
35938         (libc_relro_required): Likewise.
35940         [BZ #16561]
35941         [BZ #16562]
35942         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
35943         (__ieee754_yn): Set FE_TONEAREST mode internally and then
35944         recompute overflowing results in original rounding mode.
35945         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
35946         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
35947         recompute overflowing results in original rounding mode.
35948         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
35949         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35950         recompute overflowing results in original rounding mode.
35951         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
35952         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35953         recompute overflowing results in original rounding mode.
35954         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
35955         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35956         recompute overflowing results in original rounding mode.
35957         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
35958         (libc_feholdsetround_ctx): New macro.
35959         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
35960         * sysdeps/i386/fpu/libm-test-ulps: Update.
35961         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
35963 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35965         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
35966         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
35967         corresponding .cpsetup call.
35969 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35971         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
35972         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
35973         * sysdeps/arm/Makefile [$(subdir) = csu]
35974         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
35975         (static-only-routines): Add aeabi_read_tp here.
35976         (shared-only-routines): Add libc-aeabi_read_tp here.
35977         (CFLAGS-libc-start.c): Add -fexceptions here.
35978         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
35979         (sysdep_routines, static-only-routines, shared-only-routines):
35980         Don't add to these here.
35981         (CFLAGS-libc-start.c): Likewise.
35983         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
35984         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
35985         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
35986         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
35987         * sysdeps/arm/Makefile [$(subdir) = rt]
35988         (librt-sysdep_routines, librt-shared-only-routines):
35989         Append rt-aeabi_unwind_cpp_pr1 here.
35990         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
35991         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
35992         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
35993         (libpthread-sysdep_routines, libpthread-shared-only-routines):
35994         Append nptl-aeabi_unwind_cpp_pr1 here.
35995         (tests): Filter out tst-cleanupx4 here.
35996         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
35997         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
35998         Don't do those here.
36000 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
36002         * scripts/list-sources.sh: Do not handle ports specially.
36004 2014-06-26  Roland McGrath  <roland@hack.frob.com>
36006         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
36007         * sysdeps/arm/feupdateenv.c: Likewise.
36009         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
36011 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
36013         * manual/texinfo.tex: Update to version 2014-05-05.10 with
36014         trailing whitespace removed.
36015         * scripts/config.guess: Update to version 2014-03-23.
36016         * scripts/config.sub: Update to version 2014-05-01
36017         * scripts/install-sh: Update to version 2013-12-25.23.
36018         * scripts/move-if-change: Update from gnulib.
36020 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36022         * debug/memmove_chk.c: Remove pagecopy.h include.
36024 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
36026         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
36027         identical to gnulib mktime.
36029 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
36031         * configure.ac: Do not test for machine being rs6000.  Do not test
36032         for powerpc*-*soft.
36033         * configure: Regenerated.
36035         [BZ #11505]
36036         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
36037         test.
36038         * configure: Regenerated.
36039         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
36040         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
36041         Remove configure test.
36042         * sysdeps/arm/configure: Regenerated.
36043         * sysdeps/nptl/configure.ac: Do not check
36044         libc_cv_asm_cfi_directives.
36045         * sysdeps/nptl/configure: Regenerated.
36046         * sysdeps/x86_64/nptl/configure.ac: Remove file.
36047         * sysdeps/x86_64/nptl/configure: Remove generated file.
36048         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
36049         unconditional.
36050         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
36052 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36054         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
36055         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
36056         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
36057         it is defined.
36059         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
36060         instead of whether it is defined.
36061         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
36062         * sysdeps/hppa/dl-machine.h: Likewise.
36063         * sysdeps/ia64/dl-machine.h: Likewise.
36064         * sysdeps/m68k/dl-machine.h: Likewise.
36065         * sysdeps/microblaze/dl-machine.h: Likewise.
36066         * sysdeps/mips/dl-machine.: Likewise.
36067         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
36068         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
36069         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
36070         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
36071         * sysdeps/sh/dl-machine.h: Likewise.
36072         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36073         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36074         * sysdeps/tile/dl-machine.h: Likewise.
36075         * sysdeps/x86_64/dl-machine.h: Likewise.
36077         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
36078         code.
36079         (verify_persistent_db): Likewise.
36081 2014-06-26  Roland McGrath  <roland@hack.frob.com>
36083         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
36084         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
36085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
36086         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
36087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36088         Moved ...
36089         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
36090         ... here.
36091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
36092         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
36093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
36094         Identical file removed.
36095         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
36096         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
36097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
36098         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
36099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
36100         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
36101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
36102         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
36103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
36104         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
36105         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36106         Moved ...
36107         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
36108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
36109         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
36110         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
36111         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
36112         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36113         Moved ...
36114         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
36115         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
36116         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
36117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
36118         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
36119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
36120         Identical file removed.
36121         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
36122         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
36123         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
36124         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
36125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36126         Moved ...
36127         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
36128         ... here.
36129         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
36130         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
36131         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
36132         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
36133         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
36134         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
36135         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
36136         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
36137         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
36138         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
36139         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36140         Moved ...
36141         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
36142         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
36143         Moved ...
36144         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
36145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
36146         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
36147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36148         Moved ...
36149         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
36150         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
36151         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
36153         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
36154         folded into ...
36155         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
36156         * sysdeps/unix/sysv/linux/s390/Versions
36157         (libpthread: GLIBC_2.19): New version set.
36158         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
36159         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
36160         (librt: GLIBC_2.3.3): New version set.
36161         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
36162         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
36163         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
36164         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
36165         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
36166         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
36167         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
36168         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
36169         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
36170         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
36171         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
36172         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
36173         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
36174         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
36175         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
36176         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
36177         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
36178         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
36179         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
36180         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
36181         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
36182         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
36183         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
36184         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
36185         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
36186         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
36187         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
36188         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
36189         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
36190         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
36191         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
36192         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
36193         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
36194         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
36195         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
36196         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
36197         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
36198         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
36199         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
36200         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
36201         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
36202         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
36203         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
36204         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
36205         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
36207         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
36208         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
36209         (__libc_vfork): Define the function under this name.
36210         [!NOT_IN_libc] (__vfork): Make this an alias.
36211         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
36212         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
36213         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
36214         (__libc_vfork): Define the function under this name.
36215         [!NOT_IN_libc] (__vfork): Make this an alias.
36216         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
36217         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
36218         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
36219         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
36220         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
36221         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36223         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
36224         code that was previously under [RESET_PID].
36225         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
36226         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
36227         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
36229         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
36230         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
36231         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
36232         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
36233         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
36234         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
36235         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
36236         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
36237         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
36238         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
36239         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
36240         Moved ...
36241         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
36242         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
36243         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
36244         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
36245         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
36246         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
36247         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
36248         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
36249         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
36250         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
36251         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
36252         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
36253         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
36254         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
36255         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
36256         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
36257         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
36258         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
36259         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
36260         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
36261         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
36262         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
36263         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
36264         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
36265         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
36266         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
36267         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
36268         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
36269         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
36271 2014-06-25  Roland McGrath  <roland@hack.frob.com>
36273         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
36274         that was previously under [RESET_PID].
36275         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
36277 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
36279         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
36280         not undefine and redefine.
36281         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
36282         [O_CLOEXEC]: Make code unconditional.
36283         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
36284         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
36285         <kernel-features.h>.
36286         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
36287         conditional variable definition.
36288         (shm_open) [O_CLOEXEC]: Make code unconditional.
36289         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
36290         code.
36292         * configure.ac (USE_REGPARMS): Don't define here.
36293         * configure: Regenerated.
36294         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
36295         * sysdeps/i386/configure: Regenerated.
36297         * nptl/createthread.c: Don't include kernel-features.h.
36298         * nptl/pthread_cancel.c: Likewise.
36299         * nptl/pthread_condattr_setclock.c: Likewise.
36300         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
36301         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
36302         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
36303         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
36304         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
36305         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
36306         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
36307         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
36308         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
36309         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
36310         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
36311         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
36312         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
36313         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
36314         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
36315         * nscd/gai.c: Likewise.
36316         * nss/nss_db/db-open.c: Likewise.
36317         * sysdeps/generic/ldsodefs.h: Likewise.
36318         * sysdeps/sh/nptl/tls.h: Likewise.
36319         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
36320         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
36321         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
36322         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
36323         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
36324         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
36325         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
36326         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
36327         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36328         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
36329         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
36330         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36331         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
36332         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
36333         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
36334         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
36335         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
36336         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
36337         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
36338         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
36339         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
36340         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
36341         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
36342         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
36343         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
36344         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
36345         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
36346         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
36347         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
36348         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
36349         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
36350         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
36351         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
36352         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36353         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36354         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
36355         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
36356         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
36357         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
36358         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
36359         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
36360         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
36361         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
36362         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36363         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
36364         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
36365         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
36366         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
36367         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
36368         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
36369         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
36370         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
36371         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
36372         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
36373         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
36374         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
36375         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
36376         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
36377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
36378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
36379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
36380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
36381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
36382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
36383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
36384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
36385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
36386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
36387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
36388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
36389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
36390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
36391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
36392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
36393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
36397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
36398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
36399         * sysdeps/unix/sysv/linux/pread.c: Likewise.
36400         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
36401         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
36402         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
36403         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
36404         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
36405         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
36406         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
36407         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
36408         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
36409         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
36410         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
36411         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
36412         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
36413         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
36414         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
36415         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
36416         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
36417         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
36418         * sysdeps/unix/sysv/linux/system.c: Likewise.
36419         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
36420         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
36421         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36422         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36423         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36424         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
36425         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
36427         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
36428         * configure: Regenerated.
36429         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
36431         * configure.ac (base_machine): Do not set specially for particular
36432         machines here.
36433         * configure: Regenerated.
36434         * sysdeps/powerpc/preconfigure: Move machine and base_machine
36435         settings from configure.ac.
36436         * sysdeps/i386/preconfigure: New file.
36437         * sysdeps/s390/preconfigure: Likewise.
36438         * sysdeps/sh/preconfigure: Likewise.
36439         * sysdeps/sparc/preconfigure: Likewise.
36441 2014-06-25  Roland McGrath  <roland@hack.frob.com>
36443         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
36444         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
36445         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
36446         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
36447         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
36448         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
36449         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
36450         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
36451         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
36452         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
36453         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
36454         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
36455         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
36456         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
36457         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
36458         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
36459         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
36460         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
36461         * sysdeps/sparc/sparc64/Makefile: ... appended here.
36463         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
36464         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
36465         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
36466         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
36467         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
36468         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
36469         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
36470         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
36471         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
36472         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
36473         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
36474         * sysdeps/sparc/sparc32/sem_post.c: ... here.
36475         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
36476         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
36477         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
36478         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
36479         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
36480         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
36481         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
36482         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
36483         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
36484         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
36485         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
36486         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
36487         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
36488         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
36489         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
36490         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
36491         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
36492         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
36493         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
36494         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
36495         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
36496         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
36497         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
36498         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
36499         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
36500         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
36502         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
36503         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
36504         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
36505         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
36506         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36507         Moved ...
36508         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
36509         ... here.
36510         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
36511         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
36512         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
36513         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
36514         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
36515         Moved ...
36516         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
36517         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
36518         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
36519         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
36520         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
36521         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
36522         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
36523         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36524         Moved ...
36525         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
36526         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36527         Moved ...
36528         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
36529         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
36530         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
36531         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36532         Moved ...
36533         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
36534         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
36535         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
36536         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
36537         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
36538         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
36539         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
36540         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
36541         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
36542         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36543         Moved ...
36544         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
36545         ... here.
36546         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
36547         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
36548         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
36549         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
36550         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
36551         Moved ...
36552         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
36553         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
36554         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
36555         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
36556         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
36557         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
36558         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
36559         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36560         Moved ...
36561         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
36562         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36563         Moved ...
36564         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
36565         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
36566         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
36567         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36568         Moved ...
36569         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
36570         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
36571         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
36572         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
36573         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
36575 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
36577         * timezone/checktab.awk: Update from tzcode 2014e.
36578         * timezone/private.h: Likewise.
36579         * timezone/tzfile.h: Likewise.
36580         * timezone/zdump.c: Likewise.
36581         * timezone/zic.c: Likewise.
36583         * sysdeps/unix/sysv/linux/kernel-features.h
36584         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
36585         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
36586         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
36587         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36588         Remove conditional code.
36590 2014-06-25  Will Newton  <will.newton@linaro.org>
36592         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
36593         (_dl_arm_cap_flags): Add HWCAP2 values.
36594         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
36595         (_DL_HWCAP_COUNT): Increase to 37.
36596         (_DL_HWCAP_LAST): New define.
36597         (_DL_HWCAP2_LAST): New define.
36598         (_dl_procinfo): Add support for printing
36599         AT_HWCAP2 entries.
36600         (_dl_string_hwcap): Use _dl_hwcap_string.
36602 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36604         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36606 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
36608         * README: Do not mention ports directory.
36610         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
36611         Remove macro.
36612         * sysdeps/unix/sysv/linux/futimes.c: Do not include
36613         <kernel-features.h>.
36614         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
36615         conditional variable definition.
36616         (__futimes): Update comment.
36617         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
36618         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
36620         [BZ #16560]
36621         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
36622         arguments close to 0.
36623         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
36624         Likewise.
36625         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
36626         Likewise.
36627         * math/auto-libm-test-in: Add more tests of exp10.
36628         * math/auto-libm-test-out: Regenerated.
36629         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36631         * sysdeps/unix/sysv/linux/kernel-features.h
36632         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
36633         * sysdeps/unix/sysv/linux/readv.c: Do not include
36634         <kernel-features.h>.
36635         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
36636         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
36637         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
36638         unconditional.
36639         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
36640         conditional code.
36641         * sysdeps/unix/sysv/linux/writev.c: Do not include
36642         <kernel-features.h>.
36643         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
36644         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
36645         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
36646         unconditional.
36647         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
36648         conditional code.
36650 2014-06-25  Will Newton  <will.newton@linaro.org>
36652         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
36653         comment changes throughout the file.  Remove checks
36654         for HAVE_*_H definitions that are not required.
36655         (__gen_tempname): Call abort if an unknown kind value is
36656         passed.
36658 2014-06-25  Andreas Schwab  <schwab@suse.de>
36660         [BZ #17086]
36661         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
36662         scalbln, scalblnf, scalblnl in libc.
36664 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36666         [BZ #17086]
36667         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
36668         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
36669         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
36671 2014-06-24  Roland McGrath  <roland@hack.frob.com>
36673         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
36674         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
36675         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
36676         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
36677         Update #include.
36678         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
36679         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
36680         Update #include.
36681         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
36682         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
36683         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
36684         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
36685         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
36686         * sysdeps/x86/bits/pthreadtypes.h: ... here.
36687         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
36688         * sysdeps/x86/bits/semaphore.h: ... here.
36689         * sysdeps/x86/nptl/elide.h: Moved ...
36690         * sysdeps/x86/elide.h: ... here.
36691         * sysdeps/x86_64/nptl/Implies: File removed.
36692         * sysdeps/i386/nptl/Implies: File removed.
36694 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
36696         [BZ #16539]
36697         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
36698         return the argument for normal arguments with exponent below -64.
36699         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
36700         Likewise.
36701         * math/auto-libm-test-in: Add another test of expm1.
36702         * math/auto-libm-test-out: Regenerated.
36704         [BZ #16287]
36705         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
36706         calling __erfcl for arguments at least 16.
36707         * math/auto-libm-test-in: Add more tests of erf.
36708         * math/auto-libm-test-out: Regenerated.
36710         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
36711         individual architectures.
36712         * sysdeps/unix/sysv/linux/configure: Regenerated.
36713         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
36714         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
36715         * sysdeps/unix/sysv/linux/powerpc/configure.ac
36716         (ldd_rewrite_script): Define variable.
36717         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
36719         file.
36720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
36721         generated file.
36722         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
36723         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
36724         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
36725         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
36726         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
36727         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
36728         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
36729         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
36731 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36733         [BZ #17084]
36734         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
36735         Rename member __data.d to __data.__elision_data.
36737 2014-06-24  Wilco  <wdijkstr@arm.com>
36739         * NEWS: Add 16918 to fixed bug list.
36741 2014-06-24  Wilco  <wdijkstr@arm.com>
36743         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
36745 2014-06-24  Wilco  <wdijkstr@arm.com>
36747         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
36748         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
36749         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
36750         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
36751         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
36752         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
36753         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
36754         Use _FPU_MASK_RM.
36756 2014-06-24  Wilco  <wdijkstr@arm.com>
36758         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
36760 2014-06-24  Wilco  <wdijkstr@arm.com>
36762         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
36763         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
36764         * sysdeps/arm/fesetround.c (fesetround): Remove space.
36765         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
36767 2014-06-24  Wilco  <wdijkstr@arm.com>
36769         [BZ #16918]
36770         * sysdeps/arm/feupdateenv.c (feupdateenv):
36771         Rewrite to reduce FPSCR accesses and fix return value.
36773 2014-06-24  Wilco  <wdijkstr@arm.com>
36775         * sysdeps/arm/fclrexcpt.c (feclearexcept):
36776         Optimize to avoid unnecessary FPSCR writes.
36777         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
36778         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
36779         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
36780         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
36782 2014-06-24  Wilco  <wdijkstr@arm.com>
36784         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
36785         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
36786         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
36787         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
36788         Call libc_fetestexcept_vfp.
36789         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
36790         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
36791         __SOFTFP__ ifdef so that they can be built for softfp.
36793 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36795         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
36796         argument type signed char.
36798         * Makerules (check-abi): Dump diff of symlist if the test
36799         fails.
36801 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36803         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
36804         using abort.
36806         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
36807         Remove unused variable ST.
36809 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
36811         [BZ #16354]
36812         [BZ #17061]
36813         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
36814         small arguments before calling __expm1.
36815         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
36816         small arguments before calling __expm1f.
36817         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
36818         small arguments before calling __expm1l.
36819         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
36820         Likewise.
36821         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
36822         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
36823         spurious underflow for some cosh tests.
36824         * math/auto-libm-test-out: Regenerated.
36825         * sysdeps/i386/fpu/libm-test-ulps: Update.
36827         [BZ #17050]
36828         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
36829         (__ieee754_y1): Set errno if return value overflows.
36830         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
36831         (__ieee754_y1f): Set errno if return value overflows.
36832         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
36833         (__ieee754_y1l): Set errno if return value overflows.
36834         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
36835         (__ieee754_y1l): Set errno if return value overflows.
36836         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
36837         * math/auto-libm-test-out: Regenerated.
36839         * math/gen-auto-libm-tests.c: Document use of
36840         ignore-zero-inf-sign.
36841         (input_flag_type): Add value flag_ignore_zero_inf_sign.
36842         (input_flags): Add ignore-zero-inf-sign.
36843         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
36844         * math/gen-libm-test.pl (generate_testfile): Handle
36845         ignore-zero-inf-sign.
36846         * math/auto-libm-test-in: Mark some cpow tests with
36847         ignore-zero-inf-sign and some with xfail-rounding.
36848         * math/auto-libm-test-out: Regenerated.
36849         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
36850         * sysdeps/i386/fpu/libm-test-ulps: Update.
36851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36853         [BZ #16315]
36854         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
36855         overflowing or underflowing operations take place with sign of
36856         result.
36857         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36858         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
36859         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
36860         (__ieee754_pow): Recompute overflowing and underflowing results in
36861         original rounding mode.
36862         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
36863         (__powl_helper): Allow negative argument X and scale negated value
36864         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
36865         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
36866         overflowing or underflowing operations take place with sign of
36867         result.
36868         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
36869         Include <math.h>.
36870         * math/auto-libm-test-in: Add more tests of pow.
36871         * math/auto-libm-test-out: Regenerated.
36872         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
36873         (pow_tonearest_test_data): Remove.
36874         (pow_test_tonearest): Likewise.
36875         (pow_towardzero_test_data): Likewise.
36876         (pow_test_towardzero): Likewise.
36877         (pow_downward_test_data): Likewise.
36878         (pow_test_downward): Likewise.
36879         (pow_upward_test_data): Likewise.
36880         (pow_test_upward): Likewise.
36881         (main): Don't call removed functions.
36882         * sysdeps/i386/fpu/libm-test-ulps: Update.
36883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36885 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
36888         Moved ...
36889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
36890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36891         Moved ...
36892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
36893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36894         Moved ...
36895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
36896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36897         Moved ...
36898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
36899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36900         File removed.
36901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36902         File removed.
36903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
36904         File removed.
36905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
36906         File removed.
36907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
36908         File removed.
36909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
36910         File removed.
36911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
36912         File removed.
36913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36914         File removed.
36915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
36916         File removed.
36917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36918         File removed.
36919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
36920         File removed.
36921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
36922         File removed.
36923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
36924         Moved ...
36925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
36926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
36927         Moved ...
36928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
36929         ... here.
36930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
36931         Moved ...
36932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
36933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
36934         Moved ...
36935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
36936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
36937         Moved ...
36938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
36939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
36940         Moved ...
36941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
36942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
36943         Moved ...
36944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
36945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
36946         Moved ...
36947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
36948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
36949         Moved ...
36950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
36951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
36952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
36953         ... here.
36954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
36955         Moved ...
36956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
36957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
36958         Moved ...
36959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
36960         ... here.
36961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
36962         Moved ...
36963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
36964         ... here.
36965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
36966         Moved ...
36967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
36968         ... here.
36969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36970         Moved ...
36971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
36972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
36973         Moved ...
36974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
36975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
36976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
36977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
36978         Moved ...
36979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
36980         ... here.
36981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36982         Moved ...
36983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
36984         ... here.
36985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
36986         Moved ...
36987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
36988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36989         Moved ...
36990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
36991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
36992         Moved ...
36993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
36994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36995         Moved ...
36996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
36997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
36998         Moved ...
36999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
37000         ... here.
37001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37002         Moved ...
37003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
37004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
37005         Moved ...
37006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
37007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37008         Moved ...
37009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
37010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
37011         Moved ...
37012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
37013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
37014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
37015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
37016         Moved ...
37017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
37018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37019         Moved ...
37020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
37021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
37022         Moved ...
37023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
37024         ... here.
37025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37026         Moved ...
37027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
37028         ... here.
37029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
37030         Moved ...
37031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
37032         ... here.
37033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37034         Moved ...
37035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
37036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
37037         Moved ...
37038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
37039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37040         Moved ...
37041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
37042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
37043         Moved ...
37044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
37045         ... here.
37046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37047         Moved ...
37048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
37049         ... here.
37050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
37051         Moved ...
37052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
37053         ... here.
37054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37055         Moved ...
37056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
37057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37058         Moved ...
37059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
37061 2014-06-23  Will Newton  <will.newton@linaro.org>
37062             Wilco  <wdijkstr@arm.com>
37064         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
37065         implementation.  Include get-rounding-mode.h.
37066         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
37067         [!libc_feholdsetround_noex_ctx]: Define
37068         libc_feholdsetround_noex_ctx.
37069         [!libc_feholdsetround_noexf_ctx]: Define
37070         libc_feholdsetround_noexf_ctx.
37071         [!libc_feholdsetround_noexl_ctx]: Define
37072         libc_feholdsetround_noexl_ctx.
37073         (libc_feholdsetround_ctx): New function.
37074         (libc_feresetround_ctx): New function.
37075         (libc_feholdsetround_noex_ctx): New function.
37076         (libc_feresetround_noex_ctx): New function.
37078 2014-06-23  Roland McGrath  <roland@hack.frob.com>
37080         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
37081         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
37082         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
37083         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
37084         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
37085         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
37087         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
37088         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
37089         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
37090         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
37091         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
37092         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
37093         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
37094         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
37095         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
37096         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
37097         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
37098         Moved ...
37099         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
37100         ... here.
37101         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
37102         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
37103         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
37104         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
37105         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
37106         Moved ...
37107         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
37108         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
37109         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
37110         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
37111         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
37112         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
37113         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
37114         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
37115         Moved ...
37116         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
37117         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
37118         Moved ...
37119         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
37120         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
37121         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
37122         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
37123         Moved ...
37124         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
37125         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
37126         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
37127         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
37128         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
37129         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
37130         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
37131         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
37132         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
37133         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
37134         Moved ...
37135         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
37136         ... here.
37137         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
37138         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
37139         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
37140         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
37141         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
37142         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
37143         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
37144         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
37145         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
37146         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
37147         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
37148         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
37149         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
37150         Moved ...
37151         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
37152         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
37153         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
37154         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
37155         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
37156         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
37157         Moved ...
37158         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
37159         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
37160         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
37161         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
37162         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
37164         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
37165         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
37166         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
37167         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
37168         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
37169         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
37170         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
37171         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
37172         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
37173         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
37174         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
37175         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
37176         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
37177         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
37178         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
37179         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
37180         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
37181         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
37182         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
37183         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
37184         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
37185         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
37186         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
37187         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
37188         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
37189         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
37190         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
37191         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
37193 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
37195         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
37196         (FALLOC_FL_COLLAPSE_RANGE): New macro.
37197         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
37198         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
37199         (IPV6_PMTUDISC_INTERFACE): Likewise.
37200         (IPV6_PMTUDISC_OMIT): Likewise.
37202 2014-06-23  Andreas Schwab  <schwab@suse.de>
37204         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
37205         Remove unused errout label.
37207 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37209         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
37210         macro: hardware supports Vector Crypto instructions.
37212 2014-06-23  Will Newton  <will.newton@linaro.org>
37214         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
37215         rather than __builtin_expect.
37217         * elf/dl-lookup.c (undefined_msg): Remove variable.
37218         (_dl_lookup_symbol_x): Replace undefined_msg with string
37219         literal.
37221         * elf/dl-lookup.c (do_lookup_unique): New function.
37222         (do_lookup_x): Move STB_GNU_UNIQUE handling code
37223         to a separate function.
37225 2014-06-23  Andreas Schwab  <schwab@suse.de>
37227         [BZ #17079]
37228         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
37229         before reading the next line.
37231 2014-06-23  Will Newton  <will.newton@linaro.org>
37233         * test-skeleton.c (signal_handler): Use printf and %m
37234         rather than perror.  Use printf rather than fprintf to
37235         stderr.  Use puts rather than fputs to stderr.
37236         (main): Likewise.
37238 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
37240         * nscd/nscd.c (thread_info_t): Remove typedef.
37241         (thread_info): Remove variable.
37243 2014-06-21  Allan McRae  <allan@archlinux.org>
37245         * NEWS: Mention CVE-2014-4043.
37247 2014-06-20  Roland McGrath  <roland@hack.frob.com>
37249         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
37250         * nptl/smp.h: ... here.
37252         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
37254         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
37255         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
37256         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
37257         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
37259         * nptl/allocatestack.c: Include <stack-aliasing.h>.
37260         * nptl/stack-aliasing.h: New file.
37261         * sysdeps/i386/i686/stack-aliasing.h: New file.
37262         * sysdeps/i386/i686/nptl/Makefile: File removed.
37263         * sysdeps/x86_64/stack-aliasing.h: New file.
37264         * sysdeps/x86_64/nptl/Makefile
37265         (CFLAGS-pthread_create.c): Variable removed.
37267         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
37268         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
37269         old file.
37270         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
37271         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
37272         old file.
37274 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
37276         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37277         (__ASSUME_SIGFRAME_V2): Remove macro.
37278         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
37279         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
37280         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
37281         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
37282         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
37283         Declare as function.  Remove conditional macro definitions.
37284         (__default_rt_sa_restorer): Likewise.
37285         (__default_sa_restorer_v1): Remove declaration.
37286         (__default_sa_restorer_v2): Likewise.
37287         (__default_rt_sa_restorer_v1): Likewise.
37288         (__default_rt_sa_restorer_v2): Likewise.
37289         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
37290         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
37291         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
37293 2014-06-20  Roland McGrath  <roland@hack.frob.com>
37295         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
37296         (libpthread-routines): Add sysdep.
37297         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
37298         * sysdeps/unix/sysv/linux/sparc/Versions
37299         (libpthread: GLIBC_2.3.3): New version set.
37300         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
37301         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
37302         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
37303         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
37304         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
37305         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
37306         Moved ...
37307         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
37308         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
37309         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
37310         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
37311         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
37312         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
37313         * sysdeps/sparc/nptl/sem_init.c: ... here.
37314         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
37315         * sysdeps/sparc/nptl/sem_post.c: ... here.
37316         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
37317         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
37318         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
37319         * sysdeps/sparc/nptl/sem_wait.c: ... here.
37320         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
37321         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
37322         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
37323         (libpthread-routines): Add cpu_relax.
37324         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
37325         File removed.
37326         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
37327         (librt: GLIBC_2.3.3): New version set.
37328         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
37329         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
37330         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
37331         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
37332         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
37333         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
37334         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
37335         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
37336         Moved ...
37337         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
37338         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
37339         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
37340         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
37341         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
37342         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
37343         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
37344         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
37345         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
37346         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
37347         Moved ...
37348         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
37349         Update #include.
37350         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
37351         Moved ...
37352         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
37353         Update #include.
37354         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
37355         Moved ...
37356         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
37357         Update #include.
37358         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
37359         Moved ...
37360         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
37361         Update #include.
37362         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
37363         Moved ...
37364         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
37365         Update #include.
37366         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
37367         Moved ...
37368         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
37369         Update #include.
37370         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
37371         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
37372         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
37373         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
37374         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
37375         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
37376         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
37377         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
37378         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
37379         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
37380         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
37381         Moved ...
37382         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
37383         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
37384         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
37385         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
37386         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
37388 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
37390         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
37391         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
37392         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
37393         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
37394         * nscd/nscd.c: Likewise.
37395         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
37396         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
37397         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
37398         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
37400         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
37401         <kernel-features.h>.
37402         (init_mq_netlink): Remove conditional have_sock_cloexec
37403         definitions.  Remove code conditional on have_sock_cloexec < 0.
37404         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
37405         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
37406         * sysdeps/unix/sysv/linux/opensock.c: Do not include
37407         <kernel-features.h>.
37408         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
37409         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
37411 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
37413         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37414         Add tests for memset_chk and memset.
37416         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
37417         with AVX2_Usable.
37419 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
37421         [BZ #16046]
37422         * elf/tst-dl-iter-static.c: New file.
37423         * elf/Makefile (tests-static): Add tst-dl-iter-static.
37425         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
37426         error.
37428 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
37430         * sysdeps/unix/sysv/linux/kernel-features.h
37431         (__ASSUME_F_GETOWN_EX): Remove macro.
37432         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
37433         <kernel-features.h>.
37434         (miss_F_GETOWN_EX): Remove variable or macro.
37435         (do_fcntl): Do not check miss_F_GETOWN_EX.
37436         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
37438         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
37439         Remove macro.
37440         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
37441         [!__ASSUME_AT_RANDOM]: Remove conditional code.
37442         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
37444         * sysdeps/unix/sysv/linux/kernel-features.h
37445         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
37446         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
37447         [ADJ_OFFSET_SS_READ]: Make code unconditional.
37448         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
37450 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
37452         [BZ #17075]
37453         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
37454         Fix calculation of the symbol's value.
37455         * sysdeps/arm/tst-armtlsdescloc.c: New file.
37456         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
37457         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
37458         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
37459         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
37460         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
37461         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
37462         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
37463         (modules-names): Add `tst-armtlsdescmod',
37464         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
37465         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
37466         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
37467         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
37468         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
37469         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
37470         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
37471         ($(objpfx)tst-armtlsdescloc): New dependency.
37472         ($(objpfx)tst-armtlsdescextnow): Likewise.
37473         ($(objpfx)tst-armtlsdescextlazy): Likewise.
37474         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
37475         TLS scheme support.
37476         * sysdeps/arm/configure: Regenerate.
37478 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
37480         * include/fcntl.h (__atfct_seterrno): Remove prototype.
37481         (__atfct_seterrno_2): Likewise.
37482         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
37483         <kernel-features.h>.
37484         (__ASSUME_ATFCTS): Do not undefine and redefine.
37485         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
37486         (__have_atfcts): Remove conditional definition.
37487         (__fxstatat([__NR_fstatat64]: Make code unconditional.
37488         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
37489         unreachable if [__ASSUME_ATFCTS].
37490         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
37491         not undefine and redefine.
37492         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
37493         <kernel-features.h>.
37494         (faccessat) [__NR_faccessat]: Make code unconditional.
37495         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
37496         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
37497         <kernel-features.h>.
37498         (fchmodat) [__NR_fchmodat]: Make code unconditional.
37499         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
37500         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
37501         <kernel-features.h>.
37502         (fchownat) [__NR_fchownat]: Make code unconditional.
37503         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
37504         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
37505         <kernel-features.h>.
37506         (futimesat) [__NR_futimesat]: Make code unconditional.
37507         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
37508         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37509         <kernel-features.h>.
37510         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
37511         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
37512         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37513         <kernel-features.h>.
37514         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
37515         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
37516         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
37517         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37518         <kernel-features.h>.
37519         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
37520         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
37521         * sysdeps/unix/sysv/linux/linkat.c: Do not include
37522         <kernel-features.h>.
37523         (linkat) [__NR_linkat]: Make code unconditional.
37524         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
37525         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
37526         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
37527         <kernel-features.h>.
37528         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
37529         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
37530         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
37531         <kernel-features.h>.
37532         (mkdirat) [__NR_mkdirat]: Make code unconditional.
37533         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
37534         * sysdeps/unix/sysv/linux/openat.c: Do not include
37535         <kernel-features.h>.
37536         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
37537         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
37538         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
37539         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
37540         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
37541         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
37542         <kernel-features.h>.
37543         (readlinkat) [__NR_readlinkat]: Make code unconditional.
37544         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
37545         result of INLINE_SYSCALL directly, not via int variable.
37546         * sysdeps/unix/sysv/linux/renameat.c: Do not include
37547         <kernel-features.h>.
37548         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
37549         (renameat) [__NR_renameat]: Make code unconditional.
37550         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
37551         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
37552         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
37553         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
37554         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
37555         (__ASSUME_ATFCTS): Do not undefine and redefine.
37556         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
37557         <kernel-features.h>.
37558         (symlinkat) [__NR_symlinkat]: Make code unconditional.
37559         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
37560         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
37561         <kernel-features.h>.
37562         (unlinkat) [__NR_unlinkat]: Make code unconditional.
37563         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
37564         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
37565         (__ASSUME_ATFCTS): Do not undefine and redefine.
37566         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37567         <kernel-features.h>.
37568         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
37569         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
37570         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37571         <kernel-features.h>.
37572         (__xmknodat) [__NR_mknodat]: Make code unconditional.
37573         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
37575 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
37577         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
37579 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
37581         [BZ #17069]
37582         * posix/regcomp.c (parse_reg_exp): Deallocate partially
37583         constructed tree before returning error.
37584         * posix/bug-regexp36.c: Expand test case.
37586 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
37588         [BZ #6803]
37589         * math/libm-test.inc (scalbln_test_date):
37590         Add errno expectations.
37591         * math/w_scalblnf.c: New File.
37592         Add wrapper which checks for setting errno to ERANGE.
37593         Add weak_alias for corresponding scalbln function.
37594         * math/w_scalbln.c: Likewise.
37595         * math/w_scalblnl.c: Likewise.
37596         * math/Makefile (libm-calls): Add w_scalbln.
37597         * sysdeps/ieee754/flt-32/s_scalblnf.c:
37598         Remove weak_alias for corresponding scalbln function.
37599         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37600         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37601         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37602         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37603         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
37604         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
37605         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
37606         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
37607         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
37608         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
37609         Remove long_double_symbol for scalblnl function in libm, libc.
37610         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
37611         Add wrapper which checks for setting errno to ERANGE.
37612         Add long_double_symbol for scalblnl function in libm, libc.
37613         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
37614         Remove long_double_symbol for scalblnl in libm.
37615         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
37616         Add wrapper which checks for setting errno to ERANGE.
37617         Add long_double_symbol for scalblnl function in libm.
37618         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
37619         Do not use wrapper because of own implementation.
37621 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
37623         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
37624         3 bytes for __pad1 for x32.
37625         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
37627 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
37628             H.J. Lu  <hongjiu.lu@intel.com>
37630         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
37631         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
37632         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37633         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37634         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
37636 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
37638         [BZ #17069]
37639         * posix/regcomp.c (parse_expression): Deallocate partially
37640         constructed tree before returning error.
37641         * posix/Makefile.c (tests): Add bug-regex36.
37642         (generated): Add bug-regex36.mtrace.
37643         (tests-special): Add $(objpfx)bug-regex36-mem.out
37644         (bug-regex36-ENV): New variable.
37645         ($(objpfx)bug-regex36-mem.out): New rule.
37646         * posix/bug-regex36.c: New file.
37648 2014-06-19  Will Newton  <will.newton@linaro.org>
37650         * malloc/malloc.c (systrim): If extra is zero then return
37651         early.
37653 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37655         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
37657 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
37659         * sysdeps/aarch64/strchr.S: New file.
37661 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
37663         [BZ #17022]
37664         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
37665         from arguments -2 or below.
37666         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
37667         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
37669 2014-06-18  Andreas Schwab  <schwab@suse.de>
37671         [BZ #17062]
37672         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
37673         of a bracket expr not to run off the end of the string.
37674         * posix/Makefile (tests): Add tst-fnmatch3.
37675         * posix/tst-fnmatch3.c: New file.
37677 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
37679         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
37680         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37681         [$(cross-compiling) = no]: Likewise.
37682         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37683         [$(cross-compiling) = no]: Likewise.
37685 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37687         [BZ #17031]
37688         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
37689         double, adjusted for any remainder from the high double.
37690         * math/libm-test.inc (nearbyint): Add tests.
37691         (rint): Likewise.
37693 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37695         * nptl/sysdeps/powerpc/Makefile: Moved ...
37696         * sysdeps/powerpc/nptl/Makefile: ... here.
37697         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
37698         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
37699         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
37700         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
37701         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
37702         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
37703         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
37704         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
37705         * nptl/sysdeps/powerpc/tls.h: Moved ...
37706         * sysdeps/powerpc/nptl/tls.h: ... here.
37708 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
37710         [BZ #16681]
37711         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
37712         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
37713         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
37714         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
37715         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
37716         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
37717         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
37718         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
37719         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
37721 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
37723         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
37725 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
37727         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
37728         defined operator.
37730         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
37731         $TIMEOUTFACTOR.
37733 2014-06-16  Florian Weimer  <fweimer@redhat.com>
37735         [BZ #17058]
37736         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
37737         non-executed part of the test.
37739 2014-06-16  Andreas Schwab  <schwab@suse.de>
37741         * string/bits/string2.h (strdup, strndup): Update feature guard.
37743 2014-06-14  David S. Miller  <davem@davemloft.net>
37745         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37747 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
37749         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
37750         that was previously under [RESET_PID].
37751         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
37753         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
37754         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
37755         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
37756         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37757         (__libc_vfork): New strong alias.
37758         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
37760 2014-06-14 Andi Kleen  <ak@linux.intel.com>
37762         * sysdeps/generic/elide.h: New file.
37764 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37766         * Makefile (installed-headers): Adjust path of pthread.h header.
37768 2014-06-13  Roland McGrath  <roland@hack.frob.com>
37770         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
37771         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
37772         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
37773         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
37775         * nptl/sysdeps/s390/Makefile: Moved ...
37776         * sysdeps/s390/nptl/Makefile: ... here.
37777         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
37778         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
37779         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
37780         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
37781         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
37782         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
37783         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
37784         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
37785         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
37786         * sysdeps/s390/nptl/pthreaddef.h: ... here.
37787         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
37788         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
37789         * nptl/sysdeps/s390/tls.h: Moved ...
37790         * sysdeps/s390/nptl/tls.h: ... here.
37792         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
37793         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
37795 2014-06-13  David S. Miller  <davem@davemloft.net>
37797         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
37798         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
37799         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
37800         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
37801         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
37802         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
37803         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
37804         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
37805         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
37806         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
37807         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
37808         Remove RESET_PID cpp guards.
37809         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
37810         Remove RESET_PID cpp guards.
37811         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
37813 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
37815         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
37816         __sp to uintptr_t.
37818 2014-06-13  Andi Kleen  <ak@linux.intel.com>
37820         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
37821         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
37822         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
37823         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
37824         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
37825         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
37826         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
37827         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
37828         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
37829         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
37830         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
37831         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
37832         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
37833         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
37834         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
37835         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
37836         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
37837         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
37838         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
37839         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
37841         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
37842         (pthread_rwlock_rdlock): Add elision.
37843         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
37844         (pthread_rwlock_wrlock): Add elision.
37845         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
37846         (pthread_rwlock_trywrlock): Add elision.
37847         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
37848         (pthread_rwlock_tryrdlock): Add elision.
37849         * nptl/pthread_rwlock_unlock.c: Include elide.h.
37850         (pthread_rwlock_tryrdlock): Add elision unlock.
37851         * nptl/sysdeps/pthread/pthread.h:
37852         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
37853         (PTHREAD_RWLOCK_INITIALIZER,
37854         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
37855         Handle new elision field.
37856         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
37857         * sysdeps/arm/nptl/bits/pthreadtypes.h
37858         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37859         * sysdeps/sh/nptl/bits/pthreadtypes.h
37860         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37861         * sysdeps/tile/nptl/bits/pthreadtypes.h
37862         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37863         * sysdeps/a/nptl/bits/pthreadtypes.h
37864         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37865         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37866         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37867         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37868         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37869         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
37870         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37871         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37872         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37873         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37874         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37875         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37876         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37877         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37878         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37879         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
37880         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37881         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
37882         (elision_init): Set try_xbegin to zero when no RTM.
37883         * sysdeps/x86/nptl/bits/pthreadtypes.h
37884         (pthread_rwlock_t): Change __pad1 to __rwelision.
37885         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37887 2014-06-13  Andi Kleen  <ak@linux.intel.com>
37889         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
37890         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
37891         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
37892         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
37894 2014-06-13  Meador Inge  <meadori@codesourcery.com>
37896         [BZ #16996]
37897         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
37898         that the cached result has been set before returning it.
37900 2014-06-12  Roland McGrath  <roland@hack.frob.com>
37902         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
37903         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
37904         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
37905         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
37906         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
37907         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
37909         * nptl/sysdeps/sparc/Makefile: Moved ...
37910         * sysdeps/sparc/nptl/Makefile: ... here.
37911         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
37912         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
37913         * nptl/sysdeps/sparc/tls.h: Moved ...
37914         * sysdeps/sparc/nptl/tls.h: ... here.
37915         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
37916         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
37917         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
37918         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
37919         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
37920         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
37921         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
37922         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
37923         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
37924         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
37925         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
37926         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
37927         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
37928         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
37929         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
37930         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
37931         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
37932         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
37933         Update #include.
37934         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
37935         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
37936         Update #include.
37937         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
37938         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
37939         Update #include.
37940         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
37941         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
37942         Update #include.
37944         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
37946         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
37947         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
37949         * sysdeps/pthread/posix-timer.h: Include <list.h>.
37950         (struct list_links): Type removed.
37951         (struct thread_node, struct timer_node): Replace struct list_links
37952         with struct list_head.
37953         (list_unlink_ip): Likewise.
37954         * sysdeps/pthread/timer_routines.c
37955         (timer_free_list, thread_free_list, thread_active_list): Likewise.
37956         (list_append, list_insbefore): Likewise.
37957         (list_init): Function removed.
37958         (thread_init, init_module): Use INIT_LIST_HEAD instead.
37959         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
37960         * sysdeps/pthread/Makefile: ... here, new file.
37962         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
37963         * sysdeps/nptl/Implies: ... here.
37964         * sysdeps/unix/sysv/linux/Implies: Add nptl.
37965         * nptl/sysdeps/pthread/list.h: Moved ...
37966         * include/list.h: ... here.
37967         * nptl/sysdeps/pthread/createthread.c: Moved ...
37968         * nptl/createthread.c: ... here.
37969         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
37970         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
37971         * nptl/pt-longjmp.c: ... here.
37972         * nptl/sysdeps/pthread/Makefile: Moved ...
37973         * sysdeps/nptl/Makefile: ... here.
37974         * nptl/sysdeps/pthread/Subdirs: Moved ...
37975         * sysdeps/nptl/Subdirs: ... here.
37976         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
37977         * sysdeps/nptl/aio_misc.h: ... here.
37978         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
37979         * sysdeps/nptl/bits/libc-lock.h: ... here.
37980         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
37981         * sysdeps/nptl/bits/libc-lockP.h: ... here.
37982         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
37983         * sysdeps/nptl/bits/stdio-lock.h: ... here.
37984         * nptl/sysdeps/pthread/configure: Moved ...
37985         * sysdeps/nptl/configure: ... here.
37986         * nptl/sysdeps/pthread/configure.ac: Moved ...
37987         * sysdeps/nptl/configure.ac: ... here.
37988         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
37989         * sysdeps/nptl/gai_misc.h: ... here.
37990         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
37991         * sysdeps/nptl/librt-cancellation.c: ... here.
37992         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
37993         * sysdeps/nptl/malloc-machine.h: ... here.
37994         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
37995         * sysdeps/nptl/pthread-functions.h: ... here.
37996         * nptl/sysdeps/pthread/pthread.h: Moved ...
37997         * sysdeps/nptl/pthread.h: ... here.
37998         * nptl/sysdeps/pthread/setxid.h: Moved ...
37999         * sysdeps/nptl/setxid.h: ... here.
38000         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
38001         * sysdeps/nptl/sigfillset.c: ... here.
38002         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
38003         * sysdeps/nptl/tcb-offsets.h: ... here.
38004         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
38005         * sysdeps/nptl/tst-mqueue8x.c: ... here.
38006         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
38007         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
38008         * nptl/sysdeps/pthread/allocalim.h: Moved ...
38009         * sysdeps/pthread/allocalim.h: ... here.
38010         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
38011         * sysdeps/pthread/bits/sigthread.h: ... here.
38012         * nptl/sysdeps/pthread/flockfile.c: Moved ...
38013         * sysdeps/pthread/flockfile.c: ... here.
38014         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
38015         * sysdeps/pthread/ftrylockfile.c: ... here.
38016         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
38017         * sysdeps/pthread/funlockfile.c: ... here.
38018         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
38019         * sysdeps/pthread/posix-timer.h: ... here.
38020         * nptl/sysdeps/pthread/timer_create.c: Moved ...
38021         * sysdeps/pthread/timer_create.c: ... here.
38022         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
38023         * sysdeps/pthread/timer_delete.c: ... here.
38024         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
38025         * sysdeps/pthread/timer_getoverr.c: ... here.
38026         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
38027         * sysdeps/pthread/timer_gettime.c: ... here.
38028         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
38029         * sysdeps/pthread/timer_routines.c: ... here.
38030         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
38031         * sysdeps/pthread/timer_settime.c: ... here.
38032         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
38033         * sysdeps/pthread/tst-timer.c: ... here.
38034         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
38035         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
38037         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
38038         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
38040         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
38041         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
38042         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
38043         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
38044         Update #include target.
38045         * nptl/sysdeps/i386/i686/Makefile: Moved ...
38046         * sysdeps/i386/i686/nptl/Makefile: ... here.
38047         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
38048         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
38049         Update #include target.
38050         * nptl/sysdeps/i386/i686/tls.h: Moved ...
38051         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
38052         * nptl/sysdeps/i386/Makefile: Moved ...
38053         * sysdeps/i386/nptl/Makefile: ... here.
38054         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
38055         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
38056         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
38057         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
38058         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
38059         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
38060         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
38061         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
38062         * sysdeps/i386/nptl/pthreaddef.h: ... here.
38063         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
38064         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
38065         * nptl/sysdeps/i386/tls.h: Moved ...
38066         * sysdeps/i386/nptl/tls.h: ... here.
38068         * sysdeps/sh/Makefile [$(subdir) = csu]
38069         (gen-as-const-headers): Add tcb-offsets.sym.
38070         * nptl/sysdeps/sh/Makefile: File removed.
38071         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
38072         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
38073         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
38074         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
38075         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
38076         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
38077         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
38078         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
38079         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
38080         * sysdeps/sh/nptl/pthreaddef.h: ... here.
38081         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
38082         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
38083         * nptl/sysdeps/sh/tls.h: Moved ...
38084         * sysdeps/sh/nptl/tls.h: ... here.
38085         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
38086         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
38087         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
38088         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
38089         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
38090         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
38091         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
38092         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
38093         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
38094         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
38095         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
38096         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
38097         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
38098         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
38099         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
38100         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
38101         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
38102         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
38103         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
38104         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
38105         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
38106         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
38107         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
38108         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
38109         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
38110         Moved ...
38111         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
38112         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
38113         Moved ...
38114         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
38115         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
38116         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
38117         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
38118         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
38119         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
38120         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
38121         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
38122         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
38123         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
38124         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
38125         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
38126         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
38127         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
38128         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
38129         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
38130         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
38131         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
38132         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
38134 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38136         * posix/spawn_faction_addopen.c: Include string.h.
38138 2014-06-11  Roland McGrath  <roland@hack.frob.com>
38140         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
38141         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
38142         * nptl/sysdeps/x86_64/Makefile: Moved ...
38143         * sysdeps/x86_64/nptl/Makefile: ... here.
38144         * nptl/sysdeps/x86_64/configure: Moved ...
38145         * sysdeps/x86_64/nptl/configure: ... here.
38146         * nptl/sysdeps/x86_64/configure.ac: Moved ...
38147         * sysdeps/x86_64/nptl/configure.ac: ... here.
38148         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
38149         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
38150         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
38151         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
38152         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
38153         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
38154         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
38155         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
38156         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
38157         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
38158         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
38159         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
38160         * nptl/sysdeps/x86_64/tls.h: Moved ...
38161         * sysdeps/x86_64/nptl/tls.h: ... here.
38162         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
38163         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
38164         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
38165         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
38167         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
38169 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38171         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38173 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
38175         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
38176         type.
38177         [POSIX] (off_t): Likewise.
38178         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
38179         [POSIX] (S_ISBLK): Require macro.
38180         [POSIX] (S_ISCHR): Likewise.
38181         [POSIX] (S_ISDIR): Likewise.
38182         [POSIX] (S_ISFIFO): Likewise.
38183         [POSIX] (S_ISREG): Likewise.
38184         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
38185         optional-macro.
38186         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
38187         type.
38188         [POSIX] (time_t): Likewise.
38189         [POSIX] (timer_t): Likewise.
38191 2014-06-11  Florian Weimer  <fweimer@redhat.com>
38193         [BZ #17048]
38194         * posix/spawn_int.h (struct __spawn_action): Make the path string
38195         non-const to support deallocation.
38196         * posix/spawn_faction_addopen.c
38197         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
38198         * posix/spawn_faction_destroy.c
38199         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
38200         path in all spawn_do_open actions.
38201         * posix/tst-spawn.c (do_test): Exercise the copy operation in
38202         posix_spawn_file_actions_addopen.
38204 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
38206         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
38207         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
38208         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
38209         conditional code always true.
38210         (__libc_vfork): New alias.
38212 2014-06-11  Roland McGrath  <roland@hack.frob.com>
38214         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38215         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
38217         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
38219         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38220         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
38222         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
38223         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
38225         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38226         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
38228 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38230         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
38231         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
38232         multiarch strcmp for PPC64.
38233         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
38234         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
38235         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
38236         multiarch optimizations.
38237         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38238         (__libc_ifunc_impl_list): Likewise.
38240 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38242         * benchtests/scripts/validate_benchout.py: New script.
38243         * benchtests/Makefile (bench-func): Call it.
38244         * benchtests/scripts/benchout.schema.json: New file.
38246 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
38248         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
38249         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
38250         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
38251         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
38252         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
38253         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
38254         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
38255         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
38256         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
38257         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
38258         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
38259         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
38260         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
38261         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
38262         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
38263         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
38264         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
38265         Moved ...
38266         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
38267         ... here.
38268         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
38269         Moved ...
38270         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
38271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
38272         Moved ...
38273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
38274         ... here.
38275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
38276         Moved ...
38277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
38278         ... here.
38279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
38280         Moved ...
38281         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
38282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
38283         Moved ...
38284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
38285         ... here.
38286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
38287         Moved ...
38288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
38289         ... here.
38290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
38291         Moved ...
38292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
38293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
38294         Moved ...
38295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
38296         ... here.
38297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
38298         Moved ...
38299         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
38300         ... here.
38301         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
38302         Moved ...
38303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
38304         ... here.
38305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
38306         Moved ...
38307         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
38308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
38309         Moved ...
38310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
38311         ... here.
38312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
38313         Moved ...
38314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
38315         ... here.
38316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
38317         Moved ...
38318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
38319         ... here.
38320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
38321         Moved ...
38322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
38323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
38324         Moved ...
38325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
38326         ... here.
38327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
38328         Moved ...
38329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
38330         ... here.
38331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
38332         Moved ...
38333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
38334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
38335         Moved ...
38336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
38337         ... here.
38338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
38339         Moved ...
38340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
38341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
38342         Moved ...
38343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
38344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
38345         Moved ...
38346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
38347         ... here.
38348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
38349         Moved ...
38350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
38351         ... here.
38352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
38353         Moved ...
38354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
38355         ... here.
38356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
38357         Moved ...
38358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
38359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
38360         Moved ...
38361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
38362         ... here.
38363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
38364         Moved ...
38365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
38366         ... here.
38367         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
38368         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
38369         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
38370         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
38371         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
38372         Moved ...
38373         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
38374         ... here.
38375         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
38376         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
38377         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
38378         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
38379         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
38380         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
38381         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
38382         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
38383         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
38384         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
38385         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
38386         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
38387         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
38388         Moved ...
38389         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
38390         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
38391         Moved ...
38392         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
38393         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
38394         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
38395         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
38396         Moved ...
38397         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
38398         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
38399         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
38400         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
38401         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
38402         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
38403         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
38405 2014-06-10  Wilco  <wdijkstr@arm.com>
38407         * math/test-fenv-return.c: New file.
38408         * math/Makefile: Add new test test-fenv-return.
38410 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
38412         [BZ #17042]
38413         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
38414         when x - 1 is zero.
38415         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
38416         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
38417         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
38418         0.0L for an argument of 1.0L.
38419         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
38420         Likewise.
38421         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
38422         value when x - 1 is zero.
38423         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
38424         * sysdeps/i386/fpu/libm-test-ulps: Update.
38425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38427 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
38429         [BZ #15119]
38430         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
38432 2014-06-09  Roland McGrath  <roland@hack.frob.com>
38434         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
38435         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
38437 2014-06-09  Roland McGrath  <roland@hack.frob.com>
38439         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38440         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
38442         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38443         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
38445         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38446         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
38448         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38449         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
38451         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
38452         if not already defined.
38453         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
38454         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
38455         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
38456         (TLS_INIT_TP): Use it.
38457         (TLS_DEFINE_INIT_TP): New macro.
38458         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
38460 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
38462         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
38463         constant.
38464         [POSIX] (IXANY): Likewise.
38465         [POSIX] (OLCUC): Likewise.
38466         [POSIX || POSIX2008] (CBAUD): Do not allow.
38467         [POSIX || POSIX2008] (DEFECHO): Likewise.
38468         [POSIX || POSIX2008] (ECHOCTL): Likewise.
38469         [POSIX || POSIX2008] (ECHOKE): Likewise.
38470         [POSIX || POSIX2008] (ECHOPRT): Likewise.
38471         [POSIX || POSIX2008] (EXTA): Likewise.
38472         [POSIX || POSIX2008] (EXTB): Likewise.
38473         [POSIX || POSIX2008] (FLUSHO): Likewise.
38474         [POSIX || POSIX2008] (LOBLK): Likewise.
38475         [POSIX || POSIX2008] (PENDIN): Likewise.
38476         [POSIX || POSIX2008] (SWTCH): Likewise.
38477         [POSIX || POSIX2008] (VDISCARD): Likewise.
38478         [POSIX || POSIX2008] (VDSUSP): Likewise.
38479         [POSIX || POSIX2008] (VLNEXT): Likewise.
38480         [POSIX || POSIX2008] (VREPRINT): Likewise.
38481         [POSIX || POSIX2008] (VSTATUS): Likewise.
38482         [POSIX || POSIX2008] (VWERASE): Likewise.
38483         (B*): Change to B[0123456789]*.
38484         * conform/data/time.h-data [POSIX || UNIX98]
38485         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
38486         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
38487         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
38488         [POSIX] (tm_*): Do not allow.
38490 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
38492         * Makefile (install): Don't set LANGUAGE.
38493         * Makefile.in (install): Likewise.
38494         * assert/Makefile (test-assert-ENV): Remove variable.
38495         (test-assert-perr-ENV): Likewise.
38496         * elf/Makefile (neededtest4-ENV): Likewise.
38497         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
38498         [$(cross-compiling) = no]: Don't set LANGUAGE.
38499         * io/ftwtest-sh (LANG): Remove variable.
38500         * libio/Makefile (tst-widetext-ENV): Likewise.
38501         * manual/install.texi (Running make install): Don't refer to
38502         environment settings for make install.
38503         * INSTALL: Regenerated.
38504         * nptl/tst-tls6.sh: Don't set LANG.
38505         * posix/globtest.sh (LANG): Remove variable.
38506         * string/Makefile (tester-ENV): Likewise.
38507         (inl-tester-ENV): Likewise.
38508         (noinl-tester-ENV): Likewise.
38509         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38510         [$(cross-compiling) = no]: Don't set LANGUAGE.
38511         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
38512         without explicit environment settings.
38514 2014-06-06  Roland McGrath  <roland@hack.frob.com>
38516         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
38517         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
38518         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
38519         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
38521 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
38523         * crypt/crypt-private.h [DOS]: Add some includes taken from the
38524         other files in the crypt directory.
38525         * crypt/crypt.c: Remove duplicate includes.
38526         * crypt/crypt-entry.c: Likewise.
38527         * crypt/crypt_util.c: Likewise.
38529 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
38531         * Makeconfig (run-program-env): New variable.
38532         (run-program-prefix-before-env): Likewise.
38533         (run-program-prefix-after-env): Likewise.
38534         (run-program-prefix): Define in terms of new variables.
38535         (built-program-cmd-before-env): New variable.
38536         (built-program-cmd-after-env): Likewise.
38537         (built-program-cmd): Define in terms of new variables.
38538         (test-program-prefix-before-env): New variable.
38539         (test-program-prefix-after-env): Likewise.
38540         (test-program-prefix): Define in terms of new variables.
38541         (test-program-cmd-before-env): New variable.
38542         (test-program-cmd-after-env): Likewise.
38543         (test-program-cmd): Define in terms of new variables.
38544         * Rules (make-test-out): Use $(run-program-env).
38545         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
38546         (help): Do not mention environment variables.  Mention
38547         --timeoutfactor option.
38548         (timeoutfactor): New variable.
38549         (blacklist_exports): Remove function.
38550         (exports): Remove variable.
38551         (command): Do not include ${exports}.
38552         * manual/install.texi (Configuring and compiling): Do not mention
38553         test wrappers preserving environment variables.  Mention that last
38554         assignment to a variable must take precedence.
38555         * INSTALL: Regenerated.
38556         * benchtests/Makefile (run-bench): Use $(run-program-env).
38557         * catgets/Makefile ($(objpfx)test1.cat): Use
38558         $(built-program-cmd-before-env), $(run-program-env) and
38559         $(built-program-cmd-after-env).
38560         ($(objpfx)test2.cat): Do not specify environment variables
38561         explicitly.
38562         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
38563         $(run-program-env) and $(built-program-cmd-after-env).
38564         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
38565         $(run-program-env) and $(test-program-cmd-after-env).
38566         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
38567         explicitly.
38568         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
38569         run_program_env and test_program_cmd_after_env arguments.
38570         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
38571         * elf/tst-pathopt.sh: Use run_program_env argument.
38572         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
38573         $(test-wrapper-env) and $(run-program-env).
38574         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
38575         run_program_env arguments.
38576         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
38577         * intl/Makefile ($(objpfx)tst-gettext.out): Use
38578         $(test-program-prefix-before-env), $(run-program-env) and
38579         $(test-program-prefix-after-env).
38580         ($(objpfx)tst-gettext2.out): Likewise.
38581         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
38582         run_program_env and test_program_prefix_after_env arguments.
38583         * intl/tst-gettext2.sh: Likewise.
38584         * intl/tst-gettext4.sh: Do not set environment variables
38585         explicitly.
38586         * intl/tst-gettext6.sh: Likewise.
38587         * intl/tst-translit.sh: Likewise.
38588         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
38589         $(test-program-prefix-before-env), $(run-program-env) and
38590         $(test-program-prefix-after-env).
38591         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
38592         run_program_env and test_program_prefix_after_env arguments.
38593         * math/Makefile (run-regen-ulps): Use $(run-program-env).
38594         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
38595         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
38596         explicitly with each use of ${test_wrapper_env}.
38597         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
38598         $(test-program-prefix-before-env), $(run-program-env) and
38599         $(test-program-prefix-after-env).
38600         * posix/tst-getconf.sh: Do not set environment variables
38601         explicitly.
38602         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
38603         run_program_env and test_program_prefix_after_env arguments.
38604         * stdio-common/tst-printf.sh: Do not set environment variables
38605         explicitly.
38606         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
38607         $(test-program-prefix-before-env), $(run-program-env) and
38608         $(test-program-prefix-after-env).
38609         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
38610         run_program_env and test_program_prefix_after_env arguments.
38611         Split $test calls into $test_pre and $test.
38612         * timezone/Makefile (build-testdata): Use
38613         $(built-program-cmd-before-env), $(run-program-env) and
38614         $(built-program-cmd-after-env).
38616 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38618         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
38619         strlen for non SHARED builds.
38621 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38623         * nptl/allocatestack.c (check_list): Inlined function...
38624         (__reclaim_stacks): ... here.
38626 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
38628         [BZ #15698]
38629         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
38630         memory overrun.
38632 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
38634         * Rules (make-test-out): Include
38635         LOCPATH=$(common-objpfx)localedata in default environment.
38636         * debug/Makefile (tst-chk1-ENV): Remove variable.
38637         (tst-chk2-ENV): Likewise.
38638         (tst-chk3-ENV): Likewise.
38639         (tst-chk4-ENV): Likewise.
38640         (tst-chk5-ENV): Likewise.
38641         (tst-chk6-ENV): Likewise.
38642         (tst-lfschk1-ENV): Likewise.
38643         (tst-lfschk2-ENV): Likewise.
38644         (tst-lfschk3-ENV): Likewise.
38645         (tst-lfschk4-ENV): Likewise.
38646         (tst-lfschk5-ENV): Likewise.
38647         (tst-lfschk6-ENV): Likewise.
38648         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
38649         (tst-iconv7-ENV): Likewise.
38650         * intl/Makefile (LOCPATH-ENV): Likewise.
38651         (tst-codeset-ENV): Likewise.
38652         (tst-gettext3-ENV): Likewise.
38653         (tst-gettext5-ENV): Likewise.
38654         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
38655         (tst-fopenloc-ENV): Likewise.
38656         (tst-fgetws-ENV): Remove variable.
38657         (tst-ungetwc1-ENV): Likewise.
38658         (tst-ungetwc2-ENV): Likewise.
38659         (bug-ungetwc2-ENV): Likewise.
38660         (tst-swscanf-ENV): Likewise.
38661         (bug-ftell-ENV): Likewise.
38662         (tst-fgetwc-ENV): Likewise.
38663         (tst-fseek-ENV): Likewise.
38664         (tst-ftell-partial-wide-ENV): Likewise.
38665         (tst-ftell-active-handler-ENV): Likewise.
38666         (tst-ftell-append-ENV): Likewise.
38667         * posix/Makefile (tst-fnmatch-ENV): Likewise.
38668         (tst-regexloc-ENV): Likewise.
38669         (bug-regex1-ENV): Likewise.
38670         (tst-regex-ENV): Likewise.
38671         (tst-regex2-ENV): Likewise.
38672         (bug-regex5-ENV): Likewise.
38673         (bug-regex6-ENV): Likewise.
38674         (bug-regex17-ENV): Likewise.
38675         (bug-regex18-ENV): Likewise.
38676         (bug-regex19-ENV): Likewise.
38677         (bug-regex20-ENV): Likewise.
38678         (bug-regex22-ENV): Likewise.
38679         (bug-regex23-ENV): Likewise.
38680         (bug-regex25-ENV): Likewise.
38681         (bug-regex26-ENV): Likewise.
38682         (bug-regex30-ENV): Likewise.
38683         (bug-regex32-ENV): Likewise.
38684         (bug-regex33-ENV): Likewise.
38685         (bug-regex34-ENV): Likewise.
38686         (bug-regex35-ENV): Likewise.
38687         (tst-rxspencer-ENV): Likewise.
38688         (tst-rxspencer-no-utf8-ENV): Likewise.
38689         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
38690         (tst-sscanf-ENV): Likewise.
38691         (tst-swprintf-ENV): Likewise.
38692         (tst-swscanf-ENV): Likewise.
38693         (test-vfprintf-ENV): Likewise.
38694         (scanf13-ENV): Likewise.
38695         (bug14-ENV): Likewise.
38696         (tst-grouping-ENV): Likewise.
38697         * stdlib/Makefile (tst-strtod-ENV): Likewise.
38698         (tst-strtod3-ENV): Likewise.
38699         (tst-strtod4-ENV): Likewise.
38700         (tst-strtod5-ENV): Likewise.
38701         (testmb2-ENV): Likewise./
38702         * string/Makefile (tst-strxfrm-ENV): Likewise.
38703         (tst-strxfrm2-ENV): Likewise.
38704         (bug-strcoll1-ENV): Likewise.
38705         (test-strcasecmp-ENV): Likewise.
38706         (test-strncasecmp-ENV): Likewise.
38707         * time/Makefile (tst-strptime-ENV): Likewise.
38708         (tst-ftime_l-ENV): Likewise.
38709         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
38710         (tst-mbrtowc-ENV): Likewise.
38711         (tst-wcrtomb-ENV): Likewise.
38712         (tst-mbrtowc2-ENV): Likewise.
38713         (tst-c16c32-1-ENV): Likewise.
38714         (tst-mbsnrtowcs-ENV): Likewise.
38716 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
38718         * manual/resource.texi (How to get information about the memory
38719         subsystem?): Fix typo.
38720         Reported by Peon de la Parra Ivan <peon@keba.com>
38722 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
38724         [BZ #16882]
38725         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
38726         (pthread_spin_lock): Branch out of spin loop to proper location.
38727         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
38728         (pthread_spin_lock): Likewise.
38730         * nptl/tst-spin4.c: New test.
38731         * nptl/Makefile (tests): Add tst-spin4.
38733 2014-06-03  Andreas Schwab  <schwab@suse.de>
38735         [BZ #15946]
38736         * resolv/res_send.c (send_dg): Reload file descriptor after
38737         calling reopen.
38739 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
38741         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38743 2014-06-03  Richard Henderson  <rth@redhat.com>
38745         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
38746         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
38747         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
38748         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
38749         in the SAVE_PID block.
38750         (__libc_vfork): New alias.
38751         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
38753         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
38754         child in registers, not on the stack.  Remove RESET_PID conditionals.
38755         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
38757 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38759         * sysdeps/aarch64/libm-test-ulps: Regenerate.
38761 2014-06-03  Wilco  <wdijkstr@arm.com>
38763         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
38764         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
38765         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
38766         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
38767         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
38768         Likewise.
38770 2014-06-03  Wilco  <wdijkstr@arm.com>
38772         * sysdeps/aarch64/fpu/math_private.h
38773         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
38774         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
38775         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
38776         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
38777         Fix declarations.
38779 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38781         * crypt/crypt-private.h: Include ufc-crypt.h.
38782         (__b64_from_24bit): Declare extern.
38783         * crypt/crypt_util.c(__b64_from_24bit): New function.
38784         (b64t): New static const variable.
38785         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
38786         (b64t): Remove variable.
38787         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
38788         * crypt/sha256-crypt.c: Include crypt-private.h.
38789         (b64t): Remove variable.
38790         (__sha256_crypt_r): Remove b64_from_24bit and replace
38791         with __b64_from_24bit.
38792         * crypt/sha512-crypt.c: Likewise.
38794 2014-06-02  Roland McGrath  <roland@hack.frob.com>
38796         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
38797         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
38798         Label the code __libc_vfork rather than __vfork.
38799         [!NOT_IN_libc] (vfork): Define as weak alias.
38800         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
38801         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
38802         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
38804 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38806         * malloc/malloc.c (malloc_info): Fix format specifier for
38807         n_mmaps.
38809 2014-06-02  Wilco  <wdijkstr@arm.com>
38811         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
38812         FPCR write.
38814 2014-06-02  Wilco  <wdijkstr@arm.com>
38816         [BZ #17009]
38817         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
38818         Rewrite to reduce FPCR/FPSR accesses.
38820 2014-06-01  David S. Miller  <davem@davemloft.net>
38822         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38824 2014-05-31  David S. Miller  <davem@davemloft.net>
38826         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
38827         to occur in round to nearest mode when |x| >= 2.0
38829 2014-05-30  Richard Henderson  <rth@twiddle.net>
38831         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
38832         (PSEUDO_RET_NOERRNO): Remove.
38833         (ret): Don't redefine.
38834         (ret_NOERRNO): Define in terms of ret.
38835         (ret_ERRVAL): Likewise.
38837         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
38838         use of PSEUDO_RET; perform the error check directly.
38840 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
38842         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
38843         with __int128_t.
38845 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38847         * malloc/malloc (malloc_info): Fix formatting.
38849 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38850             Roland McGrath  <roland@hack.frob.com>
38852         * malloc/malloc (malloc_info): Also print mmapped statistics.
38854 2014-05-30  Roland McGrath  <roland@hack.frob.com>
38856         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
38857         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
38859 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
38861         * malloc/malloc.c (malloc_info): Inline mi_arena.
38863 2014-05-29  Richard Henderson  <rth@twiddle.net>
38865         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
38866         Remove comma before expanding ASM_ARGS_##nr.
38867         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
38868         Make _x0 a strict output; make _x8 a strict input; adjust expansion
38869         of ASM_ARGS_##nr.
38870         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
38871         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
38872         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
38873         (ASM_ARGS_1): Add leading comma.
38875         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
38876         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
38877         to __errno_location.
38878         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
38879         Remove the expected plt for __errno_location.
38881         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38882         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
38883         call to __read_tp.
38885         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38886         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
38887         it and break it down.
38888         (DOCARGS_0, DOCARGS_1): Do nothing.
38889         (DOCARGS_2): Update to store into the new stack frame.
38890         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
38891         (UNDOCARGS_1): Update to restore from the new stack frame.
38892         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
38893         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
38895         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38896         (SINGLE_THREAD_P): New parameter for result regno.
38897         (PSEUDO): Update to match; use cbz instead of beq.
38899         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38900         Use ENTRY to define the _nocancel entry point.  Share the syscall
38901         and syscall error check paths with the cancel path.
38902         (PSEUDO_END): New.
38904         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
38905         whitespace; tabs before and after asm mnemonics.
38907 2014-05-29  Eric Wong  <normalperson@yhbt.net>
38909         [BZ #15132]
38910         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38911         Call fstat64 or stat64 internally, depending on arguments passed.
38912         Replace stat buffer argument with file descriptor argument.
38913         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
38914         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
38915         Pass fd to __internal_statvfs instead of calling fstat64.
38916         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
38917         Pass fd to __internal_statvfs64 instead of calling fstat64.
38918         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
38919         Pass -1 to __internal_statvfs instead of calling stat64.
38920         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
38921         Pass -1 to __internal_statvfs64 instead of calling stat64.
38923 2014-05-28  Roland McGrath  <roland@hack.frob.com>
38925         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
38926         that was previously under [RESET_PID].
38927         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
38929         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
38930         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
38932 2014-05-27  Roland McGrath  <roland@hack.frob.com>
38934         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
38936         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
38937         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
38939 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
38941         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
38943 2014-05-27  Andreas Schwab  <schwab@suse.de>
38945         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
38946         TLS_INIT_TP macro.
38947         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
38948         * elf/rtld.c (init_tls, dl_main): Likewise.
38949         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
38950         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
38951         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
38952         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
38953         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
38954         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
38955         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
38956         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
38957         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
38958         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
38959         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
38960         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
38961         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
38962         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
38963         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
38964         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
38965         * sysdeps/generic/tls.h: Update description.
38967 2014-05-27  Will Newton  <will.newton@linaro.org>
38969         [BZ #16990]
38970         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
38971         and restore r2 rather than just restoring.
38973 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38975         [BZ #16724]
38976         * libio/tst-ftell-append.c: New test case.
38977         * libio/Makefile (tests): Add test case.
38978         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
38979         append mode.
38980         * libio/wfileops.c (do_ftell_wide): Likewise.
38982 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38984         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38986         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
38987         ...
38988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
38989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
38990         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
38991         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
38992         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
38993         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
38994         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
38995         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
38996         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
38997         Moved ...
38998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
38999         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
39000         Moved ...
39001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
39002         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
39003         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
39004         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
39005         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
39006         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
39007         ...
39008         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
39009         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
39010         Moved ...
39011         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
39012         here.
39013         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
39014         ...
39015         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
39016         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
39017         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
39019         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
39020         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
39021         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
39022         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
39024         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
39025         merge into ...
39026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
39027         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
39028         ...
39029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
39030         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
39031         ...
39032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
39033         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
39034         Moved ...
39035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
39036         here.
39037         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
39038         Moved ...
39039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
39040         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
39041         Moved ...
39042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
39044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
39045         conditional [RESET_PID].
39046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
39047         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
39048         removed.
39049         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
39050         removed.
39052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
39053         <tcb-offsets.h>.
39054         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39055         (__libc_vfork): New strong alias.
39056         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
39057         removed.
39058         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
39059         Removed.
39061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
39062         <tcb-offsets.h>.
39063         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
39064         (__libc_vfork): New strong alias.
39065         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
39066         removed.
39067         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
39068         removed.
39070 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
39072         * malloc/malloc.c (mi_arena): New function.
39073         (malloc_info): Remove nested function mi_arena. Call non-nosted
39074         function mi_arena.
39076 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39078         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
39079         by insrwi.
39080         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
39081         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
39082         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
39083         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
39084         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
39085         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
39086         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
39088 2014-05-26  Andreas Schwab  <schwab@suse.de>
39090         [BZ #16984]
39091         * locale/programs/repertoire.c (repertoire_read): Add slash
39092         between I18NPATH element and file name.
39093         * locale/programs/locfile.c (locfile_read): Likewise.
39095 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
39097         * nptl/pthread_mutexattr_settype.c
39098         (__pthread_mutexattr_settype):
39099         Disable lock elision for PTHREAD_MUTEX_NORMAL.
39101 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
39103         * nptl/tst-mutex5 (do_test):
39104         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
39106 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39108         * benchtests/README: Document 'init' directive.
39109         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
39110         BENCH_INIT.
39111         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
39112         (parse_file): Recognize 'init' directive.
39114 2014-05-26  Kyle McMartin  <kyle@redhat.com>
39116         [BZ #16796]
39117         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
39118         alignment of struct pthread.
39120 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39122         [BZ #16878]
39123         * nscd/netgroupcache.c (addgetnetgrentX): Look for
39124         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
39125         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
39126         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
39128 2014-05-25  Richard Henderson  <rth@twiddle.net>
39130         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
39131         (SINGLE_THREAD_P_PIC): Remove.
39132         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
39133         (SINGLE_THREAD_P_PIC): Remove.
39135         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
39136         branch to syscall error ...
39137         (PSEUDO): ... here.
39138         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
39139         from __local_syscall_error to .Lsyscall_error.
39140         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
39141         (SYSCALL_ERROR): Update label name.
39143         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
39144         Do not use DOARGS/UNDOARGS.
39145         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
39146         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
39147         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
39148         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
39149         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
39151         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
39152         block comment.
39154         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
39155         define if !NOT_IN_libc.
39156         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
39157         define with non-default symbol versions.
39159 2014-05-23  Richard Henderson  <rth@twiddle.net>
39161         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
39162         (vfork, __vfork): Define via compat_symbol.
39164         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
39165         [!HAVE_IFUNC] (vfork_compat): Remove.
39166         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
39168 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
39170         [BZ #16978]
39171         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
39172         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
39173         variable.
39175 2014-05-23  Richard Henderson  <rth@twiddle.net>
39177         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
39178         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
39179         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
39180         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
39182         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
39183         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
39184         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
39185         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
39186         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
39187         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
39188         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
39189         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
39190         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
39191         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
39192         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
39193         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
39194         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
39195         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
39196         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
39197         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
39198         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
39199         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
39200         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
39201         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
39202         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
39203         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
39204         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
39205         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
39206         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
39207         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
39208         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
39209         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
39210         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
39211         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
39212         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
39213         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
39214         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
39215         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
39216         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
39217         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
39218         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
39219         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
39220         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
39221         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
39222         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
39223         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
39224         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
39225         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
39226         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
39227         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
39228         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
39229         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
39230         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
39231         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
39232         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
39233         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
39234         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
39235         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
39236         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
39237         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
39239         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
39240         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
39241         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
39242         before exiting on error.
39243         (__libc_vfork): New strong alias.
39244         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
39245         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
39247         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
39248         that was previously under [RESET_PID].
39249         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
39251         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
39253 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
39255         [BZ #16977]
39256         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
39257         value when x - 1 is zero.
39258         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
39259         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
39260         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
39261         0.0L for an argument of 1.0L.
39262         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
39263         Likewise.
39264         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
39265         value when x - 1 is zero.
39266         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
39267         * sysdeps/i386/fpu/libm-test-ulps: Update.
39268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39270 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
39272         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
39273         alphasort and versionsort.
39275 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39277         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
39278         macro.
39279         [copysignf]: Likewise.
39281 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39283         * crypt/md5-crypt.c: Fix formatting.
39285 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39287         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
39288         (b64_from_24bit): New function.
39290 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39292         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
39293         libc_hidden_builtin_def to ifunc.
39294         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
39295         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
39297 2014-05-21  Roland McGrath  <roland@hack.frob.com>
39299         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
39300         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
39302 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
39304         * nscd/Depend (linuxthreads): Remove.
39305         (nptl): Add.
39306         * resolv/Depend (linuxthreads): Remove.
39307         * rt/Depend (linuxthreads): Remove.
39309         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
39310         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
39311         $(common-objpfx)elf/.
39312         (link-libc-before-gnulib): Likewise.
39313         (elfobjdir): Remove variable.
39314         * Makefile (install): Use $(elf-objpfx) instead of
39315         $(common-objpfx)elf/.
39316         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
39317         $(elfobjdir)/.
39318         (link-libc-deps): Likewise.
39319         ($(common-objpfx)libc.so): Likewise.
39320         ($(common-objpfx)linkobj/libc.so): Likewise.
39321         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
39322         instead of $(common-objpfx)elf/.
39323         (symbolic-link-list): Likewise.
39324         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
39325         [$(cross-compiling) = no]: Likewise.
39326         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
39327         $(elfobjdir)/.
39328         (static-gnulib-arch): Likewise.
39329         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
39330         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
39331         $(common-objpfx)elf/.
39333 2014-05-21  Richard Henderson  <rth@redhat.com>
39335         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
39336         (SINGLE_THREAD_P): Use the correct width load.  Fold
39337         into the ldr offset.
39339         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
39340         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
39342 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
39344         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
39345         (libgcc_s_resume): Use __attribute_used__.
39346         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
39347         Likewise.
39349 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39351         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
39352         optimization when used with float constants.
39354         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39356 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
39358         [BZ #16915]
39359         * locale/nl_langinfo_l.c: Make direct reference to every
39360         _nl_current_CATEGORY symbol.
39361         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
39362         (tests-static): Add tst-langinfo-static.
39363         (tests-special): Add tst-langinfo-static.out.
39364         ($(objpfx)tst-langinfo.out): Redirect output.
39365         ($(objpfx)tst-langinfo-static.out): New.
39366         * localedata/tst-langinfo.sh: Send output to stdout.
39367         * localedata/tst-langinfo-static.c: New file.
39369         [BZ #16965]
39370         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
39371         when the shift amount is modulo the limb size.
39373 2014-05-20  Richard Henderson  <rth@redhat.com>
39375         [BZ #16967]
39376         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
39377         Change type of sa_flags from unsigned int to int.
39379         [BZ #16966]
39380         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
39382         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
39384 2014-05-20  Will Newton  <will.newton@linaro.org>
39386         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
39387         Test the return value of the system call in the nocancel case.
39389 2014-05-20  Will Newton  <will.newton@linaro.org>
39390             Yvan Roux  <yvan.roux@linaro.org>
39392         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
39393         #include of asm/ptrace.h.
39394         (PTRACE_GET_THREAD_AREA): Remove #undef.
39395         (PTRACE_GETHBPREGS): Likewise.
39396         (PTRACE_SETHBPREGS): Likewise.
39397         (struct user_regs_struct): New structure.
39398         (struct user_fpsimd_struct): New structure.
39399         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
39400         #include of asm/ptrace.h and second #include of sys/user.h.
39401         (PTRACE_GET_THREAD_AREA): Remove #undef.
39402         (PTRACE_GETHBPREGS): Likewise.
39403         (PTRACE_SETHBPREGS): Likewise.
39404         (ELF_NGREG): Use new struct user_regs_struct.
39405         (elf_fpregset_t): Use new struct user_fpsimd_struct.
39407 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39409         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
39410         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
39412 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
39414         [BZ #16958]
39415         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
39416         membar to avoid block loads/stores to overlap previous stores.
39418 2014-05-17  Richard Henderson  <rth@redhat.com>
39420         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
39421         Create the __##syscall_name##_nocancel entry point.
39422         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
39423         Remove; let the sysdep-cancel.h code create it.
39425 2014-05-17  David S. Miller  <davem@davemloft.net>
39427         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
39428         Protect with __USE_GNU.
39429         (TIOCSET_TEMPT): Likewise.
39430         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
39431         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
39432         these are already provided in bits/ioctl-types.h
39434 2014-05-16  Roland McGrath  <roland@hack.frob.com>
39436         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
39437         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
39439         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
39440         Use wait4 regardless of [__NR_waitpid].
39442 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
39444         PR libgcc/60166
39445         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
39446         (_FP_NANSIGN_Q): Set the quiet bit.
39448 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
39450         * benchtests/Makefile
39451         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
39452         not $(common-objpfx)math/libm.so.
39453         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
39454         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
39455         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
39456         $(common-objpfx)dlfcn/libdl.so.
39457         ($(objpfx)tst-audit8): Depend on $(libm), not
39458         $(common-objpfx)math/libm.so.
39459         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
39460         not $(common-objpfx)dlfcn/libdl.so.
39461         * math/Makefile
39462         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
39463         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
39464         [$(build-shared) = yes].
39465         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
39466         $(common-objpfx)nptl/libpthread.so.
39467         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
39468         $(common-objpfx)math/libm.so$(libm.so-version) or
39469         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
39470         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
39471         $(common-objpfx)dlfcn/libdl.so.
39472         * setjmp/Makefile (link-libm): Remove variable.
39473         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
39474         * stdio-common/Makefile (link-libm): Remove variable.
39475         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
39476         * stdlib/Makefile (link-libm): Remove variable.
39477         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
39478         ($(objpfx)tst-strtod-round): Likewise.
39479         ($(objpfx)tst-tininess): Likewise.
39480         ($(objpfx)tst-strtod-underflow): Likewise.
39481         ($(objpfx)tst-strtod6): Likewise.
39482         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
39483         $(libdl), not $(common-objpfx)nptl/libpthread.so and
39484         $(common-objpfx)dlfcn/libdl.so.
39486 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39488         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
39489         BSD terminal modes definitions.
39491 2014-05-16  Roland McGrath  <roland@hack.frob.com>
39493         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
39494         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
39496         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
39497         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
39498         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
39499         Don't do #include_next.
39500         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
39501         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
39502         Don't do #include_next.
39503         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
39504         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
39505         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
39506         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
39508 2014-05-16  Allan McRae  <allan@archlinux.org>
39510         * po/sv.po: Update Swedish translation from translation project.
39512         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
39513         in sed expression.
39515 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
39517         [BZ #16917]
39518         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
39519         errno if the TIOCGPTN ioctl fails with an error different than
39520         EINVAL.
39521         * login/tst-ptsname.c: New file.
39522         * login/Makefile (tests): Add tst-ptsname.
39524         [BZ #16943]
39525         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
39526         and prlimit64.
39528 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39530         [BZ #16849]
39531         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
39532         herrno to return EAI_AGAIN.
39534 2014-05-14  Roland McGrath  <roland@hack.frob.com>
39536         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
39537         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
39538         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
39539         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
39540         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
39541         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
39542         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
39543         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
39544         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
39545         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
39546         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
39547         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
39548         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
39549         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
39550         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
39551         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
39552         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
39553         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
39554         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
39555         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
39556         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
39557         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
39558         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
39559         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
39560         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
39561         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
39562         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
39563         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
39564         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
39565         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
39566         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
39567         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
39568         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
39569         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
39570         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39571         Moved ...
39572         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
39573         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
39574         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
39575         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
39576         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
39577         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
39578         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
39579         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
39580         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
39581         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
39582         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
39583         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
39584         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
39585         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
39586         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
39587         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
39588         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
39589         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
39590         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
39591         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
39592         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
39593         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
39594         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
39595         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
39596         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
39597         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
39598         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
39599         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39600         Moved ...
39601         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
39602         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
39603         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
39604         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
39605         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
39606         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
39607         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
39608         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
39609         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
39610         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
39611         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
39612         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
39613         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
39614         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
39615         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
39616         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
39617         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
39618         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
39619         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
39620         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39621         Moved ...
39622         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
39623         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
39624         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
39626         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
39627         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
39628         (libpthread-sysdep_routines): Add elision-related stuff here instead.
39629         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
39630         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
39631         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
39632         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
39633         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
39634         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
39635         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
39636         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
39637         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
39638         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
39639         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
39640         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
39641         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
39642         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
39643         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
39644         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
39645         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
39646         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
39647         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
39648         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
39649         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
39650         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
39651         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
39652         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
39653         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
39654         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
39655         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
39656         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
39658         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
39659         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
39661         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
39662         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
39663         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
39664         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
39665         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
39666         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
39667         Moved ...
39668         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
39669         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
39670         Moved ...
39671         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
39672         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
39673         Moved ...
39674         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
39675         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
39676         Moved ...
39677         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
39678         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
39679         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
39680         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
39681         Moved ...
39682         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
39683         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
39684         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
39685         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
39686         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
39687         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
39688         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
39689         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
39690         Moved ...
39691         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
39692         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
39693         Moved ...
39694         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
39695         ... here.
39696         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
39697         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
39698         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
39699         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
39700         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
39701         Moved ...
39702         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
39703         ... here.
39704         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
39705         Moved ...
39706         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
39707         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
39708         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
39709         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
39710         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
39711         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
39712         Moved ...
39713         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
39714         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
39715         Moved ...
39716         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
39717         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
39718         Moved ...
39719         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
39720         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
39721         Moved ...
39722         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
39723         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
39724         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
39725         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
39726         Moved ...
39727         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
39728         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
39729         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
39730         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
39731         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
39732         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
39733         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
39734         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
39735         Moved ...
39736         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
39737         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
39738         Moved ...
39739         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
39740         ... here.
39741         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
39742         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
39743         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
39744         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
39745         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
39746         Moved ...
39747         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
39748         ... here.
39749         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
39750         Moved ...
39751         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
39752         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
39753         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
39754         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
39755         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
39756         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
39757         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
39758         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
39759         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
39760         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
39761         Moved ...
39762         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
39763         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
39764         Moved ...
39765         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
39766         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
39767         Moved ...
39768         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
39769         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
39770         Moved ...
39771         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
39772         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
39773         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
39774         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
39775         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
39776         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
39777         Moved ...
39778         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
39779         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
39780         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
39781         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
39782         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
39783         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
39784         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
39785         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
39786         Moved ...
39787         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
39788         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
39789         Moved ...
39790         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
39791         ... here.
39792         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
39793         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
39794         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
39795         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
39796         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
39797         Moved ...
39798         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
39799         ... here.
39800         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
39801         Moved ...
39802         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
39803         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
39804         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
39805         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
39806         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
39807         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
39808         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
39809         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
39810         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
39811         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
39812         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
39814         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
39815         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
39817         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
39818         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
39820         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
39821         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
39822         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
39823         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
39824         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
39825         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
39826         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
39827         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
39828         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
39829         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
39830         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
39831         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
39832         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
39833         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
39834         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
39835         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
39836         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
39837         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
39838         Moved ...
39839         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
39840         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
39841         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
39842         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
39843         Moved ...
39844         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
39845         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
39846         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
39847         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
39848         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
39849         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
39850         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
39851         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
39852         Moved ...
39853         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
39854         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
39855         Moved ...
39856         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
39857         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
39858         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
39859         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
39860         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
39861         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
39862         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
39863         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
39864         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
39865         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
39866         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
39867         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
39868         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
39869         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
39870         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
39871         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
39872         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
39874         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
39875         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
39876         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
39877         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
39878         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
39880         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
39881         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
39882         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
39883         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
39884         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
39885         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
39886         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
39887         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
39888         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
39889         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
39891         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
39892         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
39894         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
39895         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
39896         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
39897         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
39898         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
39899         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
39900         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
39901         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
39902         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
39903         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
39904         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
39905         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
39906         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
39907         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
39908         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
39909         Update #include.
39910         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
39911         Likewise.
39912         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
39913         Likewise.
39914         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
39915         Likewise.
39916         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
39917         Likewise.
39918         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
39919         Likewise.
39920         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
39921         Likewise.
39922         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
39923         Likewise.
39924         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
39925         Likewise.
39926         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
39927         Likewise.
39928         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
39929         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
39930         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
39931         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
39932         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
39933         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
39934         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
39935         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
39936         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
39937         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
39938         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
39939         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
39940         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
39941         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
39942         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
39944         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
39945         that was previously under [RESET_PID].
39946         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39947         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
39948         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
39950         * sysdeps/i386/nptl/Implies: New file.
39951         * sysdeps/x86_64/nptl/Implies: New file.
39952         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
39953         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
39954         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
39955         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
39957         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
39958         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39959         (__libc_vfork): New strong alias.
39960         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
39961         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
39963         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
39964         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39965         (__libc_vfork): New strong alias.
39966         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
39967         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
39969         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
39970         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39971         (__libc_vfork): New strong alias.
39972         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
39973         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
39974         * nptl/pt-vfork.c: New file.
39975         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
39976         (libpthread: GLIBC_2.20): New version set (empty).
39978 2014-05-14  Will Newton  <will.newton@linaro.org>
39980         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
39981         rather than #if.
39983 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
39985         [BZ #16564]
39986         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
39987         arguments with exponent 65 or above.
39988         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
39989         arguments 0x1p113L or above.
39990         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
39991         to arguments 0x1p107L or above.
39992         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
39993         positive arguments with exponent 65 or above.
39994         * math/auto-libm-test-in: Add more tests of log1p.
39995         * math/auto-libm-test-out: Regenerated.
39997         [BZ #16928]
39998         * math/s_cacos.c (__cacos): Ensure zero real part of result from
39999         non-finite arguments is +0.
40000         * math/s_cacosf.c (__cacosf): Likewise.
40001         * math/s_cacosl.c (__cacosl): Likewise.
40002         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
40003         * sysdeps/i386/fpu/libm-test-ulps: Update.
40004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40006         [BZ #16927]
40007         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
40008         value.
40009         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
40010         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
40011         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
40012         for explicit high bit of mantissa when testing for argument equal
40013         to 1.
40014         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
40015         * sysdeps/i386/fpu/libm-test-ulps: Update.
40016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40018         [BZ #16516]
40019         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
40020         (__erf): Scale by 16 instead of 8 in potentially underflowing
40021         case.  Ensure exception if result actually underflows.
40022         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
40023         (__erff): Scale by 16 instead of 8 in potentially underflowing
40024         case.  Ensure exception if result actually underflows.
40025         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
40026         (efx8): Remove variable.
40027         (__erfl): Scale by 16 instead of 8 in potentially underflowing
40028         case.  Ensure exception if result actually underflows.
40029         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
40030         (efx8): Remove variable.
40031         (__erfl): Scale by 16 instead of 8 in potentially underflowing
40032         case.  Ensure exception if result actually underflows.
40033         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
40034         (efx8): Remove variable.
40035         (__erfl): Scale by 16 instead of 8 in potentially underflowing
40036         case.  Ensure exception if result actually underflows.
40037         * math/auto-libm-test-in: Add more tests of erf.
40038         * math/auto-libm-test-out: Regenerated.
40040 2014-05-14  Andreas Schwab  <schwab@suse.de>
40042         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
40043         Remove code conditionalized on USE___THREAD.
40045         * config.h.in (HAVE_PT_CHOWN): Define as 0.
40046         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
40047         not definedness.
40049 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
40051         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
40052         Define unconditionally.
40053         (__ASSUME_O_CLOEXEC): Likewise.
40054         (__ASSUME_SOCK_CLOEXEC): Likewise.
40055         (__ASSUME_IN_NONBLOCK): Likewise.
40056         (__ASSUME_PIPE2): Likewise.
40057         (__ASSUME_EVENTFD2): Likewise.
40058         (__ASSUME_SIGNALFD4): Likewise.
40059         (__ASSUME_DUP3): Likewise.
40060         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40061         (__ASSUME_DUP3): Do not define.
40062         (__ASSUME_EVENTFD2): Likewise.
40063         (__ASSUME_IN_NONBLOCK): Likewise.
40064         (__ASSUME_O_CLOEXEC): Likewise.
40065         (__ASSUME_PIPE2): Likewise.
40066         (__ASSUME_SIGNALFD4): Likewise.
40067         (__ASSUME_SOCK_CLOEXEC): Likewise.
40068         (__ASSUME_UTIMES): Undefine.
40069         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40070         (__ASSUME_UTIMES): Do not define.
40071         (__ASSUME_O_CLOEXEC): Likewise.
40072         (__ASSUME_SOCK_CLOEXEC): Likewise.
40073         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
40074         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
40075         0x020621].
40076         (__ASSUME_PIPE2): Likewise.
40077         (__ASSUME_EVENTFD2): Likewise.
40078         (__ASSUME_SIGNALFD4): Likewise.
40079         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
40080         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
40081         Do not define.
40082         (__ASSUME_EVENTFD2): Likewise.
40083         (__ASSUME_SIGNALFD4): Likewise.
40084         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
40085         (__ASSUME_32BITUIDS): Likewise.
40086         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
40087         (__ASSUME_IPC64): Likewise.
40088         (__ASSUME_ST_INO_64_BIT): Likewise.
40089         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
40090         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
40091         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40092         (__ASSUME_UTIMES): Do not define.
40093         (__ASSUME_PSELECT): Likewise.
40094         (__ASSUME_PPOLL): Likewise.
40095         (__ASSUME_O_CLOEXEC): Likewise.
40096         (__ASSUME_SOCK_CLOEXEC): Likewise.
40097         (__ASSUME_IN_NONBLOCK): Likewise.
40098         (__ASSUME_PIPE2): Likewise.
40099         (__ASSUME_EVENTFD2): Likewise.
40100         (__ASSUME_SIGNALFD4): Likewise.
40101         (__ASSUME_DUP3): Likewise.
40102         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40103         (__ASSUME_UTIMES): Likewise.
40104         (__ASSUME_O_CLOEXEC): Likewise.
40105         (__ASSUME_SOCK_CLOEXEC): Likewise.
40106         (__ASSUME_IN_NONBLOCK): Likewise.
40107         (__ASSUME_PIPE2): Likewise.
40108         (__ASSUME_EVENTFD2): Likewise.
40109         (__ASSUME_SIGNALFD4): Likewise.
40110         (__ASSUME_DUP3): Likewise.
40111         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40112         (__ASSUME_UTIMES): Likewise.
40113         (__ASSUME_O_CLOEXEC): Likewise.
40114         (__ASSUME_SOCK_CLOEXEC): Likewise.
40115         (__ASSUME_IN_NONBLOCK): Likewise.
40116         (__ASSUME_PIPE2): Likewise.
40117         (__ASSUME_EVENTFD2): Likewise.
40118         (__ASSUME_SIGNALFD4): Likewise.
40119         (__ASSUME_DUP3): Likewise.
40120         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
40121         Likewise.
40122         (__ASSUME_UTIMES): Likewise.
40123         (__ASSUME_EVENTFD2): Likewise.
40124         (__ASSUME_SIGNALFD4): Likewise.
40125         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40126         (__ASSUME_O_CLOEXEC): Likewise.
40127         (__ASSUME_SOCK_CLOEXEC): Likewise.
40128         (__ASSUME_IN_NONBLOCK): Likewise.
40129         (__ASSUME_PIPE2): Likewise.
40130         (__ASSUME_EVENTFD2): Likewise.
40131         (__ASSUME_SIGNALFD4): Likewise.
40132         (__ASSUME_DUP3): Likewise.
40133         (__ASSUME_UTIMES): Undefine.
40135         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
40136         feclearexcept.  Remove symbol versioning code.
40137         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
40138         symbol versioning code.
40139         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
40140         symbol versioning code.
40141         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
40142         feupdateenv.  Remove symbol versioning code.
40143         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
40144         fegetexceptflag.  Remove symbol versioning code.
40145         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
40146         fesetexceptflag.  Remove symbol versioning code.
40147         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
40148         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
40149         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
40150         (__posix_fadvise64_l32): Remove prototype.
40151         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
40152         code.
40154 2014-05-13  Roland McGrath  <roland@hack.frob.com>
40156         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
40157         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
40158         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
40159         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
40161 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
40163         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
40164         current working directory
40166 2014-05-13  Roland McGrath  <roland@hack.frob.com>
40168         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
40169         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
40170         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
40171         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
40172         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
40173         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
40174         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
40175         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
40176         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
40177         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
40178         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
40179         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
40180         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
40181         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
40182         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
40183         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
40184         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
40185         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
40186         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
40187         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
40188         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
40189         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
40190         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
40191         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
40192         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
40193         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
40194         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
40195         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
40196         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
40197         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
40198         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
40199         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
40200         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
40201         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
40202         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
40203         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
40204         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
40205         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
40206         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
40207         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
40208         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
40209         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
40211         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
40212         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
40214         * sysdeps/unix/sysv/linux/arm/Makefile
40215         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
40216         Add rt-aeabi_unwind_cpp_pr1.
40217         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
40218         Add nptl-aeabi_unwind_cpp_pr1.
40219         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
40220         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
40221         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
40222         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
40223         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
40224         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
40226         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
40227         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
40228         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
40229         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
40231         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
40232         Deconditionalize the code that was previously under [RESET_PID].
40233         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
40235         * sysdeps/generic/exit-thread.h: New file.
40236         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
40237         * include/unistd.h (__exit_thread): Remove declaration.
40238         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
40239         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
40240         * csu/libc-start.c: Include <exit-thread.h>.
40241         (LIBC_START_MAIN): Pass no argument to __exit_thread.
40242         * nptl/pthread_create.c: Include <exit-thread.h>.
40243         (start_thread): Call __exit_thread in place of __exit_thread_inline.
40244         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
40245         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
40246         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
40247         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
40248         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
40249         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
40250         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
40251         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
40252         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
40253         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
40254         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
40255         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
40256         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
40257         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
40258         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
40259         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
40261 2014-05-13  Andreas Schwab  <schwab@suse.de>
40263         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
40265 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
40267         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
40268         (__ASSUME_UTIMES): Do not condition on kernel version.
40269         (__ASSUME_PSELECT): Define unconditionally.
40270         (__ASSUME_PPOLL): Likewise.
40271         (__ASSUME_ATFCTS): Likewise.
40272         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
40273         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
40274         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
40275         (__ASSUME_UTIMENSAT): Define unconditionally.
40276         (__ASSUME_PRIVATE_FUTEX): Likewise.
40277         (__ASSUME_FALLOCATE): Likewise.
40278         (__ASSUME_O_CLOEXEC): Likewise.
40279         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
40280         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
40281         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
40282         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
40283         (__ASSUME_IN_NONBLOCK): Likewise.
40284         (__ASSUME_PIPE2): Likewise.
40285         (__ASSUME_EVENTFD2): Likewise.
40286         (__ASSUME_SIGNALFD4): Likewise.
40287         (__ASSUME_DUP3): Likewise.
40288         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
40289         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
40290         (__ASSUME_AT_RANDOM): Likewise.
40291         (__ASSUME_PREADV): Likewise.
40292         (__ASSUME_PWRITEV): Likewise.
40293         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
40294         (__ASSUME_F_GETOWN_EX): Define unconditionally.
40295         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
40296         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
40297         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
40298         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40299         (__ASSUME_O_CLOEXEC): Define unconditionally.
40300         (__ASSUME_PSELECT): Do not undefine conditionally.
40301         (__ASSUME_PPOLL): Likewise.
40302         (__ASSUME_ATFCTS): Likewise.
40303         (__ASSUME_SET_ROBUST_LIST): Likewise.
40304         (__ASSUME_UTIMENSAT): Likewise.
40305         (__ASSUME_FDATASYNC): Define unconditionally.
40306         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40307         (__ASSUME_SIGFRAME_V2): Likewise.
40308         )__ASSUME_EVENTFD2): Likewise.
40309         (__ASSUME_SIGNALFD4): Likewise.
40310         (__ASSUME_PSELECT): Do not undefine conditionally.
40311         (__ASSUME_PPOLL): Likewise.
40312         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40313         (__ASSUME_PSELECT): Define unconditionally.
40314         (__ASSUME_PPOLL): Likewise.
40315         (__ASSUME_O_CLOEXEC): Likewise.
40316         (__ASSUME_SOCK_CLOEXEC): Likewise.
40317         (__ASSUME_IN_NONBLOCK): Likewise.
40318         (__ASSUME_PIPE2): Likewise.
40319         (__ASSUME_EVENTFD2): Likewise.
40320         (__ASSUME_SIGNALFD4): Likewise.
40321         (__ASSUME_DUP3): Likewise.
40322         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40323         (__ASSUME_O_CLOEXEC): Likewise.
40324         (__ASSUME_SOCK_CLOEXEC): Likewise.
40325         (__ASSUME_IN_NONBLOCK): Likewise.
40326         (__ASSUME_PIPE2): Likewise.
40327         (__ASSUME_EVENTFD2): Likewise.
40328         (__ASSUME_SIGNALFD4): Likewise.
40329         (__ASSUME_DUP3): Likewise.
40330         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40331         (__ASSUME_EVENTFD2): Likewise.
40332         (__ASSUME_SIGNALFD4): Likewise.
40333         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
40335 2014-05-12  Andreas Schwab  <schwab@suse.de>
40337         [BZ #16932]
40338         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
40339         (_nss_nis_gethostbyname4_r): Return error if item length is larger
40340         than maximum RPC packet size.
40341         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
40342         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
40343         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
40344         (_nss_nis_getservbyport_r): Likewise.
40346 2014-05-12  Will Newton  <will.newton@linaro.org>
40348         * malloc/Makefile (tests): Add tst-mallopt.
40349         * malloc/tst-mallopt.c: New file.
40351 2014-05-09  Roland McGrath  <roland@hack.frob.com>
40353         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
40354         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
40356 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40358         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
40359         (tst-tlsmod6.so): Likewise.
40361 2014-05-09  Roland McGrath  <roland@hack.frob.com>
40363         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
40365 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
40367         [BZ #16064]
40368         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
40369         and <dl-procinfo.h>.
40370         (__fegetenv): Save SSE state in envp->__eip if supported.
40371         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
40372         envp->__eip if supported.
40373         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
40374         and <dl-procinfo.h>.
40375         (__fesetenv): Always set __eip, __cs_selector, __opcode,
40376         __data_offset and __data_selector in environment to 0.  Set SSE
40377         state if supported.
40378         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
40379         test-fenv-sse.
40380         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
40381         -mfpmath=sse.
40382         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
40384 2014-05-09  Will Newton  <will.newton@linaro.org>
40386         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
40387         and libc_relro_required for ARM.
40388         * sysdeps/arm/preconfigure: Regenerate.
40390 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
40391             Stefan Liebler  <stli@linux.vnet.ibm.com>
40393         * config.make.in (enable-lock-elision): New Makefile variable.
40394         * configure.ac: Likewise.
40395         * configure: Regenerate.
40396         * sysdeps/s390/configure.ac:
40397         Add check for gcc transactions support.
40398         * sysdeps/s390/configure: Regenerate.
40399         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
40400         Build elision files if enabled.
40401         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
40402         Add lock elision support for s390.
40403         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
40404         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
40405         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
40406         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
40407         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
40408         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
40409         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
40410         Likewise.
40411         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
40412         Likewise.
40413         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
40414         Likewise.
40415         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
40416         Likewise.
40417         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
40418         (__lll_timedlock_elision, __lll_lock_elision)
40419         (__lll_unlock_elision, __lll_trylock_elision)
40420         (lll_timedlock_elision, lll_lock_elision)
40421         (lll_unlock_elision, lll_trylock_elision): Add.
40422         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
40423         (pthread_mutex_t): Add lock elision support for s390.
40425 2014-05-14  Wilco  <wdijkstr@arm.com>
40427         * sysdeps/arm/fclrexcpt.c: Cleanup.
40428         * sysdeps/arm/fedisblxcpt.c: Cleanup.
40429         * sysdeps/arm/feenablxcpt.c: Cleanup.
40430         * sysdeps/arm/fegetenv.c: Cleanup.
40431         * sysdeps/arm/fegetexcept.c: Cleanup.
40432         * sysdeps/arm/fegetround.c: Cleanup.
40433         * sysdeps/arm/feholdexcpt.c: Cleanup.
40434         * sysdeps/arm/fesetenv.c: Cleanup.
40435         * sysdeps/arm/fesetround.c: Cleanup.
40436         * sysdeps/arm/feupdateenv.c: Cleanup.
40437         * sysdeps/arm/fgetexcptflg.c: Cleanup.
40438         * sysdeps/arm/fraiseexcpt.c: Cleanup.
40439         * sysdeps/arm/fsetexcptflg.c: Cleanup.
40440         * sysdeps/arm/ftestexcept.c: Cleanup.
40441         * sysdeps/arm/get-rounding-mode.h: Cleanup.
40442         * sysdeps/arm/setfpucw.c: Cleanup.
40444 2014-05-09  Will Newton  <will.newton@linaro.org>
40446         * sysdeps/arm/armv7/strcmp.S: New file.
40447         * NEWS: Mention addition of ARMv7 optimized strcmp.
40449 2014-05-08  Roland McGrath  <roland@hack.frob.com>
40451         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
40452         look for %.ac rather than %.in.
40454         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
40455         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
40456         * sysdeps/mach/hurd/configure: Regenerated.
40457         * sysdeps/unix/sysv/linux/configure: Regenerated.
40459         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
40461 2014-05-07  Steve Ellcey  <sellcey@mips.com>
40463         [BZ# 16922]
40464         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
40465         (LONG_SUB): Ditto.
40466         (PTR_SUB): Ditto.
40468 2014-05-07  Andreas Schwab  <schwab@suse.de>
40470         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
40471         when skipping over non-matching result from nscd.
40473 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
40475         [BZ #16876]
40476         * nptl/sockperf.c (client): Check socket return value.
40478         [BZ #16877]
40479         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
40480         nscd security class.
40482 2014-05-06  Roland McGrath  <roland@hack.frob.com>
40484         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
40485         * sysdeps/arm/unwind.h: ... here.
40487 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
40489         [BZ# 16916]
40490         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
40491         Define.
40493 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40495         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
40496         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
40497         multiarch strncpy for PPC64.
40498         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
40499         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
40500         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
40501         multiarch optimizations.
40502         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40503         (__libc_ifunc_impl_list): Likewise.
40504         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
40505         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
40506         multiarch stpncpy for PPC64.
40507         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
40508         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
40510 2014-05-06  Andreas Schwab  <schwab@suse.de>
40512         [BZ #16912]
40513         * gmon/mcount.c (_MCOUNT_DECL): Use
40514         atomic_compare_and_exchange_bool_acq instead of
40515         catomic_compare_and_exchange_bool_acq.
40517 2014-05-05  Roland McGrath  <roland@hack.frob.com>
40519         * elf/Makefile (others, install-bin): Remove pldd.
40520         (pldd-modules): Variable removed.
40521         ($(objpfx)pldd): Target removed.
40522         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
40523         (others, install-bin): Append pldd here.
40524         ($(objpfx)pldd): New target.
40526         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
40527         to 0, so the first #if test emitted later doesn't see it undefined.
40528         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
40529         * sysdeps/gnu/errlist.c: Regenerated.
40531 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40533         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
40534         [libc_hidden_builtin_def]: Define to empty value.
40535         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
40536         [libc_hidden_builtin_def]: Likewise.
40537         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
40538         [libc_hidden_builtin_def]: Likewise.
40539         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
40540         [libc_hidden_builtin_def]: Likewise.
40541         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
40542         __redirect_memcpy and define ifunc as default hidden symbol.
40543         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
40544         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
40546 2014-05-04  Adam Conrad  <adconrad@0c3.net>
40548         * locale/iso-4217.def: Reintroduce XDR currency.
40550 2014-05-04  Allan McRae  <allan@archlinux.org>
40552         * po/eo.po: Update Esperanto translation from translation project.
40554 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
40556         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
40557         and FEATURE_INDEX_MAX to 1.
40558         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
40560 2014-05-01  Steve Ellcey  <sellcey@mips.com>
40562         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
40563         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
40564         * iconvdata/big5.c (ONE_DIRECTION): Define.
40565         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
40566         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
40567         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
40568         * iconvdata/cp932.c (ONE_DIRECTION): Define.
40569         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
40570         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
40571         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
40572         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
40573         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
40574         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
40575         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
40576         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
40577         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
40578         * iconvdata/gbk.c (ONE_DIRECTION): Define.
40579         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
40580         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
40581         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
40582         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
40583         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
40584         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
40585         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
40586         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
40587         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
40588         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
40589         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
40590         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
40591         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
40592         * iconvdata/iso646.c (ONE_DIRECTION): Define.
40593         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
40594         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
40595         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
40596         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
40597         * iconvdata/johab.c (ONE_DIRECTION): Define.
40598         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
40599         * iconvdata/sjis.c (ONE_DIRECTION): Define.
40600         * iconvdata/t.61.c (ONE_DIRECTION): Define.
40601         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
40602         * iconvdata/tscii.c (ONE_DIRECTION): Define.
40603         * iconvdata/uhc.c (ONE_DIRECTION): Define.
40604         * iconvdata/unicode.c (ONE_DIRECTION): Define.
40605         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
40606         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
40607         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
40609 2014-05-01  Roland McGrath  <roland@hack.frob.com>
40611         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
40612         (_IO_JUMPS_OFFSET): Define to 0.
40614         * nptl/sysdeps/pthread/bits/libc-lock.h
40615         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
40616         (__libc_lock_define_initialized_recursive): Always define using
40617         initializer.  Modern compilers treat uninitialized (implicit zero) and
40618         explicit zero initializers the same (i.e. put the datum in bss).
40620 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40622         * nscd/nscd-client.h: Include <string.h>.
40624 2014-05-01  David S. Miller  <davem@davemloft.net>
40626         [BZ #16885]
40627         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
40628         multiple zero bytes exist at the end of a string.
40629         Reported by Aurelien Jarno <aurelien@aurel32.net>
40631         * string/test-strcmp.c (check): Add explicit test for situations where
40632         there are multiple zero bytes after the first.
40634 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40636         [BZ #16890]
40637         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
40638         when compiling wprintf.
40639         * stdio-common/tstdiomisc.c (t3): New function.
40640         (main): Call it.
40642 2014-05-01  Steve Ellcey  <sellcey@mips.com>
40644         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
40645         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
40646         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
40647         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
40649 2014-05-01  Steve Ellcey  <sellcey@mips.com>
40651         * stdlib/longlong.h: Updated from GCC.
40653 2014-05-01  Will Newton  <will.newton@linaro.org>
40654             Bernard Ogden  <bernie.ogden@linaro.org>
40656         * NEWS: Update fixed bug list.
40658         [BZ #15119]
40659         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
40661 2014-04-30  David S. Miller  <davem@davemloft.net>
40663         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
40664         (libc_feholdexcept_setround_sparc_ctx): New function.
40665         (libc_fesetenv_sparc_ctx): Likewise.
40666         (libc_feupdateenv_sparc_ctx): Likewise.
40667         (libc_feholdsetround_sparc_ctx): Likewise.
40668         (libc_feholdexcept_setround_ctx): Define.
40669         (libc_feholdexcept_setroundf_ctx): Likewise.
40670         (libc_feholdexcept_setroundl_ctx): Likewise.
40671         (libc_fesetenv_ctx): Likewise.
40672         (libc_fesetenvf_ctx): Likewise.
40673         (libc_fesetenvl_ctx): Likewise.
40674         (libc_feupdateenv_ctx): Likewise.
40675         (libc_feupdateenvf_ctx): Likewise.
40676         (libc_feupdateenvl_ctx): Likewise.
40677         (libc_feresetround_ctx): Likewise.
40678         (libc_feresetroundf_ctx): Likewise.
40679         (libc_feresetroundl_ctx): Likewise.
40680         (libc_feholdsetround_ctx): Likewise.
40681         (libc_feholdsetroundf_ctx): Likewise.
40682         (libc_feholdsetroundl_ctx): Likewise.
40684         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
40685         with __USE_GNU instead of XOPEN cpp guards.
40687         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
40688         0.
40690         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
40691         with XOPEN cpp guards.
40693 2014-04-30  Julian Brown  <julian@codesourcery.com>
40695         [BZ #16888]
40696         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
40697         handling.
40699 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
40701         [BZ #9894]
40702         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
40703         Change to 2.6.32.
40704         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
40705         * sysdeps/unix/sysv/linux/configure: Regenerated.
40706         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
40707         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
40708         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
40709         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
40710         * README: Update reference to required Linux kernel version.
40711         * manual/install.texi (Linux): Update reference to required Linux
40712         kernel headers version.
40713         * INSTALL: Regenerated.
40715         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
40716         header inclusion.
40717         [POSIX] (limits.h): Likewise.
40718         [POSIX] (math.h): Likewise.
40719         [POSIX] (sys/wait.h): Likewise.
40720         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
40721         function.
40722         [POSIX] (stddef.h): Do not allow header inclusion.
40724 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40726         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
40728 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
40730         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
40731         Return immediately after lll_futex_wake.
40733 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40735         [BZ #16791]
40736         * nscd/nscd-client.h (datahead_init_common): Initialize entire
40737         structure.
40738         (datahead_init_pos): Call datahead_init_common early.
40739         (datahead_init_neg): Likewise.
40741         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
40742         datahead_init_neg): New functions.
40743         * nscd/aicache.c (addhstaiX): Use them.
40744         * nscd/grpcache.c (cache_addgr): Likewise.
40745         * nscd/hstcache.c (cache_addhst): Likewise.
40746         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40747         * nscd/netgroupcache.c (do_notfound): Likewise.
40748         (addgetnetgrentX): Likewise.
40749         (addinnetgrX): Likewise.
40750         * nscd/pwdcache.c (cache_addpw): Likewise.
40751         * nscd/servicescache.c (cache_addserv): Likewise.
40753 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40754             Atsushi Onoe  <atsushi@onoe.org>
40756         [BZ #14308]
40757         [BZ #12994]
40758         [BZ #13651]
40759         * resolv/res_query.c (__libc_res_nsearch): Return if at least
40760         one response is valid.
40761         * resolv/res_send.c (send_dg): Check for validity of other
40762         response if the current response is a referral.
40764 2014-04-29  Steve Ellcey  <sellcey@mips.com>
40766         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
40768 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
40770         [BZ #16823]
40771         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
40772         Always divide by positive zero when computing -Inf result.
40773         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
40774         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
40776 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40778         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
40779         FPSCR if value do not change.
40780         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40781         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
40782         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
40783         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
40784         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
40785         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
40786         function.
40788 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
40790         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
40791         * sysdeps/unix/sysv/linux/hppa: Move directory from
40792         ports/systeps/unix/sysv/linux/hppa.
40793         * README: Update listing for hppa-*-linux-gnu.
40795 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
40797         [BZ #16754]
40798         * manual/stdio.texi (Hook functions): Fix types of stream hook
40799         functions.
40800         [BZ #16854]
40801         * socket/sys/socket.h: Fix typo in comment.
40803 2014-04-28  Wilco  <wdijkstr@arm.com>
40805         * sysdeps/arm/fenv_private.h: New file.
40806         * sysdeps/arm/math_private.h: New file.
40807         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
40809 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
40811         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
40812         with __int128_t.
40813         (La_x86_64_retval): Likewise.
40815 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
40817         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
40818         fpsr if value didn't change.
40819         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
40820         to fpcr if value didn't change.
40821         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
40822         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
40823         fpsr or fpcr if value didn't change.
40824         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
40825         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
40826         fpcr if value didn't change.
40827         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
40828         to fpsr if value didn't change.
40830 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
40832         * nptl/tst-sem3.c: Use test-skeleton.c
40833         (main): Rename to do_test.  Use return instead of
40834         exit.
40835         * nptl/tst-sem4.c: Use test-skeleton.c
40836         (main): Rename to do_test.
40838 2014-04-22  David S. Miller  <davem@davemloft.net>
40840         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
40841         (struct sigaction): New struct member __glibc_reserved0, change
40842         type of sa_flags to int.
40844 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
40846         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
40847         (COUNT_LEADING_ZEROS_0): Define for AArch64.
40849 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40851         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
40852         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
40854 2014-04-22  Will Newton  <will.newton@linaro.org>
40855             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
40857         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
40858         (__longjmp): Add longjmp and longjmp_target SystemTap
40859         probes.
40860         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
40861         (__sigsetjmp): Add setjmp SystemTap probe.
40863 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
40865         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
40866         match manual order.
40868 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40870         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
40872         * sysdeps/powerpc/fpu/fenv_private.h
40873         (libc_feholdexcept_setroundl_ctx): Define to
40874         libc_feholdexcept_setround_ppc_ctx.
40875         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
40876         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
40877         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
40878         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
40880 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
40882         * sysdeps/aarch64/math-tests.h: New file.
40884 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
40886         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
40887         New.
40888         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40889         Check and set bit_AVX2_Usable.
40890         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
40891         macro.
40892         (bit_AVX2): Likewise.
40893         (index_AVX2_Usable): Likewise.
40894         (CPUID_AVX2): Likewise.
40895         (HAS_AVX2): Likewise.
40897 2014-04-17  Will Newton  <will.newton@linaro.org>
40899         * manual/setjmp.texi (System V contexts): Add note that
40900         calling setcontext on a context created by a call to a
40901         signal handler is undefined.  Update text to note that
40902         setcontext from a signal handler is possible but not
40903         recommended.
40905         [BZ #16629]
40906         * stdlib/tst-setcontext.c: Include signal.h.
40907         (main): Check that the signal stack before and
40908         after swapcontext is the same.
40910         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
40911         Re-implement to restore registers in user code and avoid
40912         rt_sigreturn system call.
40914 2014-04-17  Wilco  <wdijkstr@arm.com>
40916         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
40917         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
40918         * math/test-fenv.c: Skip exception trap tests on targets which only
40919         support non-stop mode.
40921 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
40922             Wilco Dijkstra  <wilco.dijkstra@arm.com>
40924         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
40925         (libc_feholdsetround_aarch64_ctx)
40926         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
40927         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
40928         (libc_feresetround_ctx, libc_feresetroundf_ctx)
40929         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
40930         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
40931         (libc_feresetround_noexl_ctx): Define.
40933 2014-04-16  Richard Henderson  <rth@redhat.com>
40935         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
40937         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
40938         unwind tables.
40940         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
40941         const from the non-libc, non-ldso copy.
40943         * sysdeps/alpha/libm-test-ulps: Regenerate.
40945 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
40946             Wilco Dijkstra  <wilco.dijkstra@arm.com>
40948         * sysdeps/aarch64/fpu/math_private.h: New file.
40950 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40952         * sysdeps/aarch64/libm-test-ulps: Regenerate.
40954 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
40956         [BZ #16275]
40957         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
40958         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
40959         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
40960         Intel MPX bound registers before _dl_profile_fixup.
40961         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
40962         registers after _dl_profile_fixup.  Save and restore bound
40963         registers bnd0/bnd1 when calling _dl_call_pltexit.
40964         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
40965         (LR_BND_OFFSET): Likewise.
40966         (LRV_BND0_OFFSET): Likewise.
40967         (LRV_BND1_OFFSET): Likewise.
40969 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40971         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
40972         to...
40973         * sysdeps/mach/hurd/i386/tls.h: ... here.
40974         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
40975         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
40976         fields.
40978 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40980         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
40982 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40984         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40986 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40988         [BZ #14770]
40989         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
40990         * sysdeps/s390/configure: Regenerate.
40992         [BZ #16824]
40993         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
40994         Set round-to-nearest internally to reduce error accumulation.
40996 2014-04-16  Alan Modra  <amodra@gmail.com>
40998         [BZ #16740]
40999         [BZ #16619]
41000         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
41001         * math/libm-test.inc (frexp_test_data): Add tests.
41002         * NEWS: Update fixed bug list.
41004 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41006         * benchtests/Makefile: Depend on libraries in build directory.
41007         (bench-math): Separate out math tests.
41008         (bench-pthread): Separate out pthread tests.
41009         (bench): Include math and pthread tests.
41011 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
41013         [BZ #16831]
41014         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
41015         _dl_debug_initialize.
41017         * configure.ac: Remove SELinux header check.
41018         * configure: Regenerate.
41019         * nscd/selinux.c (perms): Array of const char* to permission names.
41020         (nscd_request_avc_has_perm): Call security_deny_unknown to find
41021         default policy. Call string_to_security_class and string_to_av_perm to
41022         translate strings. Enforce default policy and call avs_has_perm with
41023         results of translated strings.
41025 2014-04-13  David S. Miller  <davem@davemloft.net>
41027         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41029 2014-04-12  Allan McRae  <allan@archlinux.org>
41031         [BZ #16838]
41032         * manual/string.texi (Collation Functions): Fix qsort argument
41033         order in example.
41034         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
41036 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
41038         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
41039         Make the test a no-op if there are no exceptions defined.
41041 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
41043         * elf/Makefile (tests): make tst-dlopen-aout conditional on
41044         enable-hardcoded-path-in-tests
41046 2014-04-11  Will Newton  <will.newton@linaro.org>
41048         * benchtests/Makefile (extra-objs): Add json-lib.o.
41049         (bench-func): Tidy up JSON output.
41050         * benchtests/bench-skeleton.c: Include json-lib.h.
41051         (main): Use JSON library functions to do output of
41052         benchmark results.
41053         * benchtests/bench-timing-type.c (main): Output the
41054         timing type simply, leaving formatting to the user.
41055         * benchtests/json-lib.c: New file.
41056         * benchtests/json-lib.h: Likewise.
41058 2014-04-11  Torvald Riegel  <triegel@redhat.com>
41060         [BZ #15215]
41061         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
41062         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
41063         memory barriers.  Add comments.
41064         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
41065         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
41066         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
41067         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
41068         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
41069         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
41071 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41073         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
41074         * sysdeps/s390/s390-64/configure.ac: ... this ...
41075         * sysdeps/s390/configure.ac: ... to here.
41076         * sysdeps/s390/s390-32/configure: Delete file.
41077         * sysdeps/s390/s390-64/configure: Delete file.
41078         * sysdeps/s390/configure: Regenerate.
41080 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
41082         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
41084 2014-04-11  Will Newton  <will.newton@linaro.org>
41086         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
41087         to zero if it is not defined elsewhere.  (mtrim): Test
41088         the value of MALLOC_DEBUG with #if rather than #ifdef.
41090 2014-04-10 Torvald Riegel  <triegel@redhat.com>
41092         * benchtests/pthread_once-inputs: New file.
41093         * benchtests/pthread_once-source.c: New file.
41094         * benchtests/README: Update documentation.
41096 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
41097             H.J. Lu  <hongjiu.lu@intel.com>
41099         [BZ #16275]
41100         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
41101         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
41102         * sysdeps/x86_64/configure: Regenerated.
41103         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
41104         macro.
41105         (REGISTER_SAVE_RAX): Likewise.
41106         (REGISTER_SAVE_RCX): Likewise.
41107         (REGISTER_SAVE_RDX): Likewise.
41108         (REGISTER_SAVE_RSI): Likewise.
41109         (REGISTER_SAVE_RDI): Likewise.
41110         (REGISTER_SAVE_R8): Likewise.
41111         (REGISTER_SAVE_R9): Likewise.
41112         (REGISTER_SAVE_BND0): Likewise.
41113         (REGISTER_SAVE_BND1): Likewise.
41114         (REGISTER_SAVE_BND2): Likewise.
41115         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
41116         bound registers when calling _dl_fixup.
41118 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41120         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
41121         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
41122         of its definition.
41123         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
41124         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
41125         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
41126         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
41127         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
41128         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
41129         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
41131 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
41133         [BZ #15514]
41134         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
41135         pathconf(_PC_NAME_MAX).
41137 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41139         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
41140         Remove macro usage.
41141         (__PTHREAD_SPINS): Move definition to ...
41142         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
41143         (__PTHREAD_SPINS): ... here.
41144         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
41145         (__PTHREAD_SPIN): Likewise.
41146         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
41147         (__PTHREAD_SPIN): Likewise.
41148         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
41149         (__PTHREAD_SPIN): Likewise.
41150         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
41151         (__PTHREAD_SPIN): Likewise.
41152         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
41153         (__PTHREAD_SPIN): Likewise.
41154         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
41155         (__PTHREAD_SPIN): Likewise.
41156         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
41157         (__PTHREAD_SPIN): Likewise.
41158         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
41159         (__PTHREAD_SPIN): Likewise.
41160         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
41161         (__PTHREAD_SPIN): Likewise.
41162         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
41163         (__PTHREAD_SPIN): Likewise.
41164         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
41165         (__PTHREAD_SPIN): Likewise.
41166         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
41167         (__PTHREAD_SPIN): Likewise.
41169         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
41170         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
41171         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
41172         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
41173         imply folder.
41174         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
41175         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
41176         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
41177         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
41178         correct imply path.
41179         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
41180         strlen symbol for non multi-arch builds.
41181         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
41182         missing hidden_def and weak_alias.
41184 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
41186         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
41188 2014-04-07  Will Newton  <will.newton@linaro.org>
41190         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
41191         and contents.  [!_LIBC] Remove #ifndef and contents.
41192         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
41193         * string/memccpy.c (__memccpy): Use ANSI prototype.
41194         * string/memfrob.c (memfrob): Likewise.
41195         * string/strcoll.c (STRCOLL): Likewise.
41196         * string/strlen.c (strlen): Likewise.
41197         * string/strtok.c (STRTOK): Likewise.
41198         * string/strcat.c: Remove unused #include of memcopy.h.
41199         (strcat): Use ANSI prototype.
41200         * string/strchr.c: Remove unused #include of memcopy.h.
41201         (strchr): Use ANSI prototype.
41202         * string/strcmp.c: Remove unused #include of memcopy.h.
41203         (strcmp): Use ANSI prototype.
41204         * string/strcpy.c: Remove unused #include of memcopy.h.
41205         (strcpy): Use ANSI prototype.
41207 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41209         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
41210         * config.make.in (config-extra-cppflags): Set it from
41211         libc_extra_cppflags.
41212         * configure.ac (libc_extra_cflags): Make it accumulate over
41213         configure fragments.
41214         (libc_extra_cppflags): New flag.
41215         * configure. Regenerate.
41216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
41217         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
41218         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
41219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
41221         [BZ #16815]
41222         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
41223         result for FE_DOWNWARD rounding mode.
41224         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
41225         Likewise.
41226         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41228 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
41230         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
41231         in function argument name.
41233 2014-04-03  David Svoboda  <svoboda@cert.org>
41235         [BZ #5666]
41236         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
41237         explicitly.
41239 2014-04-03  Roland McGrath  <roland@hack.frob.com>
41241         * elf/dl-unmap-segments.h: New file.
41242         * sysdeps/generic/ldsodefs.h
41243         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
41244         * elf/dl-close.c: Include <dl-unmap-segments.h>.
41245         * elf/dl-fptr.c: Likewise.
41246         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
41247         * sysdeps/aarch64/tlsdesc.c: Likewise.
41248         * sysdeps/arm/tlsdesc.c: Likewise.
41249         * sysdeps/i386/tlsdesc.c: Likewise.
41250         * sysdeps/tile/dl-runtime.c: Likewise.
41251         * sysdeps/x86_64/tlsdesc.c: Likewise.
41252         * elf/dl-load.h: New file.
41253         * elf/dl-load.c: Include it.
41254         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
41255         Macros moved to dl-load.h.
41256         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
41257         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
41258         Use _dl_unmap_segments in place of __munmap.
41259         Break out segment-mapping loop into ...
41260         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
41262 2014-04-03  Will Newton  <will.newton@linaro.org>
41264         * elf/dl-lookup.c (do_lookup_x): Remove comment
41265         referring to nested function and move variable
41266         declarations down to before first use.
41268 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
41270         [BZ #16799]
41271         [BZ #16800]
41272         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
41273         with 0 numerator.
41274         * math/s_catanf.c (__catanf): Likewise.
41275         * math/s_catanh.c (__catanh): Likewise.
41276         * math/s_catanhf.c (__catanhf): Likewise.
41277         * math/s_catanhl.c (__catanhl): Likewise.
41278         * math/s_catanl.c (__catanl): Likewise.
41279         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
41280         by positive zero when computing -Inf result.
41281         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
41282         (catanh_test): Likewise.
41283         * sysdeps/i386/fpu/libm-test-ulps: Update.
41284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41286         [BZ #16789]
41287         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
41288         instead of using underflowing value in computing result.
41289         * math/s_clog10.c (__clog10): Likewise.
41290         * math/s_clog10f.c (__clog10f): Likewise.
41291         * math/s_clog10l.c (__clog10l): Likewise.
41292         * math/s_clogf.c (__clogf): Likewise.
41293         * math/s_clogl.c (__clogl): Likewise.
41294         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
41295         (clog10_test): Likewise.
41296         * sysdeps/i386/fpu/libm-test-ulps: Update.
41297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41299 2014-04-02  Alan Modra  <amodra@gmail.com>
41301         [BZ #16739]
41302         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
41303         output when value is near a power of two.  Use int64_t for lx and
41304         remove casts.  Use decimal rather than hex exponent constants.
41305         Don't use long double multiplication when double will suffice.
41306         * math/libm-test.inc (nextafter_test_data): Add tests.
41307         * NEWS: Add 16739 and 16786 to bug list.
41309         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
41311         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
41313 2014-04-01  Will Newton  <will.newton@linaro.org>
41315         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
41316         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
41318 2014-04-01  Florian Weimer  <fweimer@redhat.com>
41320         [BZ #13347]
41321         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
41322         * nptl/tst-setuid2.c: New file.
41323         * nptl/Makefile (xtests): Add tst-setuid2.
41325 2014-04-01  Alan Modra  <amodra@gmail.com>
41327         [BZ #16786]
41328         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
41330 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
41332         [BZ #6803]
41333         [BZ #6804]
41334         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
41335         set errno as appropriate.
41336         * math/w_scalbf.c (__scalbf): Likewise.
41337         * math/w_scalbl.c (__scalbl): Likewise.
41338         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
41339         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
41340         * math/libm-test.inc (scalb_test_data): Add errno expectations.
41341         Add more NaN tests.
41343         [BZ #16349]
41344         * math/w_atan2.c: Include <errno.h>.
41345         (__atan2): Set errno for result underflowing to zero.
41346         * math/w_atan2f.c: Include <errno.h>.
41347         (__atan2f): Set errno for result underflowing to zero.
41348         * math/w_atan2l.c: Include <errno.h>.
41349         (__atan2l): Set errno for result underflowing to zero.
41350         * math/auto-libm-test-in: Don't allow missing errno for some atan2
41351         tests.
41352         * math/auto-libm-test-out: Regenerated.
41354 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41356         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
41357         Encode instruction correctly in little endian.
41358         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
41359         Likewise.
41360         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
41361         Likewise.
41362         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
41363         Likewise.
41364         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
41365         Likewise.
41367 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
41369         [BZ #9894]
41370         * sysdeps/unix/sysv/linux/kernel-features.h
41371         [__sparc__ && !__arch64__ && !__sparc_v9__]
41372         (__ASSUME_SET_ROBUST_LIST): Do not define.
41373         [__sparc__ && !__arch64__ && !__sparc_v9__]
41374         (__ASSUME_FUTEX_LOCK_PI): Likewise.
41375         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
41376         Likewise.
41377         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41378         (__ASSUME_FUTEX_LOCK_PI): Undefine.
41379         (__ASSUME_REQUEUE_PI): Likewise.
41380         (__ASSUME_SET_ROBUST_LIST): Likewise.
41381         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41382         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
41383         Undefine.
41384         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41385         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
41386         Likewise.
41387         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
41388         Likewise.
41389         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
41390         Likewise.
41391         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41392         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
41393         Undefine.
41394         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
41395         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
41396         Likewise.
41398         [BZ #16648]
41399         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41400         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
41401         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
41403 2014-03-31  Will Newton  <will.newton@linaro.org>
41405         * benchtests/Makefile (bench): Add ffs and ffsll to list
41406         of tests.
41407         * benchtests/ffs-inputs: New file.
41408         * benchtests/ffsll-inputs: Likewise.
41410 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
41412         [BZ #16770]
41413         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
41414         too large before casting to int.
41415         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
41416         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
41417         * math/libm-test.inc (scalb_test_data): Add more tests.
41419 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41421         * benchtests/Makefile (DETAILED_OPT): New make option.
41422         (bench-func): Run benchmark program with -d if DETAILED_OPT is
41423         set.
41424         * benchtests/bench-skeleton.c: Include stdbool.h.
41425         (main): Store and print timings per input.
41426         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
41427         member to each argument value.
41428         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
41429         (_print_arg_data): Initialize per-input timing to 0.
41431         * benchtests/Makefile (timing-type): New binary.
41432         (bench-clean): Also remove bench-timing-type.
41433         (bench): New target for timing-type.
41434         (bench-func): Print output in JSON format.
41435         * benchtests/bench-skeleton.c (main): Print output in JSON
41436         format.
41437         * benchtests/bench-timing-type.c: New file.
41438         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
41439         (TIMING_PRINT_STATS): Remove.
41440         * benchtests/scripts/bench.py (_print_arg_data): Store variant
41441         name separately.
41443         * benchtests/bench-modf.c: Remove.
41444         * benchtests/modf-inputs: New inputs file.
41446 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
41448         [BZ #16362]
41449         * math/s_clog10.c (M_PI_LOG10E): New macro.
41450         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
41451         imaginary parts are 0.
41452         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
41453         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
41454         imaginary parts are 0.
41455         * math/s_clog10l.c (M_PI_LOG10El): New macro.
41456         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
41457         imaginary parts are 0.
41458         * math/libm-test.inc (clog10_test_data): Update expected results
41459         for when real and imaginary parts are 0.
41461 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
41463         * elf/dl-load.c: Finish conversion of __builtin_expect into
41464         __glibc_{un}likely.
41466 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
41468         [BZ #16348]
41469         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
41470         1+x for argument with exponent below -67.
41471         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
41472         Likewise.
41473         * math/auto-libm-test-in: Add more tests of exp.
41474         * math/auto-libm-test-out: Regenerated.
41476 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41478         [BZ #16759]
41479         * inet/getnetgrent_r.c (get_nonempty_val): New function.
41480         (nscd_getnetgrent): Use it.
41482         [BZ #16760]
41483         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
41484         of stpcpy.
41486 2014-03-27  Andi Kleen  <ak@linux.intel.com>
41488         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
41489         (lll_robust_lock, lll_cond_lock, lll_timedlock)
41490         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
41491         (lll_robust_unlock): Remove out of line section. Use cfi
41492         intrinsics.
41493         (LLL_STUB_UNWIND_INFO*): Remove.
41494         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
41495         (lll_robust_lock, lll_cond_lock, lll_timedlock)
41496         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
41497         (lll_robust_unlock): Remove out of line section. Use cfi
41498         intrinsics.
41499         (LLL_STUB_UNWIND_INFO*): Remove.
41501 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41503         [BZ #16758]
41504         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
41505         blank values.
41507 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
41509         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
41511 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
41513         [BZ #16198]
41514         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
41515         fnstenv.
41516         * math/test-fenv-preserve.c: New file.
41517         * math/Makefile (tests): Add test-fenv-preserve.
41519 2014-03-26  Will Newton <will.newton@linaro.org>
41521         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
41523 2014-03-25  Roland McGrath  <roland@hack.frob.com>
41525         * scripts/versionlist.awk: Partition the version sets and emit all
41526         GLIBC_* (sorted) before all others (sorted).
41528 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
41530         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
41531         GLIBC_2.2.5 version.
41533 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41535         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
41536         calls.
41538         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
41539         previous change.
41541         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41543 2014-03-25  Andreas Schwab  <schwab@suse.de>
41545         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
41546         label to be used after in6ailist is initialized.
41548 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41550         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
41551         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
41553 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
41555         [BZ #16357]
41556         [BZ #16599]
41557         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
41558         min_plus_half.
41559         (fp_formats): Update initializers.
41560         (init_fp_formats): Initialize new field.
41561         (output_for_one_input_case): Allow underflow for results up to
41562         min_plus_half.
41563         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
41564         * math/auto-libm-test-in: Don't mark some underflows from asin and
41565         atanh as spurious.
41566         * math/auto-libm-test-out: Regenerated.
41567         * sysdeps/i386/fpu/libm-test-ulps: Update.
41568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41570 2014-03-25  Andreas Schwab  <schwab@suse.de>
41572         * libio/Makefile (tst-ftell-partial-wide-ENV)
41573         (tst-ftell-active-handler-ENV): Define.
41575 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
41577         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
41579 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
41581         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
41583 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
41585         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
41586         * sysdeps/x86_64/fpu/multiarch/e_exp.c
41587         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
41589 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
41591         [BZ #16634]
41592         * elf/dl-load.c (open_verify): Add mode parameter.
41593         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
41594         (open_path): Change from boolean 'secure' to complete flag 'mode'
41595         (_dl_map_object): Adjust.
41596         * elf/Makefile (tests): Add tst-dlopen-aout.
41597         * elf/tst-dlopen-aout.c: New test.
41599 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
41601         [BZ #16714]
41602         * sysdeps/unix/sysv/linux/s390/bits/stat.h
41603         (struct stat): Rename member pad0 to __glibc_reserved0.
41605         [BZ #16712]
41606         * sysdeps/s390/s390-32/bits/wordsize.h
41607         (__WORDSIZE32_SIZE_ULONG): New define.
41608         * sysdeps/s390/s390-64/bits/wordsize.h
41609         (__WORDSIZE32_SIZE_ULONG): Likewise.
41610         * sysdeps/generic/stdint.h (SIZE_MAX):
41611         Define as UL if __WORDSIZE32_SIZE_ULONG.
41613         [BZ #16713]
41614         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
41615         (__glibc_reserved0): New variable.
41616         (sa_flags): Change type to int.
41618         * posix/Makefile (before-compile): Use += before-compile instead
41619         of a :=.
41621         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
41622         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
41624 2014-03-20  Andreas Schwab  <schwab@suse.de>
41626         [BZ #16743]
41627         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
41628         non-matching result from nscd.
41630 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41632         * scripts/bench.py: Moved to ...
41633         * benchtests/scripts/bench.py: ... here.
41634         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
41636 2014-03-24  Andreas Schwab  <schwab@suse.de>
41638         [BZ #16002]
41639         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
41640         alloca_account and account alloca use for struct in6ailist.
41642 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
41644         [BZ #16284]
41645         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
41646         rounding mode to recompute results that overflow to infinity or
41647         underflow to zero.
41648         * math/auto-libm-test-in: Don't mark tests as expected to fail for
41649         bug 16284.
41650         * math/auto-libm-test-out: Regenerated.
41651         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
41652         (ccosh_test): Likewise.
41653         (csin_test_data): Use plus_oflow.
41654         (csin_test): Use ALL_RM_TEST.
41655         (csinh_test_data): Use plus_oflow.
41656         (csinh_test): Use ALL_RM_TEST.
41657         * sysdeps/i386/fpu/libm-test-ulps: Update.
41658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41660 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
41662         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
41663         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
41664         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
41666         [BZ #16731]
41667         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
41668         when x - 1 is zero.
41669         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
41670         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
41671         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
41672         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
41673         argument is 1.
41674         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
41675         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
41676         zero.
41677         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
41678         * sysdeps/i386/fpu/libm-test-ulps: Update.
41679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41681 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41683         * scripts/bench.pl: Remove file.
41684         * scripts/bench.py: New benchmark script.
41685         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
41686         * benchtests/README: Mention python dependency.
41687         * scripts/pylintrc: New file.
41688         * scripts/pylint: New file.
41690         * bits/mathdef.h: Use #ifdef instead of #if.
41691         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
41692         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
41693         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
41694         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
41695         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
41696         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
41698 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41699             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41701         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
41702         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
41703         and strpbrk-ppc64 objects.
41704         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41705         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
41706         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
41707         multiarch strpbrk for POWER7.
41708         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
41709         multiarch strpbrk for PPC64.
41710         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
41711         ifunc selector.
41712         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
41713         strpbrk for POWER7.
41715 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
41717         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
41718         (atan_test): Likewise.
41719         (atanh_test_data): Use NO_TEST_INLINE for two tests.
41720         (atanh_test): Use ALL_RM_TEST.
41721         (atan2_test_data): Likewise.
41722         (cabs_test): Likewise.
41723         (cacosh_test): Likewise.
41724         (carg_test): Likewise.
41725         (casin_test): Likewise.
41726         (casinh_test): Likewise.
41727         (cbrt_test): Likewise.
41728         (csqrt_test): Likewise.
41729         (erf_test): Likewise.
41730         (erfc_test): Likewise.
41731         (pow10_test): Likewise.
41732         (exp2_test): Likewise.
41733         (hypot_test): Likewise.
41734         (j0_test): Likewise.
41735         (j1_test): Likewise.
41736         (lgamma_test): Likewise.
41737         (gamma_test): Likewise.
41738         (sincos_test): Likewise.
41739         (tanh_test): Likewise.
41740         (y0_test): Likewise.
41741         (y1_test): Likewise.
41742         * sysdeps/i386/fpu/libm-test-ulps: Update.
41743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41745 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41747         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
41748         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
41749         and strcspn-ppc64 objects.
41750         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41751         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
41752         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
41753         multiarch strcspn for POWER7.
41754         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
41755         multiarch strcspn for PPC64.
41756         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
41757         ifunc selector.
41758         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
41759         strcspn for POWER7.
41761 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
41763         * math/gen-libm-test.pl (generate_testfile): Expect only function
41764         name as argument to AUTO_TESTS_* and pass results for all rounding
41765         modes to parse_args.
41766         (parse_auto_input): Separate inputs of automatic tests from
41767         outputs before storing in %auto_tests.
41768         * math/libm-test.inc (acos_test_data): Update call to
41769         AUTO_TESTS_f_f.
41770         (acos_test): Use ALL_RM_TEST.
41771         (acos_tonearest_test_data): Remove.
41772         (acos_test_tonearest): Likewise.
41773         (acos_towardzero_test_data): Likewise.
41774         (acos_test_towardzero): Likewise.
41775         (acos_downward_test_data): Likewise.
41776         (acos_test_downward): Likewise.
41777         (acos_upward_test_data): Likewise.
41778         (acos_test_upward): Likewise.
41779         (acosh_test_data): Update call to AUTO_TESTS_f_f.
41780         (asin_test_data): Likewise.
41781         (asin_test): Use ALL_RM_TEST.
41782         (asin_tonearest_test_data): Remove.
41783         (asin_test_tonearest): Likewise.
41784         (asin_towardzero_test_data): Likewise.
41785         (asin_test_towardzero): Likewise.
41786         (asin_downward_test_data): Likewise.
41787         (asin_test_downward): Likewise.
41788         (asin_upward_test_data): Likewise.
41789         (asin_test_upward): Likewise.
41790         (asinh_test_data): Update call to AUTO_TESTS_f_f.
41791         (atan_test_data): Likewise.
41792         (atanh_test_data): Likewise.
41793         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
41794         (cabs_test_data): Update call to AUTO_TESTS_c_f.
41795         (carg_test_data): Likewise.
41796         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
41797         (ccos_test_data): Update call to AUTO_TESTS_c_c.
41798         (ccosh_test_data): Likewise.
41799         (cexp_test_data): Likewise.
41800         (clog_test_data): Likewise.
41801         (clog10_test_data): Likewise.
41802         (cos_test_data): Update call to AUTO_TESTS_f_f.
41803         (cos_test): Use ALL_RM_TEST.
41804         (cos_tonearest_test_data): Remove.
41805         (cos_test_tonearest): Likewise.
41806         (cos_towardzero_test_data): Likewise.
41807         (cos_test_towardzero): Likewise.
41808         (cos_downward_test_data): Likewise.
41809         (cos_test_downward): Likewise.
41810         (cos_upward_test_data): Likewise.
41811         (cos_test_upward): Likewise.
41812         (cosh_test_data): Update call to AUTO_TESTS_f_f.
41813         (cosh_test): Use ALL_RM_TEST.
41814         (cosh_tonearest_test_data): Remove.
41815         (cosh_test_tonearest): Likewise.
41816         (cosh_towardzero_test_data): Likewise.
41817         (cosh_test_towardzero): Likewise.
41818         (cosh_downward_test_data): Likewise.
41819         (cosh_test_downward): Likewise.
41820         (cosh_upward_test_data): Likewise.
41821         (cosh_test_upward): Likewise.
41822         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
41823         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
41824         (ctan_test_data): Likewise.
41825         (ctan_test): Use ALL_RM_TEST.
41826         (ctan_tonearest_test_data): Remove.
41827         (ctan_test_tonearest): Likewise.
41828         (ctan_towardzero_test_data): Likewise.
41829         (ctan_test_towardzero): Likewise.
41830         (ctan_downward_test_data): Likewise.
41831         (ctan_test_downward): Likewise.
41832         (ctan_upward_test_data): Likewise.
41833         (ctan_test_upward): Likewise.
41834         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
41835         (ctanh_test): Use ALL_RM_TEST.
41836         (ctanh_tonearest_test_data): Remove.
41837         (ctanh_test_tonearest): Likewise.
41838         (ctanh_towardzero_test_data): Likewise.
41839         (ctanh_test_towardzero): Likewise.
41840         (ctanh_downward_test_data): Likewise.
41841         (ctanh_test_downward): Likewise.
41842         (ctanh_upward_test_data): Likewise.
41843         (ctanh_test_upward): Likewise.
41844         (erf_test_data): Update call to AUTO_TESTS_f_f.
41845         (erfc_test_data): Likewise.
41846         (exp_test_data): Likewise.
41847         (exp_test): Use ALL_RM_TEST.
41848         (exp_tonearest_test_data): Remove.
41849         (exp_test_tonearest): Likewise.
41850         (exp_towardzero_test_data): Likewise.
41851         (exp_test_towardzero): Likewise.
41852         (exp_downward_test_data): Likewise.
41853         (exp_test_downward): Likewise.
41854         (exp_upward_test_data): Likewise.
41855         (exp_test_upward): Likewise.
41856         (exp10_test_data): Update call to AUTO_TESTS_f_f.
41857         (exp10_test): Use ALL_RM_TEST.
41858         (exp10_tonearest_test_data): Remove.
41859         (exp10_test_tonearest): Likewise.
41860         (exp10_towardzero_test_data): Likewise.
41861         (exp10_test_towardzero): Likewise.
41862         (exp10_downward_test_data): Likewise.
41863         (exp10_test_downward): Likewise.
41864         (exp10_upward_test_data): Likewise.
41865         (exp10_test_upward): Likewise.
41866         (exp2_test_data): Update call to AUTO_TESTS_f_f.
41867         (expm1_test_data): Likewise.
41868         (expm1_test): Use ALL_RM_TEST.
41869         (expm1_tonearest_test_data): Remove.
41870         (expm1_test_tonearest): Likewise.
41871         (expm1_towardzero_test_data): Likewise.
41872         (expm1_test_towardzero): Likewise.
41873         (expm1_downward_test_data): Likewise.
41874         (expm1_test_downward): Likewise.
41875         (expm1_upward_test_data): Likewise.
41876         (expm1_test_upward): Likewise.
41877         (fma_test_data): Update call to AUTO_TESTS_fff_f.
41878         (fma_test): Use ALL_RM_TEST.
41879         (fma_towardzero_test_data): Remove.
41880         (fma_test_towardzero): Likewise.
41881         (fma_downward_test_data): Likewise.
41882         (fma_test_downward): Likewise.
41883         (fma_upward_test_data): Likewise.
41884         (fma_test_upward): Likewise.
41885         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
41886         (j0_test_data): Update call to AUTO_TESTS_f_f.
41887         (j1_test_data): Likewise.
41888         (jn_test_data): Update call to AUTO_TESTS_if_f.
41889         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
41890         (log_test_data): Update call to AUTO_TESTS_f_f.
41891         (log10_test_data): Likewise.
41892         (log1p_test_data): Likewise.
41893         (log2_test_data): Likewise.
41894         (pow_test_data): Update call to AUTO_TESTS_ff_f.
41895         (pow_tonearest_test_data): Likewise.
41896         (sin_test_data): Update call to AUTO_TESTS_f_f.
41897         (sin_test): Use ALL_RM_TEST.
41898         (sin_tonearest_test_data): Remove.
41899         (sin_test_tonearest): Likewise.
41900         (sin_towardzero_test_data): Likewise.
41901         (sin_test_towardzero): Likewise.
41902         (sin_downward_test_data): Likewise.
41903         (sin_test_downward): Likewise.
41904         (sin_upward_test_data): Likewise.
41905         (sin_test_upward): Likewise.
41906         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
41907         (sinh_test_data): Update call to AUTO_TESTS_f_f.
41908         (sinh_test): Use ALL_RM_TEST.
41909         (sinh_tonearest_test_data): Remove.
41910         (sinh_test_tonearest): Likewise.
41911         (sinh_towardzero_test_data): Likewise.
41912         (sinh_test_towardzero): Likewise.
41913         (sinh_downward_test_data): Likewise.
41914         (sinh_test_downward): Likewise.
41915         (sinh_upward_test_data): Likewise.
41916         (sinh_test_upward): Likewise.
41917         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
41918         (sqrt_test): Use ALL_RM_TEST.
41919         (sqrt_tonearest_test_data): Remove.
41920         (sqrt_test_tonearest): Likewise.
41921         (sqrt_towardzero_test_data): Likewise.
41922         (sqrt_test_towardzero): Likewise.
41923         (sqrt_downward_test_data): Likewise.
41924         (sqrt_test_downward): Likewise.
41925         (sqrt_upward_test_data): Likewise.
41926         (sqrt_test_upward): Likewise.
41927         (tan_test_data): Update call to AUTO_TESTS_f_f.
41928         (tan_test): Use ALL_RM_TEST.
41929         (tan_tonearest_test_data): Remove.
41930         (tan_test_tonearest): Likewise.
41931         (tan_towardzero_test_data): Likewise.
41932         (tan_test_towardzero): Likewise.
41933         (tan_downward_test_data): Likewise.
41934         (tan_test_downward): Likewise.
41935         (tan_upward_test_data): Likewise.
41936         (tan_test_upward): Likewise.
41937         (tanh_test_data): Update call to AUTO_TESTS_f_f.
41938         (tgamma_test_data): Likewise.
41939         (y0_test_data): Likewise.
41940         (y1_test_data): Likewise.
41941         (yn_test_data): Update call to AUTO_TESTS_if_f.
41942         (main): Do not call removed functions.
41944 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
41946         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
41947         (ldexp_test_data): Remove.
41948         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
41949         scalbn_test_data.
41950         (scalb_test): Use ALL_RM_TEST.
41952 2014-03-19  Andreas Schwab  <schwab@suse.de>
41954         * nscd/nscd.service: Also invalidate netgroup cache on reload.
41956 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
41958         [BZ #16649]
41959         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41960         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
41961         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
41962         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41963         (__ASSUME_PREADV): Undefine.
41964         (__ASSUME_PWRITEV): Likewise.
41966 2014-03-18  Roland McGrath  <roland@hack.frob.com>
41968         * bits/mman-linux.h: Add comment about non-Linux use.
41969         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
41970         bits/mman-linux.h resting place.
41972         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
41973         * bits/mman-linux.h: ... here.
41975 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41977         * conform/conformtest.pl: Add standard definition when calling C
41978         preprocessor on data files.
41979         (checknamespace): Remove unused variable.
41981 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
41983         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
41984         minus_oflow, plus_uflow and minus_uflow in expected results.
41985         * math/libm-test.inc (scalbn_test_data): Add more tests of
41986         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
41987         minus_uflow.
41988         (scalbn_test): Use ALL_RM_TEST.
41989         (scalbln_test_data): Add more tests of negative arguments.  Use
41990         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
41991         (scalbln_test): Use ALL_RM_TEST.
41993 2014-03-18  Roland McGrath  <roland@hack.frob.com>
41995         * scripts/abilist.awk: Ignore symbols marked with .hidden.
41997 2014-03-18  Will Newton  <will.newton@linaro.org>
41999         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
42000         inaccurate comment.
42002 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
42004         * Makerules [!subdir] (check-abi): Exit with error status if a
42005         test failed.
42007 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
42009         * math/libm-test.inc (nearbyint_test_data): Include all tests used
42010         for rint.  Include results for all rounding modes.
42011         (nearbyint_test): Use ALL_RM_TEST.
42012         (rint_test_data): Include all tests used for nearbyint.
42014 2014-03-17  Will Newton  <will.newton@linaro.org>
42016         * nptl/sysdeps/pthread/pthread.h: Revert previous
42017         change.
42019         * sysdeps/generic/ldsodefs.h: Revert previous
42020         change.
42022         * libio/genops.c: Revert previous change.
42023         * libio/libioP.h: Likewise.
42024         * stdio-common/vfprintf.c: Likewise.
42026         * sysdeps/generic/math_private.h: Revert previous
42027         change.
42029         * sysdeps/generic/math_private.h: Check whether
42030         HAVE_RM_CTX is defined with #ifdef rather
42031         than #if.
42033         * argp/argp-fmtstream.h: Check whether
42034         __STRICT_ANSI__ is defined with #ifdef rather
42035         than #if.
42036         * argp/argp.h: Likewise.
42038         * libio/genops.c: Check whether
42039         _IO_JUMPS_OFFSET is defined with #ifdef rather
42040         than #if.
42041         * libio/libioP.h: Likewise.
42042         * stdio-common/vfprintf.c: Likewise.
42044         * sysdeps/generic/ldsodefs.h: Check whether
42045         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
42046         than #if.
42048         * nptl/sysdeps/pthread/pthread.h: Check
42049         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
42050         its value.
42052 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42054         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
42055         setting O_APPEND.
42056         * libio/tst-ftell-active-handler.c (do_append_test): Add a
42057         test case.
42059         [BZ #16680]
42060         * libio/fileops.c (_IO_file_open): Seek to end of file but
42061         don't cache the offset.
42062         (get_file_offset): Remove function.
42063         (do_ftell): Use cached offset when available.
42064         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
42065         don't cache the offset.
42066         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
42067         case.
42068         (do_one_test): Call it.
42069         (do_ftell_test): Fix up expected old offset for a+ mode.
42070         * libio/wfileops.c (do_ftell_wide): Used cached offset when
42071         available.
42073         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
42074         up test status with function return status.
42075         (do_write_test): Likewise.
42076         (do_append_test): Likewise.
42078         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
42079         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
42080         Remove.
42082 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
42084         * math/gen-libm-test.pl (parse_args): Handle results specified for
42085         each rounding mode separately.
42086         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
42087         tests and results from lrint_tonearest_test_data,
42088         lrint_towardzero_test_data, lrint_downward_test_data and
42089         lrint_upward_test_data.
42090         (lrint_test): Use ALL_RM_TEST.
42091         (lrint_tonearest_test_data): Remove.
42092         (lrint_test_tonearest): Likewise.
42093         (lrint_towardzero_test_data): Likewise.
42094         (lrint_test_towardzero): Likewise.
42095         (lrint_downward_test_data): Likewise.
42096         (lrint_test_downward): Likewise.
42097         (lrint_upward_test_data): Likewise.
42098         (lrint_test_upward): Likewise.
42099         (llrint_test_data): Merge in per-rounding-mode tests and results
42100         from llrint_tonearest_test_data, llrint_towardzero_test_data,
42101         llrint_downward_test_data and llrint_upward_test_data.
42102         (llrint_test): Use ALL_RM_TEST.
42103         (llrint_tonearest_test_data): Remove.
42104         (llrint_test_tonearest): Likewise.
42105         (llrint_towardzero_test_data): Likewise.
42106         (llrint_test_towardzero): Likewise.
42107         (llrint_downward_test_data): Likewise.
42108         (llrint_test_downward): Likewise.
42109         (llrint_upward_test_data): Likewise.
42110         (llrint_test_upward): Likewise.
42111         (rint_test_data): Merge in per-rounding-mode tests and results
42112         from rint_tonearest_test_data, rint_towardzero_test_data,
42113         rint_downward_test_data and rint_upward_test_data.  Add
42114         per-rounding-mode results for tests not in those arrays.
42115         (rint_test): Use ALL_RM_TEST.
42116         (rint_tonearest_test_data): Remove.
42117         (rint_test_tonearest): Likewise.
42118         (rint_towardzero_test_data): Likewise.
42119         (rint_test_towardzero): Likewise.
42120         (rint_downward_test_data): Likewise.
42121         (rint_test_downward): Likewise.
42122         (rint_upward_test_data): Likewise.
42123         (rint_test_upward): Likewise.
42124         (main): Don't call removed functions.
42126 2014-03-14  Roland McGrath  <roland@hack.frob.com>
42128         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
42129         "Compiled on ..." crapola.  It is anti-useful.
42131 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
42133         * scripts/evaluate-test.sh: Handle fourth argument to determine
42134         whether test run should stop on failure.
42135         * Makeconfig (stop-on-test-failure): New variable.
42136         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
42137         $(stop-on-test-failure).
42138         * Makefile (tests): Give a summary of results from testing and
42139         exit with failure status if they include an ERROR or FAIL.
42140         (xtests): Likewise.
42141         * manual/install.texi (Configuring and compiling): Mention
42142         stop-on-test-failure=y.
42143         * INSTALL: Regenerated.
42145 2014-03-14  Roland McGrath  <roland@hack.frob.com>
42147         * scripts/versionlist.awk: New file.
42148         * Makerules [$(build-shared) = yes]
42149         (postclean-generated): Add Versions.def, not Versions.def.v and
42150         Versions.def.v.i.
42151         ($(common-objpfx)Versions.def.v.i): Target removed.
42152         ($(common-objpfx)Versions.def): New target.
42153         ($(common-objpfx)Versions.all): Depend on that rather that
42154         $(common-objpfx)Versions.def.v.
42155         * Versions.def: File removed.
42157         * Makeconfig (+gccwarn): Add -Wundef.
42158         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
42159         a dl-sysdep.h breaking its contract.
42160         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
42161         * include/stackinfo.h: New file.
42162         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
42163         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
42164         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
42165         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
42166         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
42167         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
42168         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
42169         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
42170         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
42171         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
42172         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
42173         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
42174         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
42175         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
42176         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
42178 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42180         [BZ #16707]
42181         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
42182         implementation.
42183         * math/libm-test.inc (round_test_data): Add more tests.
42185         [BZ #16706]
42186         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
42187         implementation.
42188         * math/libm-test.inc (nearbyint_test_data): Add more tests.
42190         [BZ #16701]
42191         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
42192         implementation.
42193         * math/libm-test.inc (ceil_test_data): Add more tests.
42195         * math/libm-test.inc (trunc_test_data): Add more tests related to
42196         BZ#16414.
42198 2014-03-14  Roland McGrath  <roland@hack.frob.com>
42200         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
42201         with #if rather than #ifdef.
42202         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
42204 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
42206         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
42207         first.  Disable AVX-512 GCC support if assembler doesn't support
42208         it.
42209         * sysdeps/x86_64/configure: Regenerated.
42211 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
42213         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
42214         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
42215         (__old_pthread_attr_setstack): Likewise.
42216         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
42217         [!_STACK_GROWS_DOWN]: Likewise.
42219 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
42221         * config.make.in (have-bash2): Delete.
42222         * configure.ac (libc_cv_have_bash2): Delete.
42223         * configure: Regenerate.
42224         * elf/Makefile (common-ldd-rewrite): Rename to ...
42225         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
42226         (sh-ldd-rewrite): Delete.
42227         (bash-ldd-rewrite): Delete.
42228         (have-bash2): Delete checks.
42229         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
42230         ldd-rewrite.
42232         * config.make.in (have-ksh): Delete.
42233         (KSH): Delete.
42234         * configure.ac (libc_cv_have_ksh): Delete.
42235         * configure: Regenerate.
42237         * elf/Makefile: Delete $(have-ksh) check.
42238         ($(objpfx)sotruss): Change KSH to BASH.
42239         * elf/sotruss.ksh: Rename to ...
42240         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
42241         function style to match POSIX.  Drop ksh vim mode setting.
42243         * manual/time.texi (Specifying the Time Zone with TZ): Change
42244         Tuesday to Thursday.
42246         * debug/tst-longjmp_chk2.c: Update header comment.
42247         (stackoverflow_handler): Add comment.  Call assert on pass value.
42249 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
42251         [BZ #16194]
42252         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
42253         (HAVE_AVX512_ASM_SUPPORT): Likewise.
42254         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
42255         (La_x86_64_vector): Add zmm.
42256         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
42257         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
42258         ($(objpfx)tst-audit10): New target.
42259         ($(objpfx)tst-audit10.out): Likewise.
42260         (tst-audit10-ENV): New.
42261         (AVX512-CFLAGS): Likewise.
42262         (CFLAGS-tst-audit10.c): Likewise.
42263         (CFLAGS-tst-auditmod10a.c): Likewise.
42264         (CFLAGS-tst-auditmod10b.c): Likewise.
42265         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
42266         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
42267         * sysdeps/x86_64/configure: Regenerated.
42268         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
42269         AVX-512 zmm register support.
42270         (_dl_x86_64_save_sse): Likewise.
42271         (_dl_x86_64_restore_sse): Likewise.
42272         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
42273         size vector registers.
42274         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
42275         (ZMM_SIZE): Likewise.
42276         * sysdeps/x86_64/tst-audit10.c: New file.
42277         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
42278         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
42280 2014-03-13  Roland McGrath  <roland@hack.frob.com>
42282         * configure.ac (HAVE_EHDR_START): New check.
42283         * configure: Regenerated.
42284         * config.h.in (HAVE_EHDR_START): New #undef.
42285         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
42286         assuming the lowest-addressed segment maps the start of the file.
42288 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
42290         * INSTALL: Regenerated.
42292 2014-03-13  Will Newton  <will.newton@linaro.org>
42294         * manual/setjmp.texi (System V contexts): Improve
42295         clarity and grammar of documentation.
42297 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
42299         [BZ #16381]
42300         * elf/Makefile (tests): Add tst-pie2.
42301         (tests-pie): Add tst-pie2.
42302         * elf/tst-pie2.c: New file.
42303         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
42304         for ET_EXEC.
42305         * elf/rtld.c (map_doit): Load executable as lt_executable.
42306         (dl_main): Likewise.
42308 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
42310         [BZ #16642]
42311         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42312         (__ASSUME_PSELECT): Undefine.
42314 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42316         [BZ #16689]
42317         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
42318         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
42319         static build.
42320         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
42321         selector for static builds.
42323 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42325         [BZ #16695]
42326         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
42327         key in the buffer.
42329 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42331         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
42332         IFUNC selector for static builds.
42334 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
42336         * sysdeps/mips/math_private.h [__mips_hard_float]
42337         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
42338         libc_feresetround_mips_ctx.
42339         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
42340         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
42341         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
42343         [BZ #16677]
42344         * math/s_nextafter.c (__nextafter): Do not return value from
42345         overflowing computation.
42346         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
42347         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
42348         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
42349         Likewise.
42350         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
42351         Likewise.
42352         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
42353         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
42355 2014-03-11  Roland McGrath  <roland@hack.frob.com>
42357         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
42358         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
42359         Move sfi_sp use from the load-multiple (that no longer sets sp) to
42360         the new mov targetting sp.
42362 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42364         [BZ #16683]
42365         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
42366         Define it for static builds as well.
42367         (NO_BZERO_IMPL): Likewise.
42369 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42371         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
42372         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
42373         multiarch strspn for PPC64.
42374         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
42375         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
42376         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42377         (__libc_ifunc_impl_list): Likewise.
42378         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
42379         multiarch optimizations
42380         * string/strspn.c (strspn): Using macro to redefine symbol name.
42382 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42383             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42385         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
42386         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
42387         multiarch strncat for PPC64.
42388         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
42389         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
42390         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42391         (__libc_ifunc_impl_list): Likewise.
42392         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
42393         multiarch optimizations
42395 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42397         [BZ #16639]
42398         * nscd/nscd.service: Make service type forking.
42400 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42402         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
42403         sign in non default rounding modes.
42404         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
42406 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
42408         * math/libm-test.inc (ALL_RM_TEST): New macro.
42409         (ceil_test): Use ALL_RM_TEST.
42410         (cimag_test): Likewise.
42411         (conj_test): Likewise.
42412         (copysign_test): Likewise.
42413         (cproj_test): Likewise.
42414         (creal_test): Likewise.
42415         (fabs_test): Likewise.
42416         (floor_test): Likewise.
42417         (fmax_test): Likewise.
42418         (fmin_test): Likewise.
42419         (fmod_test): Likewise.
42420         (fpclassify_test): Likewise.
42421         (frexp_test): Likewise.
42422         (ilogb_test): Likewise.
42423         (isfinite_test): Likewise.
42424         (finite_test): Likewise.
42425         (isgreater_test): Likewise.
42426         (isgreaterequal_test): Likewise.
42427         (isinf_test): Likewise.
42428         (isless_test): Likewise.
42429         (islessequal_test): Likewise.
42430         (islessgreater_test): Likewise.
42431         (isnan_test): Likewise.
42432         (isnormal_test): Likewise.
42433         (issignaling_test): Likewise.
42434         (isunordered_test): Likewise.
42435         (logb_test): Likewise.
42436         (logb_downward_test_data): Remove.
42437         (logb_test_downward): Likewise.
42438         (lround_test): Use ALL_RM_TEST.
42439         (llround_test): Likewise.
42440         (modf_test): Likewise.
42441         (nexttoward_test): Likewise.
42442         (remainder_test): Likewise.
42443         (drem_test): Likewise.
42444         (remainder_tonearest_test_data): Likewise.
42445         (remainder_test_tonearest): Likewise.
42446         (drem_test_tonearest): Likewise.
42447         (remainder_towardzero_test_data): Likewise.
42448         (remainder_test_towardzero): Likewise.
42449         (drem_test_towardzero): Likewise.
42450         (remainder_downward_test_data): Likewise.
42451         (remainder_test_downward): Likewise.
42452         (drem_test_downward): Likewise.
42453         (remainder_upward_test_data): Likewise.
42454         (remainder_test_upward): Likewise.
42455         (drem_test_upward): Likewise.
42456         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
42457         (round_test): Use ALL_RM_TEST.
42458         (signbit_test): Likewise.
42459         (trunc_test): Likewise.
42460         (significand_test): Likewise.
42461         (main): Don't call removed functions.
42463 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
42465         [BZ #16674]
42466         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
42467         || __USE_XOPEN2K8].
42468         (ILL_ILLOPN): Likewise.
42469         (ILL_ILLADR): Likewise.
42470         (ILL_ILLTRP): Likewise.
42471         (ILL_PRVOPC): Likewise.
42472         (ILL_PRVREG): Likewise.
42473         (ILL_COPROC): Likewise.
42474         (ILL_BADSTK): Likewise.
42475         (FPE_INTDIV): Likewise.
42476         (FPE_INTOVF): Likewise.
42477         (FPE_FLTDIV): Likewise.
42478         (FPE_FLTOVF): Likewise.
42479         (FPE_FLTUND): Likewise.
42480         (FPE_FLTRES): Likewise.
42481         (FPE_FLTINV): Likewise.
42482         (FPE_FLTSUB): Likewise.
42483         (SEGV_MAPERR): Likewise.
42484         (SEGV_ACCERR): Likewise.
42485         (BUS_ADRALN): Likewise.
42486         (BUS_ADRERR): Likewise.
42487         (BUS_OBJERR): Likewise.
42488         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42489         (TRAP_TRACE): Likewise.
42490         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42491         __USE_XOPEN2K8].
42492         (CLD_KILLED): Likewise.
42493         (CLD_DUMPED): Likewise.
42494         (CLD_TRAPPED): Likewise.
42495         (CLD_STOPPED): Likewise.
42496         (CLD_CONTINUED): Likewise.
42497         (POLL_IN): Likewise.
42498         (POLL_OUT): Likewise.
42499         (POLL_MSG): Likewise.
42500         (POLL_ERR): Likewise.
42501         (POLL_PRI): Likewise.
42502         (POLL_HUP): Likewise.
42503         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
42504         Likewise.
42505         (ILL_ILLOPN): Likewise.
42506         (ILL_ILLADR): Likewise.
42507         (ILL_ILLTRP): Likewise.
42508         (ILL_PRVOPC): Likewise.
42509         (ILL_PRVREG): Likewise.
42510         (ILL_COPROC): Likewise.
42511         (ILL_BADSTK): Likewise.
42512         (FPE_INTDIV): Likewise.
42513         (FPE_INTOVF): Likewise.
42514         (FPE_FLTDIV): Likewise.
42515         (FPE_FLTOVF): Likewise.
42516         (FPE_FLTUND): Likewise.
42517         (FPE_FLTRES): Likewise.
42518         (FPE_FLTINV): Likewise.
42519         (FPE_FLTSUB): Likewise.
42520         (SEGV_MAPERR): Likewise.
42521         (SEGV_ACCERR): Likewise.
42522         (BUS_ADRALN): Likewise.
42523         (BUS_ADRERR): Likewise.
42524         (BUS_OBJERR): Likewise.
42525         (BUS_MCEERR_AR): Likewise.
42526         (BUS_MCEERR_AO): Likewise.
42527         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42528         (TRAP_TRACE): Likewise.
42529         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42530         __USE_XOPEN2K8].
42531         (CLD_KILLED): Likewise.
42532         (CLD_DUMPED): Likewise.
42533         (CLD_TRAPPED): Likewise.
42534         (CLD_STOPPED): Likewise.
42535         (CLD_CONTINUED): Likewise.
42536         (POLL_IN): Likewise.
42537         (POLL_OUT): Likewise.
42538         (POLL_MSG): Likewise.
42539         (POLL_ERR): Likewise.
42540         (POLL_PRI): Likewise.
42541         (POLL_HUP): Likewise.
42542         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
42543         (ILL_ILLOPN): Likewise.
42544         (ILL_ILLADR): Likewise.
42545         (ILL_ILLTRP): Likewise.
42546         (ILL_PRVOPC): Likewise.
42547         (ILL_PRVREG): Likewise.
42548         (ILL_COPROC): Likewise.
42549         (ILL_BADSTK): Likewise.
42550         (FPE_INTDIV): Likewise.
42551         (FPE_INTOVF): Likewise.
42552         (FPE_FLTDIV): Likewise.
42553         (FPE_FLTOVF): Likewise.
42554         (FPE_FLTUND): Likewise.
42555         (FPE_FLTRES): Likewise.
42556         (FPE_FLTINV): Likewise.
42557         (FPE_FLTSUB): Likewise.
42558         (SEGV_MAPERR): Likewise.
42559         (SEGV_ACCERR): Likewise.
42560         (BUS_ADRALN): Likewise.
42561         (BUS_ADRERR): Likewise.
42562         (BUS_OBJERR): Likewise.
42563         (BUS_MCEERR_AR): Likewise.
42564         (BUS_MCEERR_AO): Likewise.
42565         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42566         (TRAP_TRACE): Likewise.
42567         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42568         __USE_XOPEN2K8].
42569         (CLD_KILLED): Likewise.
42570         (CLD_DUMPED): Likewise.
42571         (CLD_TRAPPED): Likewise.
42572         (CLD_STOPPED): Likewise.
42573         (CLD_CONTINUED): Likewise.
42574         (POLL_IN): Likewise.
42575         (POLL_OUT): Likewise.
42576         (POLL_MSG): Likewise.
42577         (POLL_ERR): Likewise.
42578         (POLL_PRI): Likewise.
42579         (POLL_HUP): Likewise.
42580         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
42581         Likewise.
42582         (ILL_ILLOPN): Likewise.
42583         (ILL_ILLADR): Likewise.
42584         (ILL_ILLTRP): Likewise.
42585         (ILL_PRVOPC): Likewise.
42586         (ILL_PRVREG): Likewise.
42587         (ILL_COPROC): Likewise.
42588         (ILL_BADSTK): Likewise.
42589         (ILL_BADIADDR): Likewise.
42590         (ILL_BREAK): Likewise.
42591         (FPE_INTDIV): Likewise.
42592         (FPE_INTOVF): Likewise.
42593         (FPE_FLTDIV): Likewise.
42594         (FPE_FLTOVF): Likewise.
42595         (FPE_FLTUND): Likewise.
42596         (FPE_FLTRES): Likewise.
42597         (FPE_FLTINV): Likewise.
42598         (FPE_FLTSUB): Likewise.
42599         (FPE_DECOVF): Likewise.
42600         (FPE_DECDIV): Likewise.
42601         (FPE_DECERR): Likewise.
42602         (FPE_INVASC): Likewise.
42603         (FPE_INVDEC): Likewise.
42604         (SEGV_MAPERR): Likewise.
42605         (SEGV_ACCERR): Likewise.
42606         (SEGV_PSTKOVF): Likewise.
42607         (BUS_ADRALN): Likewise.
42608         (BUS_ADRERR): Likewise.
42609         (BUS_OBJERR): Likewise.
42610         (BUS_MCEERR_AR): Likewise.
42611         (BUS_MCEERR_AO): Likewise.
42612         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42613         (TRAP_TRACE): Likewise.
42614         (TRAP_BRANCH): Likewise.
42615         (TRAP_HWBKPT): Likewise.
42616         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42617         __USE_XOPEN2K8].
42618         (CLD_KILLED): Likewise.
42619         (CLD_DUMPED): Likewise.
42620         (CLD_TRAPPED): Likewise.
42621         (CLD_STOPPED): Likewise.
42622         (CLD_CONTINUED): Likewise.
42623         (POLL_IN): Likewise.
42624         (POLL_OUT): Likewise.
42625         (POLL_MSG): Likewise.
42626         (POLL_ERR): Likewise.
42627         (POLL_PRI): Likewise.
42628         (POLL_HUP): Likewise.
42629         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
42630         (ILL_ILLOPN): Likewise.
42631         (ILL_ILLADR): Likewise.
42632         (ILL_ILLTRP): Likewise.
42633         (ILL_PRVOPC): Likewise.
42634         (ILL_PRVREG): Likewise.
42635         (ILL_COPROC): Likewise.
42636         (ILL_BADSTK): Likewise.
42637         (FPE_INTDIV): Likewise.
42638         (FPE_INTOVF): Likewise.
42639         (FPE_FLTDIV): Likewise.
42640         (FPE_FLTOVF): Likewise.
42641         (FPE_FLTUND): Likewise.
42642         (FPE_FLTRES): Likewise.
42643         (FPE_FLTINV): Likewise.
42644         (FPE_FLTSUB): Likewise.
42645         (SEGV_MAPERR): Likewise.
42646         (SEGV_ACCERR): Likewise.
42647         (BUS_ADRALN): Likewise.
42648         (BUS_ADRERR): Likewise.
42649         (BUS_OBJERR): Likewise.
42650         (BUS_MCEERR_AR): Likewise.
42651         (BUS_MCEERR_AO): Likewise.
42652         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42653         (TRAP_TRACE): Likewise.
42654         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42655         __USE_XOPEN2K8].
42656         (CLD_KILLED): Likewise.
42657         (CLD_DUMPED): Likewise.
42658         (CLD_TRAPPED): Likewise.
42659         (CLD_STOPPED): Likewise.
42660         (CLD_CONTINUED): Likewise.
42661         (POLL_IN): Likewise.
42662         (POLL_OUT): Likewise.
42663         (POLL_MSG): Likewise.
42664         (POLL_ERR): Likewise.
42665         (POLL_PRI): Likewise.
42666         (POLL_HUP): Likewise.
42667         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
42668         (ILL_ILLOPN): Likewise.
42669         (ILL_ILLADR): Likewise.
42670         (ILL_ILLTRP): Likewise.
42671         (ILL_PRVOPC): Likewise.
42672         (ILL_PRVREG): Likewise.
42673         (ILL_COPROC): Likewise.
42674         (ILL_BADSTK): Likewise.
42675         (FPE_INTDIV): Likewise.
42676         (FPE_INTOVF): Likewise.
42677         (FPE_FLTDIV): Likewise.
42678         (FPE_FLTOVF): Likewise.
42679         (FPE_FLTUND): Likewise.
42680         (FPE_FLTRES): Likewise.
42681         (FPE_FLTINV): Likewise.
42682         (FPE_FLTSUB): Likewise.
42683         (SEGV_MAPERR): Likewise.
42684         (SEGV_ACCERR): Likewise.
42685         (BUS_ADRALN): Likewise.
42686         (BUS_ADRERR): Likewise.
42687         (BUS_OBJERR): Likewise.
42688         (BUS_MCEERR_AR): Likewise.
42689         (BUS_MCEERR_AO): Likewise.
42690         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42691         (TRAP_TRACE): Likewise.
42692         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42693         __USE_XOPEN2K8].
42694         (CLD_KILLED): Likewise.
42695         (CLD_DUMPED): Likewise.
42696         (CLD_TRAPPED): Likewise.
42697         (CLD_STOPPED): Likewise.
42698         (CLD_CONTINUED): Likewise.
42699         (POLL_IN): Likewise.
42700         (POLL_OUT): Likewise.
42701         (POLL_MSG): Likewise.
42702         (POLL_ERR): Likewise.
42703         (POLL_PRI): Likewise.
42704         (POLL_HUP): Likewise.
42705         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
42706         (ILL_ILLOPN): Likewise.
42707         (ILL_ILLADR): Likewise.
42708         (ILL_ILLTRP): Likewise.
42709         (ILL_PRVOPC): Likewise.
42710         (ILL_PRVREG): Likewise.
42711         (ILL_COPROC): Likewise.
42712         (ILL_BADSTK): Likewise.
42713         (FPE_INTDIV): Likewise.
42714         (FPE_INTOVF): Likewise.
42715         (FPE_FLTDIV): Likewise.
42716         (FPE_FLTOVF): Likewise.
42717         (FPE_FLTUND): Likewise.
42718         (FPE_FLTRES): Likewise.
42719         (FPE_FLTINV): Likewise.
42720         (FPE_FLTSUB): Likewise.
42721         (SEGV_MAPERR): Likewise.
42722         (SEGV_ACCERR): Likewise.
42723         (BUS_ADRALN): Likewise.
42724         (BUS_ADRERR): Likewise.
42725         (BUS_OBJERR): Likewise.
42726         (BUS_MCEERR_AR): Likewise.
42727         (BUS_MCEERR_AO): Likewise.
42728         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42729         (TRAP_TRACE): Likewise.
42730         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42731         __USE_XOPEN2K8].
42732         (CLD_KILLED): Likewise.
42733         (CLD_DUMPED): Likewise.
42734         (CLD_TRAPPED): Likewise.
42735         (CLD_STOPPED): Likewise.
42736         (CLD_CONTINUED): Likewise.
42737         (POLL_IN): Likewise.
42738         (POLL_OUT): Likewise.
42739         (POLL_MSG): Likewise.
42740         (POLL_ERR): Likewise.
42741         (POLL_PRI): Likewise.
42742         (POLL_HUP): Likewise.
42743         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
42744         (ILL_ILLOPN): Likewise.
42745         (ILL_ILLADR): Likewise.
42746         (ILL_ILLTRP): Likewise.
42747         (ILL_PRVOPC): Likewise.
42748         (ILL_PRVREG): Likewise.
42749         (ILL_COPROC): Likewise.
42750         (ILL_BADSTK): Likewise.
42751         (ILL_DBLFLT): Likewise.
42752         (ILL_HARDWALL): Likewise.
42753         (FPE_INTDIV): Likewise.
42754         (FPE_INTOVF): Likewise.
42755         (FPE_FLTDIV): Likewise.
42756         (FPE_FLTOVF): Likewise.
42757         (FPE_FLTUND): Likewise.
42758         (FPE_FLTRES): Likewise.
42759         (FPE_FLTINV): Likewise.
42760         (FPE_FLTSUB): Likewise.
42761         (SEGV_MAPERR): Likewise.
42762         (SEGV_ACCERR): Likewise.
42763         (BUS_ADRALN): Likewise.
42764         (BUS_ADRERR): Likewise.
42765         (BUS_OBJERR): Likewise.
42766         (BUS_MCEERR_AR): Likewise.
42767         (BUS_MCEERR_AO): Likewise.
42768         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42769         (TRAP_TRACE): Likewise.
42770         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42771         __USE_XOPEN2K8].
42772         (CLD_KILLED): Likewise.
42773         (CLD_DUMPED): Likewise.
42774         (CLD_TRAPPED): Likewise.
42775         (CLD_STOPPED): Likewise.
42776         (CLD_CONTINUED): Likewise.
42777         (POLL_IN): Likewise.
42778         (POLL_OUT): Likewise.
42779         (POLL_MSG): Likewise.
42780         (POLL_ERR): Likewise.
42781         (POLL_PRI): Likewise.
42782         (POLL_HUP): Likewise.
42783         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
42784         (ILL_ILLOPN): Likewise.
42785         (ILL_ILLADR): Likewise.
42786         (ILL_ILLTRP): Likewise.
42787         (ILL_PRVOPC): Likewise.
42788         (ILL_PRVREG): Likewise.
42789         (ILL_COPROC): Likewise.
42790         (ILL_BADSTK): Likewise.
42791         (FPE_INTDIV): Likewise.
42792         (FPE_INTOVF): Likewise.
42793         (FPE_FLTDIV): Likewise.
42794         (FPE_FLTOVF): Likewise.
42795         (FPE_FLTUND): Likewise.
42796         (FPE_FLTRES): Likewise.
42797         (FPE_FLTINV): Likewise.
42798         (FPE_FLTSUB): Likewise.
42799         (SEGV_MAPERR): Likewise.
42800         (SEGV_ACCERR): Likewise.
42801         (BUS_ADRALN): Likewise.
42802         (BUS_ADRERR): Likewise.
42803         (BUS_OBJERR): Likewise.
42804         (BUS_MCEERR_AR): Likewise.
42805         (BUS_MCEERR_AO): Likewise.
42806         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42807         (TRAP_TRACE): Likewise.
42808         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42809         __USE_XOPEN2K8].
42810         (CLD_KILLED): Likewise.
42811         (CLD_DUMPED): Likewise.
42812         (CLD_TRAPPED): Likewise.
42813         (CLD_STOPPED): Likewise.
42814         (CLD_CONTINUED): Likewise.
42815         (POLL_IN): Likewise.
42816         (POLL_OUT): Likewise.
42817         (POLL_MSG): Likewise.
42818         (POLL_ERR): Likewise.
42819         (POLL_PRI): Likewise.
42820         (POLL_HUP): Likewise.
42821         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
42822         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
42824         [BZ #16670]
42825         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
42826         before #include of <time.h>.
42827         [!__USE_XOPEN2K] (__need_timespec): Likewise.
42828         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
42829         (test-xfail-UNIX98/sched.h/conform): Likewise.
42831 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42833         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
42834         error absence of trapping exception support.
42835         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
42837 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
42839         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
42840         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
42841         * timezone/Makefile (testdata): Move definition above include of
42842         Rules.
42843         (test-zones): New variable.
42844         (tests-special): Add zone files.
42845         (build-testdata): Use $(evaluate-test).
42847         * elf/Makefile (tests-special): Rename tests to end with .out.
42848         ($(objpfx)noload-mem): Likewise.
42849         ($(objpfx)tst-leaks1-mem): Likewise.
42850         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
42851         * iconv/Makefile (xtests-special): Change test-iconvconfig to
42852         $(objpfx)test-iconvconfig.out.
42853         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
42854         set -e inside subshell and redirect output to file.
42855         * iconvdata/Makefile (generated): Rename tests to end with .out.
42856         Correct type.
42857         (tests-special): Rename tests to end with .out.
42858         ($(objpfx)mtrace-tst-loading): Likewise.
42859         * intl/Makefile (generated): Likewise.
42860         (tests-special): Likewise.
42861         ($(objpfx)mtrace-tst-gettext): Likewise.
42862         * misc/Makefile (generated): Likewise.
42863         (tests-special): Likewise.
42864         ($(objpfx)tst-error1-mem): Likewise.
42865         * nptl/Makefile (tests-special): Likewise.
42866         ($(objpfx)tst-stack3-mem): Likewise.
42867         (generated): Likewise.
42868         * posix/Makefile (generated): Likewise.
42869         (tests-special): Likewise.
42870         (xtests-special): Likewise.
42871         ($(objpfx)tst-fnmatch-mem): Likewise.
42872         ($(objpfx)bug-regex2-mem): Likewise.
42873         ($(objpfx)bug-regex14-mem): Likewise.
42874         ($(objpfx)bug-regex21-mem): Likewise.
42875         ($(objpfx)bug-regex31-mem): Likewise.
42876         ($(objpfx)tst-vfork3-mem): Likewise.
42877         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
42878         ($(objpfx)tst-pcre-mem): Likewise.
42879         ($(objpfx)tst-boost-mem): Likewise.
42880         ($(objpfx)bug-ga2-mem): Likewise.
42881         ($(objpfx)bug-glob2-mem): Likewise.
42882         * resolv/Makefile (generate): Likewise.
42883         (tests-special): Likewise.
42884         (xtests-special): Likewise.
42885         (generated): Likewise.
42886         ($(objpfx)mtrace-tst-leaks): Likewise.
42887         ($(objpfx)mtrace-tst-leaks2): Likewise.
42889         * scripts/merge-test-results.sh: New file.
42890         * Makefile (tests-special-notdir): New variable.
42891         (tests): Run merge-test-results.sh.
42892         (xtests): Likewise.
42893         * Rules (tests-special-notdir): New variable.
42894         (xtests-special-notdir): Likewise.
42895         (tests): Run merge-test-results.sh
42896         (xtests): Likewise.
42898         * Makeconfig (test-xfail-name): New variable.
42899         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
42900         compute variable name for expected failures.
42901         * conform/Makefile (conformtest-headers-data): New variable.
42902         (conformtest-standards): Likewise.
42903         (conformtest-headers-ISO): Likewise.
42904         (conformtest-headers-ISO99): Likewise.
42905         (conformtest-headers-ISO11): Likewise.
42906         (conformtest-headers-POSIX): Likewise.
42907         (conformtest-headers-XPG3): Likewise.
42908         (conformtest-headers-XPG4): Likewise.
42909         (conformtest-headers-UNIX98): Likewise.
42910         (conformtest-headers-XOPEN2K): Likewise.
42911         (conformtest-headers-POSIX2008): Likewise.
42912         (conformtest-headers-XOPEN2K8): Likewise.
42913         (conformtest-header-list-base): Likewise.
42914         (conformtest-header-list-tests): Likewise.
42915         (conformtest-header-base): Likewise.
42916         (conformtest-header-tests): Likewise.
42917         (tests-special): Add $(conformtest-header-list-tests).  If
42918         [$(fast-check) && !$(cross-compiling)], add
42919         $(conformtest-header-tests) instead of
42920         $(objpfx)run-conformtest.out.
42921         (generated): Add $(conformtest-header-list-base).  If
42922         [$(fast-check) && !$(cross-compiling)], add
42923         $(conformtest-header-base).  Remove previous setting.
42924         ($(conformtest-header-list-tests)): New target.
42925         (test-xfail-run-conformtest): Remove variable.
42926         ($(objpfx)run-conformtest.out): Remove target.
42927         (test-xfail-ISO11/complex.h/conform): New variable.
42928         (test-xfail-ISO11/stdalign.h/conform): Likewise.
42929         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
42930         (test-xfail-XPG3/varargs.h/conform): Likewise.
42931         (test-xfail-XPG4/varargs.h/conform): Likewise.
42932         (test-xfail-UNIX98/varargs.h/conform): Likewise.
42933         (test-xfail-XPG4/ndbm.h/conform): Likewise.
42934         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
42935         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
42936         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
42937         (test-xfail-XPG3/fcntl.h/conform): Likewise.
42938         (test-xfail-XPG3/ftw.h/conform): Likewise.
42939         (test-xfail-XPG3/grp.h/conform): Likewise.
42940         (test-xfail-XPG3/langinfo.h/conform): Likewise.
42941         (test-xfail-XPG3/limits.h/conform): Likewise.
42942         (test-xfail-XPG3/pwd.h/conform): Likewise.
42943         (test-xfail-XPG3/search.h/conform): Likewise.
42944         (test-xfail-XPG3/signal.h/conform): Likewise.
42945         (test-xfail-XPG3/stdio.h/conform): Likewise.
42946         (test-xfail-XPG3/stdlib.h/conform): Likewise.
42947         (test-xfail-XPG3/string.h/conform): Likewise.
42948         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
42949         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
42950         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
42951         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
42952         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
42953         (test-xfail-XPG3/sys/types.h/conform): Likewise.
42954         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
42955         (test-xfail-XPG3/termios.h/conform): Likewise.
42956         (test-xfail-XPG3/time.h/conform): Likewise.
42957         (test-xfail-XPG3/unistd.h/conform): Likewise.
42958         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
42959         (test-xfail-XPG4/fcntl.h/conform): Likewise.
42960         (test-xfail-XPG4/langinfo.h/conform): Likewise.
42961         (test-xfail-XPG4/netdb.h/conform): Likewise.
42962         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
42963         (test-xfail-XPG4/signal.h/conform): Likewise.
42964         (test-xfail-XPG4/stdio.h/conform): Likewise.
42965         (test-xfail-XPG4/stdlib.h/conform): Likewise.
42966         (test-xfail-XPG4/stropts.h/conform): Likewise.
42967         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
42968         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
42969         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
42970         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
42971         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
42972         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
42973         (test-xfail-XPG4/sys/time.h/conform): Likewise.
42974         (test-xfail-XPG4/sys/types.h/conform): Likewise.
42975         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
42976         (test-xfail-XPG4/termios.h/conform): Likewise.
42977         (test-xfail-XPG4/ucontext.h/conform): Likewise.
42978         (test-xfail-XPG4/unistd.h/conform): Likewise.
42979         (test-xfail-XPG4/utmpx.h/conform): Likewise.
42980         (test-xfail-POSIX/sched.h/conform): Likewise.
42981         (test-xfail-POSIX/signal.h/conform): Likewise.
42982         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
42983         (test-xfail-POSIX/tar.h/conform): Likewise.
42984         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
42985         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
42986         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
42987         (test-xfail-UNIX98/netdb.h/conform): Likewise.
42988         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
42989         (test-xfail-UNIX98/sched.h/conform): Likewise.
42990         (test-xfail-UNIX98/signal.h/conform): Likewise.
42991         (test-xfail-UNIX98/stdio.h/conform): Likewise.
42992         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
42993         (test-xfail-UNIX98/stropts.h/conform): Likewise.
42994         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
42995         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
42996         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
42997         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
42998         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
42999         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
43000         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
43001         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
43002         (test-xfail-UNIX98/unistd.h/conform): Likewise.
43003         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
43004         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
43005         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
43006         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
43007         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
43008         (test-xfail-XOPEN2K/math.h/conform): Likewise.
43009         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
43010         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
43011         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
43012         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
43013         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
43014         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
43015         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
43016         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
43017         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
43018         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
43019         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
43020         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
43021         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
43022         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
43023         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
43024         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
43025         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
43026         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
43027         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
43028         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
43029         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
43030         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
43031         (test-xfail-POSIX2008/signal.h/conform): Likewise.
43032         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
43033         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
43034         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
43035         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
43036         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
43037         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
43038         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
43039         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
43040         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
43041         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
43042         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
43043         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
43044         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
43045         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
43046         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
43047         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
43048         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
43049         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
43050         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
43051         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
43052         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
43053         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
43054         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
43055         (conformtest-cc-flags): Likewise.
43056         ($(conformtest-header-tests): New target.
43057         * conform/check-header-lists.sh: New file.
43058         * conform/run-conformtest.sh: Remove.
43060         * conform/conformtest.pl: Allow ' and \ in values given for
43061         constants.
43062         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
43063         inclusion.
43064         [POSIX] (sys/types.h): Likewise.
43065         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
43066         inclusion.
43067         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
43068         inclusion.
43069         * conform/data/signal.h-data (SIGIO): Remove expectation.
43070         [XPG3] (SIGBUS): Do not expect.
43071         [POSIX || XPG3] (SIGPOLL): Likewise.
43072         [POSIX || XPG3] (SIGPROF): Likewise.
43073         [POSIX || XPG3] (SIGSYS): Likewise.
43074         [XPG3] (SIGTRAP): Likewise.
43075         [POSIX || XPG3] (SIGURG): Likewise.
43076         [POSIX || XPG3] (SIGVTALRM): Likewise.
43077         [POSIX || XPG3] (SIGXCPU): Likewise.
43078         [POSIX || XPG3] (SIGXFSZ): Likewise.
43079         [POSIX] (SA_SIGINFO): Expect.
43080         [XPG3] (siginfo_t): Do not expect type or contents.
43081         [POSIX] (si_pid): Do not expect element.
43082         [POSIX] (si_uid): Likewise.
43083         [POSIX] (si_addr): Likewise.
43084         [POSIX] (si_status): Likewise.
43085         [POSIX] (si_band): Likewise.
43086         [XPG4] (si_value): Likewise.
43087         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
43088         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
43089         [POSIX || XPG3] (ILL_ILLADR): Likewise.
43090         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
43091         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
43092         [POSIX || XPG3] (ILL_PRVREG): Likewise.
43093         [POSIX || XPG3] (ILL_COPROC): Likewise.
43094         [POSIX || XPG3] (ILL_BADSTK): Likewise.
43095         [POSIX || XPG3] (FPE_INTDIV): Likewise.
43096         [POSIX || XPG3] (FPE_INTOVF): Likewise.
43097         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
43098         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
43099         [POSIX || XPG3] (FPE_FLTUND): Likewise.
43100         [POSIX || XPG3] (FPE_FLTRES): Likewise.
43101         [POSIX || XPG3] (FPE_FLTINV): Likewise.
43102         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
43103         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
43104         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
43105         [POSIX || XPG3] (BUS_ADRALN): Likewise.
43106         [POSIX || XPG3] (BUS_ADRERR): Likewise.
43107         [POSIX || XPG3] (BUS_OBJERR): Likewise.
43108         [POSIX || XPG3] (CLD_EXITED): Likewise.
43109         [POSIX || XPG3] (CLD_KILLED): Likewise.
43110         [POSIX || XPG3] (CLD_DUMPED): Likewise.
43111         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
43112         [POSIX || XPG3] (CLD_STOPPED): Likewise.
43113         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
43114         [POSIX || XPG3] (POLL_IN): Likewise.
43115         [POSIX || XPG3] (POLL_OUT): Likewise.
43116         [POSIX || XPG3] (POLL_MSG): Likewise.
43117         [POSIX || XPG3] (POLL_ERR): Likewise.
43118         [POSIX || XPG3] (POLL_PRI): Likewise.
43119         [POSIX || XPG3] (POLL_HUP): Likewise.
43120         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
43121         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
43122         (SIG*): Do not allow.
43123         [XPG3] (si_*): Likewise.
43124         [XPG3] (SI_*): Likewise.
43125         [XPG3 || XPG4] (sigev_*): Likewise.
43126         [XPG3 || XPG4] (SIGEV_*): Likewise.
43127         [XPG3 || XPG4] (sival_*): Likewise.
43128         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
43129         [POSIX || XPG3] (BUS_*): Likewise.
43130         [POSIX || XPG3] (CLD_*): Likewise.
43131         [POSIX || XPG3] (FPE_*): Likewise.
43132         [POSIX || XPG3] (ILL_*): Likewise.
43133         [POSIX || XPG3] (POLL_*): Likewise.
43134         [POSIX || XPG3] (SEGV_*): Likewise.
43135         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
43136         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
43137         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
43138         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
43139         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
43140         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
43141         Specify type and value.
43142         (TVERSLEN): Likewise.
43143         (REGTYPE): Likewise.
43144         (AREGTYPE): Likewise.
43145         (LNKTYPE): Likewise.
43146         (SYMTYPE): Likewise.
43147         (CHRTYPE): Likewise.
43148         (BLKTYPE): Likewise.
43149         (DIRTYPE): Likewise.
43150         (FIFOTYPE): Likewise.
43151         (CONTTYPE): Likewise.
43152         (TSUID): Likewise.
43153         (TSGID): Likewise.
43154         (TSVTX): Likewise.
43155         (TUREAD): Likewise.
43156         (TUWRITE): Likewise.
43157         (TUEXEC): Likewise.
43158         (TGREAD): Likewise.
43159         (TGWRITE): Likewise.
43160         (TGEXEC): Likewise.
43161         (TOREAD): Likewise.
43162         (TOWRITE): Likewise.
43163         (TOEXEC): Likewise.
43164         [POSIX] (TSVTX): Expect constant.
43166 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
43168         * Makefile (tests): Change dependencies to ....
43169         (tests-special): ... additions to this variable.
43170         (tests): Depend on $(tests-special).
43171         * Makerules (check-abi-list): New variable.
43172         (check-abi): Depend on $(check-abi-list).
43173         [$(subdir) = elf] (tests-special): Add
43174         $(objpfx)check-abi-libc.out.
43175         [$(build-shared) = yes && subdir] (tests-special): Add
43176         $(check-abi-list).
43177         [$(build-shared) = yes && subdir] (tests): Do not depend on
43178         check-abi.
43179         * Rules (tests): Depend on $(tests-special).
43180         (xtests): Depend on $(xtests-special).
43181         * catgets/Makefile (tests): Change dependencies to ....
43182         (tests-special): ... additions to this variable.
43183         * conform/Makefile (tests): Change dependencies to ....
43184         (tests-special): ... additions to this variable.
43185         * elf/Makefile (tests): Change dependencies to ....
43186         (tests-special): ... additions to this variable.
43187         * grp/Makefile (tests): Change dependencies to ....
43188         (tests-special): ... additions to this variable.
43189         * iconv/Makefile (xtests): Change dependencies to ....
43190         (xtests-special): ... additions to this variable.
43191         * iconvdata/Makefile (tests): Change dependencies to ....
43192         (tests-special): ... additions to this variable.
43193         * intl/Makefile (tests): Change dependencies to ....
43194         (tests-special): ... additions to this variable.  Also add
43195         $(objpfx)tst-gettext.out.
43196         * io/Makefile (tests): Change dependencies to ....
43197         (tests-special): ... additions to this variable.
43198         * libio/Makefile (tests): Change dependencies to ....
43199         (tests-special): ... additions to this variable.
43200         * malloc/Makefile (tests): Change dependencies to ....
43201         (tests-special): ... additions to this variable.
43202         * misc/Makefile (tests): Change dependencies to ....
43203         (tests-special): ... additions to this variable.
43204         * nptl/Makefile (tests): Change dependencies to ....
43205         (tests-special): ... additions to this variable.
43206         * nptl_db/Makefile (tests): Change dependencies to ....
43207         (tests-special): ... additions to this variable.
43208         * posix/Makefile (tests): Change dependencies to ....
43209         (tests-special): ... additions to this variable.
43210         (xtests): Change dependencies to ....
43211         (xtests-special): ... additions to this variable.
43212         * resolv/Makefile (tests): Change dependencies to ....
43213         (tests-special): ... additions to this variable.
43214         (xtests): Change dependencies to ....
43215         (xtests-special): ... additions to this variable.
43216         * stdio-common/Makefile (tests): Change dependencies to ....
43217         (tests-special): ... additions to this variable.
43218         (do-tst-unbputc): Remove target.
43219         (do-tst-printf): Likewise.
43220         * stdlib/Makefile (tests): Change dependencies to ....
43221         (tests-special): ... additions to this variable.
43222         * string/Makefile (tests): Change dependencies to ....
43223         (tests-special): ... additions to this variable.
43224         * sysdeps/x86/Makefile (tests): Change dependencies to ....
43225         (tests-special): ... additions to this variable.
43227         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
43228         whole file.
43229         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
43230         whole file.
43231         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
43232         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
43234         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
43235         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
43236         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
43237         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
43238         * conform/data/libgen.h-data [XPG3]: Likewise.
43239         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
43240         * conform/data/ndbm.h-data [XPG3]: Likewise.
43241         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
43242         * conform/data/netdb.h-data [XPG3]: Likewise.
43243         * conform/data/netinet/in.h-data [XPG3]: Likewise.
43244         * conform/data/poll.h-data [XPG3]: Likewise.
43245         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
43246         * conform/data/strings.h-data [XPG3]: Likewise.
43247         * conform/data/stropts.h-data [XPG3]: Likewise.
43248         * conform/data/sys/mman.h-data [XPG3]: Likewise.
43249         * conform/data/sys/resource.h-data [XPG3]: Likewise.
43250         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
43251         Likewise.
43252         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
43253         * conform/data/sys/time.h-data [XPG3]: Likewise.
43254         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
43255         * conform/data/sys/uio.h-data [XPG3]: Likewise.
43256         * conform/data/sys/un.h-data [XPG3]: Likewise.
43257         * conform/data/syslog.h-data [XPG3]: Likewise.
43258         * conform/data/ucontext.h-data [XPG3]: Likewise.
43259         * conform/data/utmpx.h-data [XPG3]: Likewise.
43260         * conform/data/varargs.h-data [UNIX98]: Enable file.
43262         * manual/Makefile (INSTALL_INFO): Remove variable setting.
43264         * math/libm-test.inc (struct test_f_f_data): Move expected results
43265         into structure for each rounding mode.
43266         (struct test_ff_f_data): Likewise.
43267         (struct test_ff_f_data_nexttoward): Likewise.
43268         (struct test_fi_f_data): Likewise.
43269         (struct test_fl_f_data): Likewise.
43270         (struct test_if_f_data): Likewise.
43271         (struct test_fff_f_data): Likewise.
43272         (struct test_c_f_data): Likewise.
43273         (struct test_f_f1_data): Likewise.
43274         (struct test_fF_f1_data): Likewise.
43275         (struct test_ffI_f1_data): Likewise.
43276         (struct test_c_c_data): Likewise.
43277         (struct test_cc_c_data): Likewise.
43278         (struct test_f_i_data): Likewise.
43279         (struct test_ff_i_data): Likewise.
43280         (struct test_f_l_data): Likewise.
43281         (struct test_f_L_data): Likewise.
43282         (struct test_fFF_11_data): Likewise.
43283         (RM_): New macro.
43284         (RM_FE_DOWNWARD): Likewise.
43285         (RM_FE_TONEAREST): Likewise.
43286         (RM_FE_TOWARDZERO): Likewise.
43287         (RM_FE_UPWARD): Likewise.
43288         (RUN_TEST_LOOP_f_f): Update references to expected results.
43289         (RUN_TEST_LOOP_2_f): Likewise.
43290         (RUN_TEST_LOOP_fff_f): Likewise.
43291         (RUN_TEST_LOOP_c_f): Likewise.
43292         (RUN_TEST_LOOP_f_f1): Likewise.
43293         (RUN_TEST_LOOP_fF_f1): Likewise.
43294         (RUN_TEST_LOOP_fI_f1): Likewise.
43295         (RUN_TEST_LOOP_ffI_f1): Likewise.
43296         (RUN_TEST_LOOP_c_c): Likewise.
43297         (RUN_TEST_LOOP_cc_c): Likewise.
43298         (RUN_TEST_LOOP_f_i): Likewise.
43299         (RUN_TEST_LOOP_f_i_tg): Likewise.
43300         (RUN_TEST_LOOP_ff_i_tg): Likewise.
43301         (RUN_TEST_LOOP_f_b): Likewise.
43302         (RUN_TEST_LOOP_f_b_tg): Likewise.
43303         (RUN_TEST_LOOP_f_l): Likewise.
43304         (RUN_TEST_LOOP_f_L): Likewise.
43305         (RUN_TEST_LOOP_fFF_11): Likewise.
43306         * math/gen-libm-test.pl (parse_args): Output four copies of
43307         expected results for each test.
43309         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43310         (__ASSUME_UTIMES): Remove.
43311         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43312         (__ASSUME_UTIMES): Likewise.
43314         * math/gen-auto-libm-tests.c: Update comment on output format.
43315         (output_for_one_input_case): Generate before-rounding and
43316         after-rounding information as conditions on output flags not
43317         floating-point format.
43318         * math/auto-libm-test-out: Regenerated.
43319         * math/gen-libm-test.pl (cond_value): New function.
43320         (or_cond_value): Use cond_value.
43321         (generate_testfile): Handle conditional exceptions.
43323 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
43325         * math/libm-test.inc (max_valid_error): New variable.
43326         (init_max_error): Take new argument specifying whether function
43327         results are exactly determined.  Set max_valid_error and bound
43328         other variables for errors based on this argument.
43329         (set_max_error): Do not record results above max_valid_error.
43330         (check_float_internal): Only accept errors of up to 0.5ulps if
43331         also at most max_valid_error.
43332         (START): Take new argument EXACT and pass it to init_max_error.
43333         (acos_test): Update call to START.
43334         (acos_test_tonearest): Likewise.
43335         (acos_test_towardzero): Likewise.
43336         (acos_test_downward): Likewise.
43337         (acos_test_upward): Likewise.
43338         (acosh_test): Likewise.
43339         (asin_test): Likewise.
43340         (asin_test_tonearest): Likewise.
43341         (asin_test_towardzero): Likewise.
43342         (asin_test_downward): Likewise.
43343         (asin_test_upward): Likewise.
43344         (asinh_test): Likewise.
43345         (atan_test): Likewise.
43346         (atanh_test): Likewise.
43347         (atan2_test): Likewise.
43348         (cabs_test): Likewise.
43349         (cacos_test): Likewise.
43350         (cacosh_test): Likewise.
43351         (carg_test): Likewise.
43352         (casin_test): Likewise.
43353         (casinh_test): Likewise.
43354         (catan_test): Likewise.
43355         (catanh_test): Likewise.
43356         (cbrt_test): Likewise.
43357         (ccos_test): Likewise.
43358         (ccosh_test): Likewise.
43359         (ceil_test): Likewise.
43360         (cexp_test): Likewise.
43361         (cimag_test): Likewise.
43362         (clog_test): Likewise.
43363         (clog10_test): Likewise.
43364         (conj_test): Likewise.
43365         (copysign_test): Likewise.
43366         (cos_test): Likewise.
43367         (cos_test_tonearest): Likewise.
43368         (cos_test_towardzero): Likewise.
43369         (cos_test_downward): Likewise.
43370         (cos_test_upward): Likewise.
43371         (cosh_test): Likewise.
43372         (cosh_test_tonearest): Likewise.
43373         (cosh_test_towardzero): Likewise.
43374         (cosh_test_downward): Likewise.
43375         (cosh_test_upward): Likewise.
43376         (cpow_test): Likewise.
43377         (cproj_test): Likewise.
43378         (creal_test): Likewise.
43379         (csin_test): Likewise.
43380         (csinh_test): Likewise.
43381         (csqrt_test): Likewise.
43382         (ctan_test): Likewise.
43383         (ctan_test_tonearest): Likewise.
43384         (ctan_test_towardzero): Likewise.
43385         (ctan_test_downward): Likewise.
43386         (ctan_test_upward): Likewise.
43387         (ctanh_test): Likewise.
43388         (ctanh_test_tonearest): Likewise.
43389         (ctanh_test_towardzero): Likewise.
43390         (ctanh_test_downward): Likewise.
43391         (ctanh_test_upward): Likewise.
43392         (erf_test): Likewise.
43393         (erfc_test): Likewise.
43394         (exp_test): Likewise.
43395         (exp_test_tonearest): Likewise.
43396         (exp_test_towardzero): Likewise.
43397         (exp_test_downward): Likewise.
43398         (exp_test_upward): Likewise.
43399         (exp10_test): Likewise.
43400         (exp10_test_tonearest): Likewise.
43401         (exp10_test_towardzero): Likewise.
43402         (exp10_test_downward): Likewise.
43403         (exp10_test_upward): Likewise.
43404         (pow10_test): Likewise.
43405         (exp2_test): Likewise.
43406         (expm1_test): Likewise.
43407         (expm1_test_tonearest): Likewise.
43408         (expm1_test_towardzero): Likewise.
43409         (expm1_test_downward): Likewise.
43410         (expm1_test_upward): Likewise.
43411         (fabs_test): Likewise.
43412         (fdim_test): Likewise.
43413         (floor_test): Likewise.
43414         (fma_test): Likewise.
43415         (fma_test_towardzero): Likewise.
43416         (fma_test_downward): Likewise.
43417         (fma_test_upward): Likewise.
43418         (fmax_test): Likewise.
43419         (fmin_test): Likewise.
43420         (fmod_test): Likewise.
43421         (fpclassify_test): Likewise.
43422         (frexp_test): Likewise.
43423         (hypot_test): Likewise.
43424         (ilogb_test): Likewise.
43425         (isfinite_test): Likewise.
43426         (finite_test): Likewise.
43427         (isgreater_test): Likewise.
43428         (isgreaterequal_test): Likewise.
43429         (isinf_test): Likewise.
43430         (isless_test): Likewise.
43431         (islessequal_test): Likewise.
43432         (islessgreater_test): Likewise.
43433         (isnan_test): Likewise.
43434         (isnormal_test): Likewise.
43435         (issignaling_test): Likewise.
43436         (isunordered_test): Likewise.
43437         (j0_test): Likewise.
43438         (j1_test): Likewise.
43439         (jn_test): Likewise.
43440         (ldexp_test): Likewise.
43441         (lgamma_test): Likewise.
43442         (gamma_test): Likewise.
43443         (lrint_test): Likewise.
43444         (lrint_test_tonearest): Likewise.
43445         (lrint_test_towardzero): Likewise.
43446         (lrint_test_downward): Likewise.
43447         (lrint_test_upward): Likewise.
43448         (llrint_test): Likewise.
43449         (llrint_test_tonearest): Likewise.
43450         (llrint_test_towardzero): Likewise.
43451         (llrint_test_downward): Likewise.
43452         (llrint_test_upward): Likewise.
43453         (log_test): Likewise.
43454         (log10_test): Likewise.
43455         (log1p_test): Likewise.
43456         (log2_test): Likewise.
43457         (logb_test): Likewise.
43458         (logb_test_downward): Likewise.
43459         (lround_test): Likewise.
43460         (llround_test): Likewise.
43461         (modf_test): Likewise.
43462         (nearbyint_test): Likewise.
43463         (nextafter_test): Likewise.
43464         (nexttoward_test): Likewise.
43465         (pow_test): Likewise.
43466         (pow_test_tonearest): Likewise.
43467         (pow_test_towardzero): Likewise.
43468         (pow_test_downward): Likewise.
43469         (pow_test_upward): Likewise.
43470         (remainder_test): Likewise.
43471         (drem_test): Likewise.
43472         (remainder_test_tonearest): Likewise.
43473         (drem_test_tonearest): Likewise.
43474         (remainder_test_towardzero): Likewise.
43475         (drem_test_towardzero): Likewise.
43476         (remainder_test_downward): Likewise.
43477         (drem_test_downward): Likewise.
43478         (remainder_test_upward): Likewise.
43479         (drem_test_upward): Likewise.
43480         (remquo_test): Likewise.
43481         (rint_test): Likewise.
43482         (rint_test_tonearest): Likewise.
43483         (rint_test_towardzero): Likewise.
43484         (rint_test_downward): Likewise.
43485         (rint_test_upward): Likewise.
43486         (round_test): Likewise.
43487         (scalb_test): Likewise.
43488         (scalbn_test): Likewise.
43489         (scalbln_test): Likewise.
43490         (signbit_test): Likewise.
43491         (sin_test): Likewise.
43492         (sin_test_tonearest): Likewise.
43493         (sin_test_towardzero): Likewise.
43494         (sin_test_downward): Likewise.
43495         (sin_test_upward): Likewise.
43496         (sincos_test): Likewise.
43497         (sinh_test): Likewise.
43498         (sinh_test_tonearest): Likewise.
43499         (sinh_test_towardzero): Likewise.
43500         (sinh_test_downward): Likewise.
43501         (sinh_test_upward): Likewise.
43502         (sqrt_test): Likewise.
43503         (sqrt_test_tonearest): Likewise.
43504         (sqrt_test_towardzero): Likewise.
43505         (sqrt_test_downward): Likewise.
43506         (sqrt_test_upward): Likewise.
43507         (tan_test): Likewise.
43508         (tan_test_tonearest): Likewise.
43509         (tan_test_towardzero): Likewise.
43510         (tan_test_downward): Likewise.
43511         (tan_test_upward): Likewise.
43512         (tanh_test): Likewise.
43513         (tgamma_test): Likewise.
43514         (trunc_test): Likewise.
43515         (y0_test): Likewise.
43516         (y1_test): Likewise.
43517         (yn_test): Likewise.
43518         (significand_test): Likewise.
43520         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
43521         individual tests in comment.
43522         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
43523         (prev_max_error): New variable.
43524         (prev_real_max_error): Likewise.
43525         (prev_imag_max_error): Likewise.
43526         (compare_ulp_data): Don't refer to test names in comment.
43527         (find_test_ulps): Remove function.
43528         (find_function_ulps): Likewise.
43529         (find_complex_function_ulps): Likewise.
43530         (init_max_error): Take function name as argument.  Look up ulps
43531         for that function.
43532         (print_ulps): Remove function.
43533         (print_max_error): Use prev_max_error instead of calling
43534         find_function_ulps.
43535         (print_complex_max_error): Use prev_real_max_error and
43536         prev_imag_max_error instead of calling find_complex_function_ulps.
43537         (check_float_internal): Take max_ulp parameter instead of calling
43538         find_test_ulps.  Don't call print_ulps.
43539         (check_float): Update call to check_float_internal.
43540         (check_complex): Update calls to check_float_internal.
43541         (START): Pass argument to init_max_error.
43542         * math/gen-libm-test.pl (%results): Don't include "kind"
43543         information.
43544         (parse_ulps): Don't handle ulps of individual tests.
43545         (print_ulps_file): Likewise.
43546         (output_ulps): Likewise.
43547         * math/README.libm-test: Update.
43548         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
43549         individual tests.
43550         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
43551         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
43552         * sysdeps/arm/libm-test-ulps: Likewise.
43553         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
43554         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
43555         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
43556         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
43557         * sysdeps/microblaze/libm-test-ulps: Likewise.
43558         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
43559         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
43560         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43561         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
43562         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43563         * sysdeps/sh/libm-test-ulps: Likewise.
43564         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43565         * sysdeps/tile/libm-test-ulps: Likewise.
43566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43568 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
43570         * math/libm-test.inc (print_complex_max_error): Check separately
43571         whether real and imaginary errors are within allowed range and
43572         pass 0 to print_complex_function_ulps instead of value within
43573         allowed range.
43575 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43577         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
43578         formatting.
43579         (get_handles_fopen): Likewise.
43580         (do_write_test): Likewise.
43582         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
43584         * libio/fileops.c (do_ftell): Use cached offset when
43585         available.
43586         * libio/iofwide.c (do_ftell_wide): Likewise.
43587         * libio/iofdopen.c (_IO_new_fdopen): Don't use
43588         _IO_file_attach.
43589         * libio/wfileops.c (_IO_fwide): Don't cache offset.
43591         [BZ #16532]
43592         * libio/libioP.h (get_file_offset): New function.
43593         * libio/fileops.c (get_file_offset): Likewise.
43594         (do_ftell): Likewise.
43595         (_IO_new_file_seekoff): Split out ftell logic.
43596         * libio/wfileops.c (do_ftell_wide): Likewise.
43597         (_IO_wfile_seekoff): Split out ftell logic.
43598         * libio/tst-ftell-active-handler.c: New test case.
43599         * libio/Makefile (tests): Add it.
43601 2014-03-03  Roland McGrath  <roland@hack.frob.com>
43603         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
43604         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
43606 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43608         [BZ #16639]
43609         * nscd/connections.c (nscd_init): Call do_exit.
43610         (start_threads): Call do_exit and notify_parent.
43611         (begin_drop_privileges): Call do_exit.
43612         (finish_drop_privileges): Likewise.
43613         * nscd/selinux.c (preserve_capabilities): Likewise.
43614         (install_real_capabilities): Likewise.
43615         (nscd_selinux_enabled): Likewise.
43616         (avc_create_thread): Likewise.
43617         (avc_alloc_lock): Likewise.
43618         (nscd_avc_init): Likewise.
43619         * nscd/nscd.c (parent_fd): New static variable.
43620         (main): Create a pipe between parent and child processes.
43621         Skip closing parent_fd.
43622         (monitor_child): New function.
43623         (do_exit): Likewise.
43624         (notify_parent): Likewise.
43625         * nscd/nscd.h (notify_parent): Likewise.
43626         (do_exit): Likewise.
43628 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
43630         * malloc/malloc.c (__libc_calloc): Revert last change.
43632 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43634         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43636 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43638         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
43639         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
43640         implementation.
43641         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43642         (__libc_ifunc_impl_list): Likewise.
43643         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
43644         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
43645         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
43646         * string/strrchr.c: Define STRRCHR.
43648 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
43650         * benchtest/bench-strtok.c (simple_strtok): Delete.
43651         (strtok_string): Use as benchmark.
43652         * string/strtok (STRTOK): New macro.
43654 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
43656         * manual/threads.texi: Add header and standard comments to all
43657         functions.
43659         * elf/dl-lookup.c (check_match): New function.
43660         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
43661         (do_lookup_x): Remove nested function check_match. Use non-nested
43662         function check_match.
43664 2014-02-28  Roland McGrath  <roland@hack.frob.com>
43666         * csu/Makefile (generated, before-compile): Use += rather than =.
43667         * catgets/Makefile (generated, generated-dirs): Likewise.
43668         * debug/Makefile (generated): Likewise.
43669         * dlfcn/Makefile (generated): Likewise.
43670         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
43671         * iconvdata/Makefile (before-compile, generated): Likewise.
43672         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
43673         * libio/Makefile (generated): Likewise.
43674         * malloc/Makefile (generated): Likewise.
43675         * manual/Makefile (generated, generated-dirs): Likewise.
43676         * misc/Makefile (generated): Likewise.
43677         * posix/Makefile (generated): Likewise.
43678         * resolv/Makefile (generated): Likewise.
43679         * sunrpc/Makefile (generated, generated-dirs): Likewise.
43680         * timezone/Makefile (generated, generated-dirs): Likewise.
43682         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
43684 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43686         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
43687         power8 implementation.
43688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
43689         file: POWER8 llround ifunc implementation.
43690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
43691         (__lllround): Add POWER8 implementation.
43692         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
43693         POWER8 llround implementation.
43695         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
43696         power8 implementation.
43697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
43698         file: POWER8 llrint ifunc implementation.
43699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
43700         Add POWER8 implementation.
43701         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
43702         POWER8 llrint implementation.
43704         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
43705         power8 implementation.
43706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
43707         file: POWER8 finite ifunc implementation.
43708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
43709         Add POWER8 implementation.
43710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
43711         Likewise.
43712         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
43713         POWER8 finite implementation.
43714         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
43716         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
43717         power8 implementation.
43718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
43719         file: POWER8 isinf ifunc implementation.
43720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
43721         POWER8 implementation.
43722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
43723         Likewise.
43724         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
43725         isinf implementation.
43726         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
43728         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
43729         (INIT_ARCH): Add hwcap2 initialization.
43730         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
43731         power8 implementation.
43732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
43733         file: POWER8 isnan ifunc implementation.
43734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
43735         POWER8 implementation.
43736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
43737         Likewise.
43738         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
43739         isnan implementation.
43740         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
43742 2014-02-27  Joey Ye  <joey.ye@arm.com>
43744         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
43745         (_FP_NANFRAC_Q): Set to zero.
43747 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43749         [BZ #16623]
43750         * math/auto-libm-test-in: New test inputs.
43751         * math/auto-libm-test-out: Regenerate.
43752         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
43753         and DA.
43754         (__cos): Likewise.
43755         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
43757 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
43759         * scripts/evaluate-test.sh: Take new argument indicating whether
43760         failure is expected.
43761         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
43762         indicating whether failure is expected.
43763         * conform/Makefile (test-xfail-run-conformtest): New variable.
43764         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
43765         level.
43766         * posix/Makefile (test-xfail-annexc): New variable.
43767         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
43769 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
43771         * argp/Makefile: Include Makeconfig immediately after defining
43772         subdir.
43773         * assert/Makefile: Likewise.
43774         * benchtests/Makefile: Likewise.
43775         * catgets/Makefile: Likewise.
43776         * conform/Makefile: Likewise.
43777         * crypt/Makefile: Likewise.
43778         * csu/Makefile: Likewise.
43779         (all): Remove target.
43780         * ctype/Makefile: Include Makeconfig immediately after defining
43781         subdir.
43782         * debug/Makefile: Likewise.
43783         * dirent/Makefile: Likewise.
43784         * dlfcn/Makefile: Likewise.
43785         * gmon/Makefile: Likewise.
43786         * gnulib/Makefile: Likewise.
43787         * grp/Makefile: Likewise.
43788         * gshadow/Makefile: Likewise.
43789         * hesiod/Makefile: Likewise.
43790         * hurd/Makefile: Likewise.
43791         (all): Remove target.
43792         * iconvdata/Makefile: Include Makeconfig immediately after
43793         defining subdir.
43794         * inet/Makefile: Likewise.
43795         * intl/Makefile: Likewise.
43796         * io/Makefile: Likewise.
43797         * libio/Makefile: Likewise.
43798         (all): Remove target.
43799         * locale/Makefile: Include Makeconfig immediately after defining
43800         subdir.
43801         * login/Makefile: Likewise.
43802         * mach/Makefile: Likewise.
43803         (all): Remove target.
43804         * malloc/Makefile: Include Makeconfig immediately after defining
43805         subdir.
43806         (all): Remove target.
43807         * manual/Makefile: Include Makeconfig immediately after defining
43808         subdir.
43809         * math/Makefile: Likewise.
43810         * misc/Makefile: Likewise.
43811         * nis/Makefile: Likewise.
43812         * nss/Makefile: Likewise.
43813         * po/Makefile: Likewise.
43814         (all): Remove target.
43815         * posix/Makefile: Include Makeconfig immediately after defining
43816         subdir.
43817         * pwd/Makefile: Likewise.
43818         * resolv/Makefile: Likewise.
43819         * resource/Makefile: Likewise.
43820         * rt/Makefile: Likewise.
43821         * setjmp/Makefile: Likewise.
43822         * shadow/Makefile: Likewise.
43823         * signal/Makefile: Likewise.
43824         * socket/Makefile: Likewise.
43825         * soft-fp/Makefile: Likewise.
43826         * stdio-common/Makefile: Likewise.
43827         * stdlib/Makefile: Likewise.
43828         * streams/Makefile: Likewise.
43829         * string/Makefile: Likewise.
43830         * sunrpc/Makefile: Likewise.
43831         (all): Remove target.
43832         * sysvipc/Makefile: Include Makeconfig immediately after defining
43833         subdir.
43834         * termios/Makefile: Likewise.
43835         * time/Makefile: Likewise.
43836         * timezone/Makefile: Likewise.
43837         (all): Remove target.
43838         * wcsmbs/Makefile: Include Makeconfig immediately after defining
43839         subdir.
43840         * wctype/Makefile: Likewise.
43842 2014-02-26  Steve Ellcey  <sellcey@mips.com>
43844         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
43845         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
43846         (libc_feholdexcept_setround_mips): Ditto.
43847         (libc_feholdsetround): New.
43848         (libc_feholdsetroundf): New.
43849         (libc_feholdsetroundl): New.
43850         (libc_feupdateenv_test_mips): New.
43851         (libc_feupdateenv_test): New.
43852         (libc_feupdateenv_testf): New.
43853         (libc_feupdateenv_testl): New.
43854         (libc_feresetround): New.
43855         (libc_feresetroundf): New.
43856         (libc_feresetroundl): New.
43857         (libc_fetestexcept_mips): New.
43858         (libc_fetestexcept): New.
43859         (libc_fetestexceptf): New.
43860         (libc_fetestexceptl): New.
43861         (HAVE_RM_CTX): New.
43862         (libc_feholdexcept_setround_mips_ctx): New.
43863         (libc_feholdexcept_setround_ctx): New.
43864         (libc_feholdexcept_setroundf_ctx): New.
43865         (libc_feholdexcept_setroundl_ctx): New.
43866         (libc_fesetenv_mips_ctx): New.
43867         (libc_fesetenv_ctx): New.
43868         (libc_fesetenv_ctxf): New.
43869         (libc_fesetenv_ctxl): New.
43870         (libc_feupdateenv_mips_ctx): New.
43871         (libc_feupdateenv_ctx): New.
43872         (libc_feupdateenvf_ctx): New.
43873         (libc_feupdateenvl_ctx): New.
43874         (libc_feholdsetround_mips_ctx): New.
43875         (libc_feholdsetround_ctx): New.
43876         (libc_feholdsetroundf_ctx): New.
43877         (libc_feholdsetroundl_ctx): New.
43878         (libc_feresetround_mips_ctx): New.
43879         (libc_feresetround_ctx): New.
43880         (libc_feresetroundf_ctx): New.
43881         (libc_feresetroundl_ctx): New.
43883 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
43885         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
43887         * manual/ipc.texi: New file.
43888         * manual/Makefile (chapters): Add ipc.
43889         * manual/job.texi: Add "Inter-Process Communication" to next.
43890         * manual/process.texi: Add "Inter-Process Communication" to prev.
43892 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43894         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43896 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
43898         * malloc/malloc.c (__libc_calloc): Simplify implementation.
43900         * manual/arith.texi: Fix spaces after sentences.
43901         * manual/charset.texi: Likewise.
43902         * manual/errno.texi: Likewise.
43903         * manual/install.texi: Likewise.
43904         * manual/llio.texi: Likewise.
43905         * manual/locale.texi: Likewise.
43906         * manual/maint.texi: Likewise.
43907         * manual/math.texi: Likewise.
43908         * manual/memory.texi: Likewise.
43909         * manual/message.texi: Likewise.
43910         * manual/probes.texi: Likewise.
43911         * manual/resource.texi: Likewise.
43912         * manual/signal.texi: Likewise.
43913         * manual/socket.texi: Likewise.
43914         * manual/stdio.texi: Likewise.
43915         * manual/string.texi: Likewise.
43916         * manual/time.texi: Likewise.
43917         * manual/users.texi: Likewise.
43919 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
43921         [BZ #16632]
43922         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
43923         _DEFAULT_SOURCE is defined.
43925 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
43926             Carlos O'Donell  <carlos@redhat.com>
43928         [BZ #16613]
43929         * elf/dl-tls.c (_dl_count_modids): New function.
43930         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
43931         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
43932         audit library and increment generation counter.
43933         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
43934         * elf/tst-audit9.c: New file.
43935         * elf/tst-auditmod9a.c: New file.
43936         * elf/tst-auditmod9b.c: New file.
43937         * elf/Makefile: Add rules to build and run tst-audit9.
43939 2014-02-25  Florian Weimer  <fweimer@redhat.com>
43941         [BZ #15347]
43942         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
43944 2014-02-25  Will Newton  <will.newton@linaro.org>
43946         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
43947         (__longjmp): Restore sp and lr before restoring callee
43948         saved registers.  Add longjmp and longjmp_target
43949         SystemTap probe point.
43950         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
43951         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
43952         Define to zero to match jmpbuf layout.
43953         * sysdeps/arm/setjmp.S: Include stap-probe.h.
43954         (__sigsetjmp): Save sp and lr before saving callee
43955         saved registers.  Add setjmp SystemTap probe point.
43957 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
43959         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43961 2014-02-24  Andreas Schwab  <schwab@suse.de>
43963         [BZ #15804]
43964         * elf/pldd.c (wait_for_ptrace_stop): New function.
43965         (main): Call it after attaching.
43967 2014-02-22  Roland McGrath  <roland@hack.frob.com>
43969         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
43970         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
43971         Versions files is now verboten.
43972         * hurd/Versions (libc: GLIBC_2.0):
43973         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
43974         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
43975         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
43976         * mach/Versions: Likewise.
43978         * csu/Versions: Remove unused %include.
43979         * resolv/Versions: Likewise.
43981 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
43983         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
43984         ($(objpfx)check-local-headers.out): Likewise.
43985         ($(objpfx)begin-end-check.out): Likewise.
43986         * Makerules (check-abi-%.out): Likewise.
43987         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
43988         ($(objpfx)test2.cat): Likewise.
43989         ($(objpfx)de/libc.cat): Likewise.
43990         ($(objpfx)test-gencat.out): Likewise.
43991         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
43992         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
43993         ($(objpfx)noload-mem): Likewise.
43994         ($(objpfx)tst-pathopt.out): Likewise.
43995         ($(objpfx)tst-rtld-load-self.out): Likewise.
43996         ($(objpfx)tst-array1-cmp.out): Likewise.
43997         ($(objpfx)tst-array1-static-cmp.out): Likewise.
43998         ($(objpfx)tst-array2-cmp.out): Likewise.
43999         ($(objpfx)tst-array3-cmp.out): Likewise.
44000         ($(objpfx)tst-array4-cmp.out): Likewise.
44001         ($(objpfx)tst-array5-cmp.out): Likewise.
44002         ($(objpfx)tst-array5-static-cmp.out): Likewise.
44003         ($(objpfx)check-textrel.out): Likewise.
44004         ($(objpfx)check-execstack.out): Likewise.
44005         ($(objpfx)check-localplt.out): Likewise.
44006         ($(objpfx)order2-cmp.out): Likewise.
44007         ($(objpfx)tst-leaks1-mem): Likewise.
44008         ($(objpfx)tst-leaks1-static-mem): Likewise.
44009         ($(objpfx)tst-initorder-cmp.out): Likewise.
44010         ($(objpfx)tst-initorder2-cmp.out): Likewise.
44011         ($(objpfx)tst-unused-dep.out): Likewise.
44012         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
44013         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
44014         * iconv/Makefile (test-iconvconfig): Likewise.
44015         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
44016         ($(objpfx)iconv-test.out): Likewise.
44017         ($(objpfx)tst-tables.out): Likewise.
44018         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
44019         ($(objpfx)tst-gettext.out): Likewise.
44020         ($(objpfx)tst-translit.out): Likewise.
44021         ($(objpfx)tst-gettext2.out): Likewise.
44022         ($(objpfx)tst-gettext4.out): Likewise.
44023         ($(objpfx)tst-gettext6.out): Likewise.
44024         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
44025         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
44026         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
44027         ($(objpfx)tst-fopenloc-mem.out): Likewise.
44028         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
44029         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
44030         * posix/Makefile ($(objpfx)globtest.out): Likewise.
44031         ($(objpfx)wordexp-tst.out): Likewise.
44032         ($(objpfx)annexc.out): Likewise.
44033         ($(objpfx)tst-fnmatch-mem): Likewise.
44034         ($(objpfx)bug-regex2-mem): Likewise.
44035         ($(objpfx)bug-regex14-mem): Likewise.
44036         ($(objpfx)bug-regex21-mem): Likewise.
44037         ($(objpfx)bug-regex31-mem): Likewise.
44038         ($(objpfx)tst-vfork3-mem): Likewise.
44039         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
44040         ($(objpfx)tst-pcre-mem): Likewise.
44041         ($(objpfx)tst-boost-mem): Likewise.
44042         ($(objpfx)tst-getconf.out): Likewise.
44043         ($(objpfx)bug-ga2-mem): Likewise.
44044         ($(objpfx)bug-glob2-mem): Likewise.
44045         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
44046         ($(objpfx)mtrace-tst-leaks2): Likewise.
44047         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
44048         ($(objpfx)tst-printf.out): Likewise.
44049         ($(objpfx)tst-setvbuf1.out): Likewise.
44050         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
44051         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
44052         ($(objpfx)tst-fmtmsg.out): Likewise.
44053         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
44054         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
44056         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
44057         * bits/sigaction.h [__USE_MISC]: Likewise.
44058         * bits/waitstatus.h: Update #endif comments.
44059         * ctype/ctype.h: Likewise.
44060         * dirent/dirent.h: Likewise.
44061         [__USE_MISC]: Remove redundant conditionals.
44062         * grp/grp.h: Update #endif comments.
44063         [__USE_GNU]: Remove redundant conditionals.
44064         [__USE_MISC]: Likewise.
44065         * inet/netinet/in.h [__USE_GNU]: Likewise.
44066         * io/sys/stat.h [__USE_MISC]: Likewise.
44067         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
44068         * libio/bits/stdio.h: Update #endif comments.
44069         [__USE_MISC]: Remove redundant conditionals.
44070         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
44071         * libio/stdio.h: Update #endif comments.
44072         [__USE_MISC]: Remove redundant conditionals.
44073         * math/bits/math-finite.h [__USE_MISC]: Likewise.
44074         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
44075         * math/math.h: Update #else and #endif comments.
44076         [__USE_MISC]: Remove redundant conditionals.
44077         * misc/sys/uio.h: Update #endif comments.
44078         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
44079         * posix/glob.h [__USE_MISC]: Likewise.
44080         * posix/sys/types.h: Update #endif comments.
44081         [__USE_MISC]: Remove redundant conditionals.
44082         * posix/sys/wait.h: Update #endif comments.
44083         [__USE_MISC]: Remove redundant conditionals.
44084         * posix/unistd.h: Update #endif comments.
44085         [__USE_MISC]: Remove redundant conditionals.
44086         * pwd/pwd.h [__USE_GNU]: Likewise.
44087         [__USE_MISC]: Likewise.
44088         * resolv/netdb.h [__USE_GNU]: Likewise.
44089         * signal/signal.h: Update #endif comments.
44090         [__USE_MISC]: Remove redundant conditionals.
44091         * stdlib/stdlib.h: Update #else and #endif comments.
44092         [__USE_MISC]: Remove redundant conditionals.
44093         [__USE_GNU]: Likewise.
44094         * string/bits/string2.h [__USE_MISC]: Likewise.
44095         * string/string.h: Update #endif comments.
44096         [__USE_MISC]: Remove redundant conditionals.
44097         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
44098         Likewise.
44099         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
44100         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
44101         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
44102         Likewise.
44103         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
44104         Likewise.
44105         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
44106         comments.
44107         [__USE_MISC]: Remove redundant conditionals.
44108         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
44109         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
44110         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
44111         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
44112         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
44113         Likewise.
44114         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
44115         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
44116         Likewise.
44117         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
44118         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
44119         Likewise.
44120         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
44121         Likewise.
44122         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
44123         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
44124         Likewise.
44125         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
44126         Likewise.
44127         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
44128         * sysdeps/x86/bits/string.h: Update #endif comments.
44129         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
44130         conditionals.
44131         * time/sys/time.h: Update #endif comments.
44132         * time/time.h: Likewise.
44133         [__USE_MISC]: Remove redundant conditionals.
44135 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
44137         [BZ #16600]
44138         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
44140 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
44142         * Versions.def (librt): Add GLIBC_2.17.
44144 2014-02-21  Adam Conrad  <adconrad@0c3.net>
44146         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
44147         synonym for _SYS_AUXV_H to allow direct inclusion.
44148         * sysdeps/sparc/bits/hwcap.h: Likewise.
44149         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
44150         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
44151         * sysdeps/sparc/sysdep.h: Likewise.
44153 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44155         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
44157 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
44159         * benchtests/bench-strrchr.c: Print length instead of position.
44161 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
44163         [BZ #16611]
44164         * sysdeps/unix/sysv/linux/kernel-features.h
44165         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
44166         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
44167         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
44168         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
44169         Likewise.
44170         [__i386__ || __powerpc__ || __sh__ || __sparc__]
44171         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44172         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
44173         (__ASSUME_SENDMMSG): Define instead of using previous
44174         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
44175         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
44176         (__ASSUME_SENDMMSG_SYSCALL): Define.
44177         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
44178         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
44179         Likewise.
44180         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44181         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
44182         Likewise.
44183         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
44184         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
44185         Likewise.
44186         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
44187         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
44188         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
44189         [__ASSUME_SENDMMSG]: Change conditionals to
44190         [__ASSUME_SENDMMSG_SOCKETCALL].
44191         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44192         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
44193         Define.
44194         * sysdeps/unix/sysv/linux/mips/kernel-features.h
44195         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
44196         Likewise.
44197         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
44198         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
44199         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
44200         [!__ASSUME_SENDMMSG]: Change conditional to
44201         [!__ASSUME_SENDMMSG_SOCKETCALL].
44202         * sysdeps/unix/sysv/linux/tile/kernel-features.h
44203         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
44204         Define.
44206         [BZ #16610]
44207         * sysdeps/unix/sysv/linux/kernel-features.h
44208         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
44209         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
44210         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
44211         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
44212         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44213         [__i386__ || __sparc__]
44214         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44215         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
44216         (__ASSUME_RECVMMSG): Define instead of using previous
44217         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
44218         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
44219         (__ASSUME_RECVMMSG_SYSCALL): Define.
44220         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
44221         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
44222         Likewise.
44223         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44224         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
44225         Likewise.
44226         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
44227         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
44228         Likewise.
44229         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
44230         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
44231         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
44232         [__ASSUME_RECVMMSG]: Change condition to
44233         [__ASSUME_RECVMMSG_SOCKETCALL].
44234         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44235         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
44236         Define.
44237         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44238         * sysdeps/unix/sysv/linux/mips/kernel-features.h
44239         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
44240         Likewise.
44241         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
44242         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
44243         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
44244         [!__ASSUME_RECVMMSG]: Change condition to
44245         [!__ASSUME_RECVMMSG_SOCKETCALL].
44246         * sysdeps/unix/sysv/linux/tile/kernel-features.h
44247         (__ASSUME_RECVMMSG_SYSCALL): Define.
44249         [BZ #16609]
44250         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
44251         __powerpc__ || __s390__ || __sh__ || __sparc__]
44252         (__ASSUME_SOCKETCALL): Define.
44253         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
44254         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
44255         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
44256         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
44257         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
44258         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
44259         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
44260         (__ASSUME_ACCEPT4): Define instead of using previous
44261         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
44262         __powerpc__ || __sparc__ || __s390__)] condition.
44263         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
44264         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
44265         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
44266         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
44267         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
44268         [!__ASSUME_ACCEPT4]: Change condition to
44269         [!__ASSUME_ACCEPT4_SOCKETCALL].
44270         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
44271         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
44272         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
44273         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44274         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
44275         __ASSUME_ACCEPT4_SYSCALL.
44276         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
44277         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
44278         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
44279         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
44280         __ASSUME_ACCEPT4_SYSCALL.
44281         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
44282         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
44283         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
44284         [__ASSUME_ACCEPT4]: Change condition to
44285         [__ASSUME_ACCEPT4_SOCKETCALL].
44286         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
44287         (__ASSUME_SOCKETCALL): Define.
44288         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
44289         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44290         (__ASSUME_SOCKETCALL): Define.
44291         (__ASSUME_ACCEPT4): Remove.
44292         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
44293         Define.
44294         * sysdeps/unix/sysv/linux/mips/kernel-features.h
44295         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
44296         Likewise.
44297         * sysdeps/unix/sysv/linux/tile/kernel-features.h
44298         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
44300         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
44301         macro.
44302         (HWCAP_ARM_LPAE): Likewise.
44303         (HWCAP_ARM_EVTSTRM): Likewise.
44304         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
44305         Add vpfd32, lpae and evtstrm.
44306         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
44307         Increase to 22.
44309 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
44311         * math/auto-libm-test-in: Add tests of clog10.
44312         * math/auto-libm-test-out: Regenerated.
44313         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
44314         * sysdeps/i386/fpu/libm-test-ulps: Update.
44315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44317 2014-02-18  Andreas Schwab  <schwab@suse.de>
44319         [BZ #16574]
44320         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
44321         Store non-zero if the second buffer was newly allocated.
44322         (send_dg): Likewise.
44323         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
44324         to send_vc and send_dg.
44325         (res_nsend): Pass NULL for ansp2_malloced.
44326         * resolv/res_query.c (__libc_res_nquery): Add parameter
44327         answerp2_malloced and pass it down to __libc_res_nsend.
44328         (res_nquery): Pass additional NULL to __libc_res_nquery.
44329         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
44330         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
44331         second answer buffer if answerp2_malloced was set.
44332         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
44333         (__libc_res_nquerydomain): Add parameter
44334         answerp2_malloced and pass it down to __libc_res_nquery.
44335         (res_nquerydomain): Pass additional NULL to
44336         __libc_res_nquerydomain.
44337         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
44338         additional NULL to __libc_res_nsend and __libc_res_nquery.
44339         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
44340         additional NULL to __libc_res_nsearch.
44341         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
44342         parameter of __libc_res_nsearch to check for separately allocated
44343         second buffer.
44344         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
44345         __libc_res_nquery.
44346         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
44347         additional NULL to __libc_res_nquery.
44348         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
44349         __libc_res_nsearch.
44350         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
44351         * include/resolv.h: Update prototypes of __libc_res_nquery,
44352         __libc_res_nsearch, __libc_res_nsend.
44354 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
44356         * math/auto-libm-test-in: Add tests of fma.
44357         * math/auto-libm-test-out: Regenerated.
44358         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
44359         (fma_towardzero_test_data): Likewise.
44360         (fma_downward_test_data): Likewise.
44361         (fma_upward_test_data): Likewise.
44362         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
44363         mpc_mode.
44364         (rounding_modes): Add values for new field.
44365         (func_calc_method): Add value mpfr_fff_f.
44366         (func_calc_desc): Add mpfr_fff_f union field.
44367         (test_function): Add field exact_args.
44368         (FUNC): Add macro argument EXACT_ARGS.
44369         (FUNC_mpfr_f_f): Update call to FUNC.
44370         (FUNC_mpfr_f_f): Likewise.
44371         (FUNC_mpfr_ff_f): Likewise.
44372         (FUNC_mpfr_if_f): Likewise.
44373         (FUNC_mpc_c_f): Likewise.
44374         (FUNC_mpc_c_c): Likewise.
44375         (test_functions): Add fma.  Update calls to FUNC.
44376         (handle_input_arg): Add argument exact_args.
44377         (add_test): Update call to handle_input_arg.
44378         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
44379         (output_for_one_input_case): Update call to calc_generic_results.
44380         Recalculate exact zero results in each rounding mode.
44382         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
44383         non-negative before setting low bit.
44384         * math/auto-libm-test-in: Mark one asin test possibly having
44385         spurious underflow.
44386         * math/auto-libm-test-out: Regenerated.
44387         * sysdeps/i386/fpu/libm-test-ulps: Update.
44388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44390 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
44392         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
44393         * sysdeps/unix/sysv/linux/microblaze: Move directory from
44394         ports/sysdeps/unix/sysv/linux/microblaze.
44395         * README: Add missing listing for microblaze*-*-linux-gnu.
44397 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
44399         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
44400         duplicate code
44402 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
44404         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
44405         * sysdeps/unix/sysv/linux/ia64: Move directory from
44406         ports/sysdeps/unix/sysv/linux/ia64.
44407         * README: Update listing for ia64-*-linux-gnu.
44409 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
44410             Joseph Myers  <joseph@codesourcery.com>
44412         * Makeconfig (test-name): New variable.
44413         (evaluate-test): Likewise.
44414         * Makerules (do-test-clean): Remove .test-result files.
44415         (common-mostlyclean): Likewise.
44416         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
44417         * scripts/evaluate-test.sh: New file.
44419 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
44421         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
44422         separate $(objpfx)tst-fopenloc-cmp.out and
44423         $(objpfx)tst-fopenloc-mem.out targets.
44424         (tests): Update dependencies.
44425         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
44426         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
44427         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
44428         (tst-rxspencer-no-utf8-ARGS): New variable.
44429         (tst-rxspencer-no-utf8-ENV): Likewise.
44430         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
44431         instead of $(objpfx)tst-rxspencer-mem.
44432         ($(objpfx)tst-rxspencer-mem): Change target to
44433         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
44434         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
44435         * posix/tst-rxspencer-no-utf8.c: New file.
44437         * elf/Makefile ($(objpfx)order.out): Remove rule.
44438         [$(run-built-tests) = yes] (tests): Depend on
44439         $(objpfx)order-cmp.out.
44440         ($(objpfx)order-cmp.out): New rule.
44441         [$(run-built-tests) = yes] (tests): Depend on
44442         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
44443         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
44444         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
44445         $(objpfx)tst-array5-static-cmp.out.
44446         ($(objpfx)tst-array1.out): Remove rule.
44447         ($(objpfx)tst-array1-cmp.out): New rule.
44448         ($(objpfx)tst-array1-static.out): Remove rule.
44449         ($(objpfx)tst-array1-static-cmp.out): New rule.
44450         ($(objpfx)tst-array2.out): Remove rule.
44451         ($(objpfx)tst-array2-cmp.out): New rule.
44452         ($(objpfx)tst-array3.out): Remove rule.
44453         ($(objpfx)tst-array3-cmp.out): New rule.
44454         ($(objpfx)tst-array4.out): Remove rule.
44455         ($(objpfx)tst-array4-cmp.out): New rule.
44456         ($(objpfx)tst-array5.out): Remove rule.
44457         ($(objpfx)tst-array5-cmp.out): New rule.
44458         ($(objpfx)tst-array5-static.out): Remove rule.
44459         ($(objpfx)tst-array5-static-cmp.out): New rule.
44460         [$(run-built-tests) = yes] (tests): Depend on
44461         $(objpfx)order2-cmp.out.
44462         ($(objpfx)order2.out): Remove rule.
44463         ($(objpfx)order2-cmp.out): New rule.
44464         ($(objpfx)tst-initorder.out): Remove rule.
44465         [$(run-built-tests) = yes] (tests): Depend on
44466         $(objpfx)tst-initorder-cmp.out.
44467         ($(objpfx)tst-initorder-cmp.out): New rule.
44468         ($(objpfx)tst-initorder2.out): Remove rule.
44469         [$(run-built-tests) = yes] (tests): Depend on
44470         $(objpfx)tst-initorder2-cmp.out.
44471         ($(objpfx)tst-initorder2-cmp.out): New rule.
44472         [$(run-built-tests) = yes] (tests): Depend on
44473         $(objpfx)tst-unused-dep-cmp.out.
44474         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
44475         ($(objpfx)tst-unused-dep-cmp.out): New rule.
44476         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
44477         on $(objpfx)tst-setvbuf1-cmp.out.
44478         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
44479         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
44480         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
44481         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
44482         ($(objpfx)tst-svc.out): Remove rule.
44483         ($(objpfx)tst-svc-cmp.out): New rule.
44485 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
44487         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
44488         * ctype/ctype.h [__USE_MISC]: Likewise.
44489         * dirent/dirent.h [__USE_MISC]: Likewise.
44490         * grp/grp.h [__USE_MISC]: Likewise.
44491         * io/fcntl.h [__USE_MISC]: Likewise.
44492         * io/sys/stat.h [__USE_MISC]: Likewise.
44493         * libio/stdio.h [__USE_MISC]: Likewise.
44494         * posix/unistd.h [__USE_MISC]: Likewise.
44495         * pwd/pwd.h [__USE_MISC]: Likewise.
44496         * stdlib.h [__USE_MISC]: Likewise.
44497         * string/bits/string2.h [__USE_MISC]: Likewise.
44498         * string/string.h [__USE_MISC]: Likewise.
44499         * time/time.h [__USE_MISC]: Likewise.
44501 2014-02-13  Andreas Schwab  <schwab@suse.de>
44503         [BZ #16574]
44504         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
44505         second answer buffer if it was separately allocated.
44507 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
44509         * sysdeps/mips/math-tests.h: Include <features.h>.
44510         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
44511         (ROUNDING_TESTS_long_double): Do not define.
44512         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
44513         (EXCEPTION_TESTS_long_double): Likewise.
44514         * sysdeps/mips/mips64/libm-test-ulps: Update.
44516         * include/features.h (__USE_BSD): Remove macro definitions.
44517         (__USE_SVID): Likewise.
44518         (_BSD_SOURCE): Likewise.
44519         (_SVID_SOURCE): Likewise.
44520         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
44521         from definition of _DEFAULT_SOURCE.
44522         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
44523         [_DEFAULT_SOURCE].
44524         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
44525         * bits/mman.h [__USE_BSD]: Likewise.
44526         * bits/termios.h [__USE_BSD]: Likewise.
44527         * bits/waitstatus.h [__USE_BSD]: Likewise.
44528         * ctype/ctype.h [__USE_SVID]: Likewise.
44529         * dirent/dirent.h [__USE_BSD]: Likewise.
44530         * grp/grp.h [__USE_SVID]: Likewise.
44531         [__USE_BSD]: Likewise.
44532         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
44533         * io/fcntl.h [__USE_BSD]: Likewise.
44534         * io/ftw.h [__USE_BSD]: Likewise.
44535         * io/sys/stat.h [__USE_BSD]: Likewise.
44536         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
44537         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
44538         * libio/stdio.h [__USE_SVID]: Likewise.
44539         [__USE_BSD]: Likewise.
44540         * math/math.h [__USE_SVID]: Likewise.
44541         [__USE_BSD]: Likewise.
44542         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
44543         * misc/bits/syslog.h [__USE_BSD]: Likewise.
44544         * misc/search.h [__USE_SVID]: Likewise.
44545         * misc/sys/mman.h [__USE_BSD]: Likewise.
44546         * misc/sys/syslog.h [__USE_BSD]: Likewise.
44547         * misc/sys/uio.h [__USE_BSD]: Likewise.
44548         * posix/bits/unistd.h [__USE_BSD]: Likewise.
44549         * posix/glob.h [__USE_BSD]: Likewise.
44550         * posix/regex.h [__USE_BSD]: Likewise.
44551         * posix/sys/types.h [__USE_BSD]: Likewise.
44552         [__USE_SVID]: Likewise.
44553         * posix/sys/utsname.h [__USE_SVID]: Likewise.
44554         * posix/sys/wait.h [__USE_BSD]: Likewise.
44555         [__USE_SVID]: Likewise.
44556         * posix/unistd.h [__USE_BSD]: Likewise.
44557         [__USE_SVID]: Likewise.
44558         * pwd/pwd.h [__USE_SVID]: Likewise.
44559         * resolv/netdb.h [__USE_BSD]: Likewise.
44560         * setjmp/setjmp.h [__USE_BSD]: Likewise.
44561         * signal/signal.h [__USE_BSD]: Likewise.
44562         [__USE_SVID]: Likewise.
44563         * socket/sys/socket.h [__USE_BSD]: Likewise.
44564         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
44565         * stdlib/stdlib.h [__USE_BSD]: Likewise.
44566         [__USE_SVID]: Likewise.
44567         * string/bits/string2.h [__USE_BSD]: Likewise.
44568         [__USE_SVID]: Likewise.
44569         * string/bits/string3.h [__USE_BSD]: Likewise.
44570         * string/endian.h [__USE_BSD]: Likewise.
44571         * string/string.h [__USE_SVID]: Likewise.
44572         [__USE_BSD]: Likewise.
44573         * string/strings.h [__USE_BSD]: Likewise.
44574         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
44575         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
44576         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
44577         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
44578         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
44579         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
44580         Likewise.
44581         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
44582         Likewise.
44583         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
44584         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
44585         Likewise.
44586         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
44587         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
44588         Likewise.
44589         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
44590         Likewise.
44591         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
44592         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
44593         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
44594         Likewise.
44595         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
44596         Likewise.
44597         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
44598         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
44599         * termios/termios.h [__USE_BSD]: Likewise.
44600         * time/sys/time.h [__USE_BSD]: Likewise.
44601         * time/time.h [__USE_BSD]: Likewise.
44602         [__USE_SVID]: Likewise.
44604         * Makefile (subdir_targets): Remove subdir_lint.out.
44606         * stdio-common/Makefile (do-tst-unbputc): Remove target.
44607         (do-tst-printf): Likewise.
44608         (tests): Depend directly on $(objpfx)tst-unbputc.out and
44609         $(objpfx)tst-printf.out.
44611         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
44613         * Makerules (check-abi-%): Change target to
44614         $(objpfx)check-abi-%.out.
44615         (check-abi target): Update dependencies.
44616         (check-abi-pattern variable): Redirect output of diff to $@.
44617         (check-abi variable): Likewise.
44618         * elf/Makefile (check-abi): Update dependencies.
44620         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
44621         unused.
44622         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
44623         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
44624         subnormal range.
44625         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
44626         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
44627         value has largest subnormal exponent.
44628         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
44629         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
44630         * sysdeps/aarch64/soft-fp/sfp-machine.h
44631         (_FP_TININESS_AFTER_ROUNDING): New macro.
44632         * sysdeps/alpha/soft-fp/sfp-machine.h
44633         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44634         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
44635         Likewise.
44636         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
44637         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44638         * sysdeps/mips/soft-fp/sfp-machine.h
44639         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44640         * sysdeps/powerpc/soft-fp/sfp-machine.h
44641         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44642         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
44643         Likewise.
44644         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
44645         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44646         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
44647         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44648         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
44649         Likewise.
44651 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
44653         [BZ #16545]
44654         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
44655         model 1.
44657 2014-02-12  Richard Henderson  <rth@redhat.com>
44659         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
44660         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
44661         * sysdeps/unix/sysv/linux/alpha: Move directory from
44662         ports/sysdeps/unix/sysv/linux/alpha.
44663         * README: Update listing for alpha-*-linux-gnu.
44665 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
44667         * include/features.h: Update comment documenting feature test
44668         macros.
44669         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
44670         _DEFAULT_SOURCE.
44671         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
44672         (_SVID_SOURCE): Likewise.
44673         (_DEFAULT_SOURCE): Update description of default features.
44674         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
44675         with _GNU_SOURCE.
44676         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
44677         (S_ISVTX): Likewise.
44678         * manual/math.texi (Mathematical Constants): Likewise.
44679         * manual/signal.texi (Interrupted Primitives): Likewise.
44680         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
44681         * math/test-matherr.c (_SVID_SOURCE): Do not define.
44682         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
44683         Don't refer to _SVID_SOURCE in warning text.
44685         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44687         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
44688         already defined.
44689         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
44690         * sysdeps/mips/dl-lookup.c: Remove.
44691         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
44693 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
44695         [BZ #16447]
44696         * math/auto-libm-test-in: Add testcase for expl.
44697         * math/auto-libm-test-out: Regenerate.
44698         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
44699         calculation of unsafe.
44700         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
44702 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44704         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
44705         * sysdeps/unix/sysv/linux/aarch64: Move directory from
44706         ports/sysdeps/unix/sysv/linux/aarch64.
44707         * README: Update listing for aarch64*-*-linux-gnu.
44709 2014-02-11  Will Newton  <will.newton@linaro.org>
44711         * manual/probes.texi (Mathematical Function Probes): Use
44712         "triggered" instead of "hit".
44714         * manual/probes.texi (Internal Probes): Add documentation
44715         of setjmp, longjmp and longjmp_target probes.
44717         * include/stap-probe.h: Add comment about probe argument
44718         format.
44720         * malloc/mtrace.c (attribute_hidden): Remove unused macro
44721         definition.  (tr_where, tr_freehook, tr_mallochook,
44722         tr_reallochook, tr_memalignhook): Use ANSI protoype.
44724 2014-02-11  David S. Miller  <davem@davemloft.net>
44726         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
44727         processing int_tests.
44729 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
44731         * sysdeps/mips: Move directory from ports/sysdeps/mips.
44732         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
44733         * sysdeps/unix/sysv/linux/mips: Move directory from
44734         ports/sysdeps/unix/sysv/linux/mips.
44735         * README: Update listing for mips-*-linux-gnu and
44736         mips64-*-linux-gnu.
44738 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
44740         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
44741         * sysdeps/unix/sysv/linux/m68k: Move directory from
44742         ports/sysdeps/unix/sysv/linux/m68k.
44743         * README: Update listing for m68k-*-linux-gnu.
44745 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
44747         * sysdeps/tile: Move directory from ports/sysdeps/tile.
44748         * sysdeps/unix/sysv/linux/generic: Move directory from
44749         ports/sysdeps/unix/sysv/linux/generic.
44750         * sysdeps/unix/sysv/linux/tile: Move directory from
44751         ports/sysdeps/unix/sysv/linux/tile.
44752         * README: Update listing for tile*-*-linux-gnu.
44754 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
44756         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
44757         __builtin_expect.
44758         * benchtests/bench-memmem.c (simple_memmem): Likewise.
44759         * catgets/open_catalog.c (__open_catalog): Likewise.
44760         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
44761         * debug/confstr_chk.c: Likewise.
44762         * debug/fread_chk.c (__fread_chk): Likewise.
44763         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
44764         * debug/getgroups_chk.c: Likewise.
44765         * debug/mbsnrtowcs_chk.c: Likewise.
44766         * debug/mbsrtowcs_chk.c: Likewise.
44767         * debug/mbstowcs_chk.c: Likewise.
44768         * debug/memcpy_chk.c: Likewise.
44769         * debug/memmove_chk.c: Likewise.
44770         * debug/mempcpy_chk.c: Likewise.
44771         * debug/memset_chk.c: Likewise.
44772         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
44773         * debug/strcat_chk.c (__strcat_chk): Likewise.
44774         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
44775         * debug/strncat_chk.c (__strncat_chk): Likewise.
44776         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
44777         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
44778         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
44779         * debug/wcpncpy_chk.c: Likewise.
44780         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
44781         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
44782         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
44783         * debug/wcsncpy_chk.c: Likewise.
44784         * debug/wcsnrtombs_chk.c: Likewise.
44785         * debug/wcsrtombs_chk.c: Likewise.
44786         * debug/wcstombs_chk.c: Likewise.
44787         * debug/wmemcpy_chk.c: Likewise.
44788         * debug/wmemmove_chk.c: Likewise.
44789         * debug/wmempcpy_chk.c: Likewise.
44790         * debug/wmemset_chk.c: Likewise.
44791         * dirent/scandirat.c (SCANDIRAT): Likewise.
44792         * dlfcn/dladdr1.c (dladdr1): Likewise.
44793         * dlfcn/dladdr.c (dladdr): Likewise.
44794         * dlfcn/dlclose.c (dlclose_doit): Likewise.
44795         * dlfcn/dlerror.c (__dlerror): Likewise.
44796         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
44797         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
44798         * dlfcn/dlopen.c (dlopen_doit): Likewise.
44799         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
44800         * dlfcn/dlsym.c (dlsym_doit): Likewise.
44801         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
44802         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
44803         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
44804         Likewise.
44805         * elf/dl-conflict.c: Likewise.
44806         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
44807         * elf/dl-dst.h: Likewise.
44808         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
44809         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
44810         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
44811         * elf/dl-init.c (call_init, _dl_init): Likewise.
44812         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
44813         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
44814         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
44815         Likewise.
44816         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
44817         Likewise.
44818         * elf/dl-minimal.c (__libc_memalign): Likewise.
44819         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
44820         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
44821         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
44822         * elf/dl-sym.c (do_sym): Likewise.
44823         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
44824         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
44825         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
44826         * elf/dl-writev.h (_dl_writev): Likewise.
44827         * elf/ldconfig.c (search_dir): Likewise.
44828         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
44829         (dl_main): Likewise.
44830         * elf/setup-vdso.h (setup_vdso): Likewise.
44831         * grp/compat-initgroups.c (compat_call): Likewise.
44832         * grp/fgetgrent.c (fgetgrent): Likewise.
44833         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
44834         * grp/putgrent.c (putgrent): Likewise.
44835         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
44836         Likewise.
44837         * hurd/hurdinit.c: Likewise.
44838         * iconvdata/8bit-gap.c (struct): Likewise.
44839         * iconvdata/ansi_x3.110.c : Likewise.
44840         * iconvdata/big5.c : Likewise.
44841         * iconvdata/big5hkscs.c : Likewise.
44842         * iconvdata/cp1255.c: Likewise.
44843         * iconvdata/cp1258.c : Likewise.
44844         * iconvdata/cp932.c : Likewise.
44845         * iconvdata/euc-cn.c: Likewise.
44846         * iconvdata/euc-jisx0213.c : Likewise.
44847         * iconvdata/euc-jp.c: Likewise.
44848         * iconvdata/euc-jp-ms.c : Likewise.
44849         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
44850         * iconvdata/gb18030.c : Likewise.
44851         * iconvdata/gbbig5.c (const): Likewise.
44852         * iconvdata/gbgbk.c: Likewise.
44853         * iconvdata/gbk.c : Likewise.
44854         * iconvdata/ibm1364.c : Likewise.
44855         * iconvdata/ibm930.c : Likewise.
44856         * iconvdata/ibm932.c: Likewise.
44857         * iconvdata/ibm933.c : Likewise.
44858         * iconvdata/ibm935.c : Likewise.
44859         * iconvdata/ibm937.c : Likewise.
44860         * iconvdata/ibm939.c : Likewise.
44861         * iconvdata/ibm943.c: Likewise.
44862         * iconvdata/iso_11548-1.c: Likewise.
44863         * iconvdata/iso-2022-cn.c : Likewise.
44864         * iconvdata/iso-2022-cn-ext.c : Likewise.
44865         * iconvdata/iso-2022-jp-3.c: Likewise.
44866         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
44867         * iconvdata/iso-2022-kr.c : Likewise.
44868         * iconvdata/iso646.c (gconv_end): Likewise.
44869         * iconvdata/iso_6937-2.c : Likewise.
44870         * iconvdata/iso_6937.c : Likewise.
44871         * iconvdata/iso8859-1.c: Likewise.
44872         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
44873         * iconvdata/shift_jisx0213.c : Likewise.
44874         * iconvdata/sjis.c : Likewise.
44875         * iconvdata/t.61.c : Likewise.
44876         * iconvdata/tcvn5712-1.c : Likewise.
44877         * iconvdata/tscii.c: Likewise.
44878         * iconvdata/uhc.c : Likewise.
44879         * iconvdata/unicode.c (gconv_end): Likewise.
44880         * iconvdata/utf-16.c (gconv_end): Likewise.
44881         * iconvdata/utf-32.c (gconv_end): Likewise.
44882         * iconvdata/utf-7.c (base64): Likewise.
44883         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
44884         * iconv/gconv_close.c (__gconv_close): Likewise.
44885         * iconv/gconv_open.c (__gconv_open): Likewise.
44886         * iconv/gconv_simple.c (internal_ucs4_loop_single)
44887         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
44888         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
44889         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
44890         (ucs4le_internal_loop_single): Likewise.
44891         * iconv/iconv.c (iconv): Likewise.
44892         * iconv/iconv_close.c: Likewise.
44893         * iconv/loop.c (SINGLE): Likewise.
44894         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
44895         * include/atomic.h: Likewise.
44896         * inet/inet6_option.c (option_alloc): Likewise.
44897         * intl/bindtextdom.c (set_binding_values): Likewise.
44898         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
44899         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
44900         * intl/localealias.c (read_alias_file): Likewise.
44901         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
44902         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
44903         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
44904         * libio/fmemopen.c (fmemopen): Likewise.
44905         * libio/iofgets.c (_IO_fgets): Likewise.
44906         * libio/iofgets_u.c (fgets_unlocked): Likewise.
44907         * libio/iofgetws.c (fgetws): Likewise.
44908         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
44909         * libio/iogetdelim.c (_IO_getdelim): Likewise.
44910         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
44911         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
44912         * locale/findlocale.c (_nl_find_locale): Likewise.
44913         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
44914         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
44915         Likewise.
44916         * locale/setlocale.c (setlocale): Likewise.
44917         * login/programs/pt_chown.c (main): Likewise.
44918         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
44919         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
44920         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
44921         (mmap, mmap64, mremap, munmap): Likewise.
44922         * math/e_exp2l.c: Likewise.
44923         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
44924         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
44925         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
44926         * math/s_catan.c (__catan): Likewise.
44927         * math/s_catanf.c (__catanf): Likewise.
44928         * math/s_catanh.c (__catanh): Likewise.
44929         * math/s_catanhf.c (__catanhf): Likewise.
44930         * math/s_catanhl.c (__catanhl): Likewise.
44931         * math/s_catanl.c (__catanl): Likewise.
44932         * math/s_ccosh.c (__ccosh): Likewise.
44933         * math/s_ccoshf.c (__ccoshf): Likewise.
44934         * math/s_ccoshl.c (__ccoshl): Likewise.
44935         * math/s_cexp.c (__cexp): Likewise.
44936         * math/s_cexpf.c (__cexpf): Likewise.
44937         * math/s_cexpl.c (__cexpl): Likewise.
44938         * math/s_clog10.c (__clog10): Likewise.
44939         * math/s_clog10f.c (__clog10f): Likewise.
44940         * math/s_clog10l.c (__clog10l): Likewise.
44941         * math/s_clog.c (__clog): Likewise.
44942         * math/s_clogf.c (__clogf): Likewise.
44943         * math/s_clogl.c (__clogl): Likewise.
44944         * math/s_csin.c (__csin): Likewise.
44945         * math/s_csinf.c (__csinf): Likewise.
44946         * math/s_csinh.c (__csinh): Likewise.
44947         * math/s_csinhf.c (__csinhf): Likewise.
44948         * math/s_csinhl.c (__csinhl): Likewise.
44949         * math/s_csinl.c (__csinl): Likewise.
44950         * math/s_csqrt.c (__csqrt): Likewise.
44951         * math/s_csqrtf.c (__csqrtf): Likewise.
44952         * math/s_csqrtl.c (__csqrtl): Likewise.
44953         * math/s_ctan.c (__ctan): Likewise.
44954         * math/s_ctanf.c (__ctanf): Likewise.
44955         * math/s_ctanh.c (__ctanh): Likewise.
44956         * math/s_ctanhf.c (__ctanhf): Likewise.
44957         * math/s_ctanhl.c (__ctanhl): Likewise.
44958         * math/s_ctanl.c (__ctanl): Likewise.
44959         * math/w_pow.c: Likewise.
44960         * math/w_powf.c: Likewise.
44961         * math/w_powl.c: Likewise.
44962         * math/w_scalb.c (sysv_scalb): Likewise.
44963         * math/w_scalbf.c (sysv_scalbf): Likewise.
44964         * math/w_scalbl.c (sysv_scalbl): Likewise.
44965         * misc/error.c (error_tail): Likewise.
44966         * misc/pselect.c (__pselect): Likewise.
44967         * nis/nis_callback.c (__nis_create_callback): Likewise.
44968         * nis/nis_call.c (__nisfind_server): Likewise.
44969         * nis/nis_creategroup.c (nis_creategroup): Likewise.
44970         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
44971         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
44972         * nis/nis_getservlist.c (nis_getservlist): Likewise.
44973         * nis/nis_lookup.c (nis_lookup): Likewise.
44974         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
44975         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
44976         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
44977         * nis/nis_xdr.c (xdr_endpoint): Likewise.
44978         * nis/nss_compat/compat-grp.c (getgrent_next_file)
44979         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
44980         * nis/nss_compat/compat-initgroups.c (add_group)
44981         (internal_getgrent_r): Likewise.
44982         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
44983         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
44984         * nis/nss_compat/compat-spwd.c (getspent_next_file)
44985         (internal_getspnam_r): Likewise.
44986         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
44987         (_nss_nis_getaliasbyname_r): Likewise.
44988         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
44989         (_nss_nis_getntohost_r): Likewise.
44990         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
44991         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
44992         (_nss_nis_getgrgid_r): Likewise.
44993         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
44994         (internal_nis_gethostent_r, internal_gethostbyname2_r)
44995         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
44996         (_nss_nis_gethostbyname4_r): Likewise.
44997         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
44998         (initgroups_netid): Likewise.
44999         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
45000         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
45001         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
45002         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
45003         (_nss_nis_getprotobynumber_r): Likewise.
45004         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
45005         (_nss_nis_getsecretkey): Likewise.
45006         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
45007         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
45008         (_nss_nis_getpwuid_r): Likewise.
45009         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
45010         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
45011         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
45012         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
45013         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
45014         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
45015         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
45016         Likewise.
45017         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
45018         (_nss_nisplus_getntohost_r): Likewise.
45019         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
45020         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
45021         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
45022         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
45023         Likewise.
45024         * nis/nss_nisplus/nisplus-initgroups.c
45025         (_nss_nisplus_initgroups_dyn): Likewise.
45026         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
45027         (_nss_nisplus_getnetbyaddr_r): Likewise.
45028         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
45029         (_nss_nisplus_getprotobynumber_r): Likewise.
45030         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
45031         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
45032         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
45033         Likewise.
45034         * nis/nss_nisplus/nisplus-service.c
45035         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
45036         (_nss_nisplus_getservbyport_r): Likewise.
45037         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
45038         (_nss_nisplus_getspnam_r): Likewise.
45039         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
45040         Likewise.
45041         * nscd/aicache.c (addhstaiX): Likewise.
45042         * nscd/cache.c (cache_search, prune_cache): Likewise.
45043         * nscd/connections.c (register_traced_file, send_ro_fd)
45044         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
45045         (main_loop_epoll): Likewise.
45046         * nscd/grpcache.c (addgrbyX): Likewise.
45047         * nscd/hstcache.c (addhstbyX): Likewise.
45048         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45049         * nscd/mem.c (gc, mempool_alloc): Likewise.
45050         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
45051         (addinnetgrX): Likewise.
45052         * nscd/nscd-client.h (__nscd_acquire_maplock)
45053         (__nscd_drop_map_ref): Likewise.
45054         * nscd/nscd_getai.c (__nscd_getai): Likewise.
45055         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
45056         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
45057         Likewise.
45058         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
45059         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45060         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
45061         (__nscd_get_map_ref): Likewise.
45062         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
45063         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
45064         Likewise.
45065         * nscd/pwdcache.c (addpwbyX): Likewise.
45066         * nscd/selinux.c (preserve_capabilities): Likewise.
45067         * nscd/servicescache.c (addservbyX): Likewise.
45068         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
45069         * posix/fnmatch.c (fnmatch): Likewise.
45070         * posix/getopt.c (_getopt_internal_r): Likewise.
45071         * posix/glob.c (glob, glob_in_dir): Likewise.
45072         * posix/wordexp.c (exec_comm_child): Likewise.
45073         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
45074         (getanswer_r, gaih_getanswer_slice): Likewise.
45075         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
45076         * resolv/res_init.c: Likewise.
45077         * resolv/res_mkquery.c (res_nmkquery): Likewise.
45078         * resolv/res_query.c (__libc_res_nquery): Likewise.
45079         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
45080         Likewise.
45081         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
45082         * stdio-common/perror.c (perror): Likewise.
45083         * stdio-common/printf_fp.c (___printf_fp): Likewise.
45084         * stdio-common/tmpnam.c (tmpnam): Likewise.
45085         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
45086         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
45087         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
45088         Likewise.
45089         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
45090         * stdlib/putenv.c (putenv): Likewise.
45091         * stdlib/setenv.c (__add_to_environ): Likewise.
45092         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
45093         * stdlib/strtol_l.c (INTERNAL): Likewise.
45094         * string/memmem.c (memmem): Likewise.
45095         * string/strerror.c (strerror): Likewise.
45096         * string/strnlen.c (__strnlen): Likewise.
45097         * string/test-memmem.c (simple_memmem): Likewise.
45098         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
45099         * sunrpc/pm_getport.c (__get_socket): Likewise.
45100         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
45101         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
45102         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
45103         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
45104         Likewise.
45105         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
45106         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
45107         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
45108         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
45109         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
45110         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
45111         Likewise.
45112         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
45113         Likewise.
45114         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
45115         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
45116         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45117         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
45118         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
45119         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
45120         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
45121         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
45122         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
45123         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
45124         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45125         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
45126         Likewise.
45127         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
45128         Likewise.
45129         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
45130         Likewise.
45131         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
45132         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45133         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
45134         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
45135         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
45136         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
45137         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
45138         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
45139         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
45140         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
45141         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
45142         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45143         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
45144         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
45145         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45146         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
45147         Likewise.
45148         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
45149         Likewise.
45150         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
45151         Likewise.
45152         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
45153         Likewise.
45154         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45155         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45156         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
45157         Likewise.
45158         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
45159         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
45160         * sysdeps/posix/opendir.c (__opendirat): Likewise.
45161         * sysdeps/posix/sleep.c: Likewise.
45162         * sysdeps/posix/tempname.c: Likewise.
45163         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
45164         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
45165         Likewise.
45166         * sysdeps/powerpc/powerpc32/dl-machine.h
45167         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
45168         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
45169         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
45170         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
45171         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
45172         Likewise.
45173         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
45174         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
45175         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
45176         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
45177         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
45178         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
45179         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
45180         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
45181         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45182         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
45183         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
45184         (elf_machine_lazy_rel): Likewise.
45185         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45186         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
45187         (elf_machine_lazy_rel): Likewise.
45188         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
45189         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
45190         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
45191         * sysdeps/unix/grantpt.c (grantpt): Likewise.
45192         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
45193         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
45194         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
45195         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45196         Likewise.
45197         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
45198         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
45199         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
45200         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
45201         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
45202         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
45203         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
45204         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
45205         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
45206         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
45207         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
45208         Likewise.
45209         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
45210         (__posix_fallocate64_l64): Likewise.
45211         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
45212         (posix_fallocate): Likewise.
45213         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
45214         Likewise.
45215         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45216         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
45217         (getifaddrs_internal): Likewise.
45218         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
45219         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
45220         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
45221         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
45222         * sysdeps/unix/sysv/linux/posix_fallocate64.c
45223         (__posix_fallocate64_l64): Likewise.
45224         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
45225         Likewise.
45226         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
45227         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
45228         (__get_clockfreq): Likewise.
45229         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
45230         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
45231         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
45232         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45233         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45234         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
45235         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
45236         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
45237         Likewise.
45238         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
45239         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
45240         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
45241         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
45242         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45243         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
45244         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
45245         Likewise.
45246         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
45247         (posix_fallocate): Likewise.
45248         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45249         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
45250         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
45251         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
45252         (elf_machine_rela, elf_machine_rela_relative)
45253         (elf_machine_lazy_rel): Likewise.
45254         * time/asctime.c (asctime_internal): Likewise.
45255         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
45256         * time/tzset.c (__tzset_parse_tz): Likewise.
45257         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
45258         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
45259         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
45260         * wcsmbs/wcsmbsload.h: Likewise.
45262         [BZ #15894]
45263         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
45265         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
45266         (arena_get2): Remove THREAD_STATS conditionals.
45267         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
45268         (__malloc_stats, int): Likewise.
45270 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
45272         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
45273         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
45275         * manual/setjmp.texi: Fix typos/grammar errors.
45277         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
45278         Only return early when n is <= 0.  Delete unused return statement.
45280         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
45281         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
45282         * debug/tst-longjmp_chk3.c: New file.
45284         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
45285         (test_main): Replace code with set_fortify_handler call.
45286         * debug/test-strcpy_chk.c: Likewise.
45287         * debug/tst-chk1.c: Likewise.
45288         * debug/tst-longjmp_chk.c: Likewise.
45289         * test-skeleton.c: Include fcntl.h & paths.h
45290         (set_fortify_handler): Define.
45292         * debug/tst-longjmp_chk.c: Add header comment and include
45293         ../test-skeleton.c.
45294         (do_test): Mark static.
45295         (TEST_FUNCTION): Define.
45297         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
45298         (IP_PMTUDISC_INTERFACE): Likewise.
45299         (IP_MULTICAST_IF): Likewise.
45300         (IP_MULTICAST_TTL): Likewise.
45301         (IP_MULTICAST_LOOP): Likewise.
45302         (IP_ADD_MEMBERSHIP): Likewise.
45303         (IP_DROP_MEMBERSHIP): Likewise.
45304         (IP_UNBLOCK_SOURCE): Likewise.
45305         (IP_BLOCK_SOURCE): Likewise.
45306         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
45307         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
45308         (IP_MSFILTER): Likewise.
45309         (MCAST_JOIN_GROUP): Likewise.
45310         (MCAST_BLOCK_SOURCE): Likewise.
45311         (MCAST_UNBLOCK_SOURCE): Likewise.
45312         (MCAST_LEAVE_GROUP): Likewise.
45313         (MCAST_JOIN_SOURCE_GROUP): Likewise.
45314         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
45315         (MCAST_MSFILTER): Likewise.
45316         (IP_MULTICAST_ALL): Likewise.
45317         (IP_UNICAST_IF): Likewise.
45319         * timezone/Makefile: Delete $(have-ksh) check.
45320         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
45321         * timezone/tzselect.ksh: Add +x mode bits.
45323         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
45324         (ANON_INODE_FS_MAGIC): Likewise.
45325         (BDEVFS_MAGIC): Likewise.
45326         (BINFMTFS_MAGIC): Likewise.
45327         (BTRFS_TEST_MAGIC): Likewise.
45328         (CRAMFS_MAGIC_WEND): Likewise.
45329         (DEBUGFS_MAGIC): Likewise.
45330         (ECRYPTFS_SUPER_MAGIC): Likewise.
45331         (EXT3_SUPER_MAGIC): Likewise.
45332         (EXT4_SUPER_MAGIC): Likewise.
45333         (FUTEXFS_SUPER_MAGIC): Likewise.
45334         (HOSTFS_SUPER_MAGIC): Likewise.
45335         (HUGETLBFS_MAGIC): Likewise.
45336         (MINIX3_SUPER_MAGIC): Likewise.
45337         (MTD_INODE_FS_MAGIC): Likewise.
45338         (NILFS_SUPER_MAGIC): Likewise.
45339         (OPENPROM_SUPER_MAGIC): Likewise.
45340         (PIPEFS_MAGIC): Likewise.
45341         (PSTOREFS_MAGIC): Likewise.
45342         (QNX6_SUPER_MAGIC): Likewise.
45343         (RAMFS_MAGIC): Likewise.
45344         (REISERFS_SUPER_MAGIC_STRING): Likewise.
45345         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
45346         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
45347         (SECURITYFS_MAGIC): Likewise.
45348         (SELINUX_MAGIC): Likewise.
45349         (SMACK_MAGIC): Likewise.
45350         (SOCKFS_MAGIC): Likewise.
45351         (SQUASHFS_MAGIC): Likewise.
45352         (STACK_END_MAGIC): Likewise.
45353         (TMPFS_MAGIC): Likewise.
45354         (USBDEVICE_SUPER_MAGIC): Likewise.
45355         (V9FS_MAGIC): Likewise.
45356         (XENFS_SUPER_MAGIC): Likewise.
45357         (CRAMFS_MAGIC): Fix typo in comment.
45358         (EXT2_SUPER_MAGIC): Update comment.
45359         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
45361 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
45363         * sysdeps/arm: Move directory from ports/sysdeps/arm.
45364         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
45365         * sysdeps/unix/sysv/linux/arm: Move directory from
45366         ports/sysdeps/unix/sysv/linux/arm.
45367         * README: Update listing for arm-*-linux-gnueabi.
45369         * README: Remove mention of am33.
45371 2014-02-07  Roland McGrath  <roland@hack.frob.com>
45373         * bits/sigset.h (__sigemptyset): Use a statement expression rather
45374         than the comma operator, to avoid "rhs of comma has no effect"
45375         compiler warnings.
45376         (__sigfillset, __sigandset, __sigorset): Likewise.
45377         * include/signal.h (__sigemptyset): Likewise.
45378         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
45380 2014-02-07  Allan McRae  <allan@archlinux.org>
45382         * version.h (RELEASE): Set to "development".
45383         (VERSION): Set to "2.19.90"
45384         * NEWS: Add 2.20 section.
45386 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
45388         [BZ #16529]
45389         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
45391 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45393         * manual/contrib.texi: Update entry for Carlos O'Donell,
45394         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
45396 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
45398         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
45400         * sysdeps/unix/sysv/linux/kernel-features.h
45401         [__LINUX_KERNEL_VERSION >= 0x020621]
45402         (__ASSUME_PROC_PID_TASK_COMM): Define.
45404 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45406         [BZ #16398]
45407         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
45408         conversion when destination buffer does not have enough space.
45409         * libio/tst-ftell-partial-wide.c: New test case.
45410         * libio/Makefile (tests): Add tst-ftell-partial-wide.
45412         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
45413         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
45414         Leonard and Allan McRae.
45416 2014-02-04  David S. Miller  <davem@davemloft.net>
45418         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
45419         32-bit.
45421 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
45424         New file
45425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
45426         New file
45427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
45428         New file.
45429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
45430         New file.
45431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
45432         New file.
45433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
45434         New file.
45435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
45436         New file.
45437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
45438         New file.
45439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
45440         New file.
45441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
45442         New file.
45443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
45444         New file.
45445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
45446         New file.
45447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
45448         New file.
45450 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45452         * nptl/shlib-versions: Change powerpc*le start to 2.17.
45453         * shlib-versions: Likewise.
45455 2014-02-04  Roland McGrath  <roland@hack.frob.com>
45456             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45458         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
45459         (abilist-pattern): New variable, set to %-le.abilist.
45461         * Makerules (abilist-pattern): New variable.
45462         (vpath): Use $(abilist-pattern) in place of %.abilist.
45463         (check-abi-% pattern rule): Likewise.
45464         (check-abi, update-abi): Likewise.
45466 2014-02-04  Eric Wong  <normalperson@yhbt.net>
45468         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45470 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
45472         * manual/startup.texi: Add next, previous, and top entries for
45473         the `Program Arguments' and `Environment Variables' nodes.
45475 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
45477         * manual/macros.texi: Add comments before MTASC-safety macros.
45479         * manual/users.texi: Document MTASC-safety properties.
45481         * manual/threads.texi (pthread_key_create, pthread_key_delete)
45482         (pthread_getspecific, pthread_setspecific): Format with
45483         @deftypefun, and add @safety note.
45484         * manual/signal.texi: Move comments that analyze the above
45485         functions to their home place.
45487 2014-02-03  Allan McRae  <allan@archlinux.org>
45489         * po/sl.po: Update Slovenian translation from translation project.
45491 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
45493         * manual/time.texi (timegm): Add missing blank after @c.
45494         Reported by Joseph Myers <joseph@codesourcery.com>.
45496 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
45498         * manual/check-safety.sh: New.
45499         * manual/Makefile ($(objpfx)stamp-summary): Run it.
45501         * manual/terminal.texi: Document MTASC-safety properties.
45503         * manual/filesys.texi: Document MTASC-safety properties.
45505         * manual/errno.texi: Document MTASC-safety properties.
45507         * manual/intro.texi: Document safety identifiers and
45508         conditionals.
45510         * manual/string.texi (wcstok): Fix prototype.
45511         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
45513         * manual/time.texi: Document MTASC-safety properties.
45515         * manual/string.texi: Document MTASC-safety properties.
45517         * manual/threads.texi: Document MTASC-safety properties.
45519         * manual/stdio.texi: Document MTASC-safety properties.
45521         * manual/syslog.texi: Document MTASC-safety properties.
45523         * manual/sysinfo.texi: Document MTASC-safety properties.
45525         * manual/startup.texi: Document MTASC-safety properties.
45527         * manual/socket.texi: Document MTASC-safety properties.
45529         * manual/signal.texi: Document MTASC-safety properties.
45531 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
45533         * manual/setjmp.texi: Document MTASC-safety properties.
45535         * manual/search.texi: Document MTASC-safety properties.
45537         * manual/resource.texi: Document MTASC-safety properties.
45539         * manual/process.texi: Document MTASC-safety properties.
45541         * manual/platform.texi: Document MTASC-safety properties.
45543         * manual/pipe.texi: Document MTASC-safety properties.
45545         * manual/pattern.texi: Document MTASC-safety properties.
45547         * manual/message.texi: Document MTASC-safety properties.
45549         [BZ #12751]
45550         * manual/memory.texi: Document MTASC-safety properties.
45552         * manual/math.texi: Document MTASC-safety properties.
45554         * manual/locale.texi: Document MTASC-safety properties.
45556         * manual/llio.texi: Document MTASC-safety properties.
45558         * manual/libdl.texi: New.
45560         * manual/lang.texi: Document MTASC-safety properties.
45562         * manual/job.texi: Document MTASC-safety properties.
45564         * manual/getopt.texi: Document MTASC-safety properties.
45566         * manual/ctype.texi: Document MTASC-safety properties.
45568 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
45570         [BZ #16046]
45571         * csu/libc-tls.c (static_map): Remove variable.
45572         (__libc_setup_tls): Use main executable's link map for TLS data.
45573         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
45574         casing for LM_ID_BASE and GL(dl_nns).
45575         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
45576         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
45577         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
45578         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
45579         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
45580         member.
45581         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
45582         l_phnum members.
45584 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
45586         * manual/debug.texi: Document MTASC-safety properties.
45588 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
45590         [BZ #16510]
45591         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
45592         of __x86_64__ when disabling x87 inline functions.
45594 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
45596         * manual/charset.texi: Document MTASC-safety properties.
45598         * manual/crypt.texi: Document MTASC-safety properties.
45600         * manual/conf.texi: Document MTASC-safety properties.
45602         * manual/arith.texi: Document MTASC-safety properties.
45604         * manual/argp.texi: Document MTASC-safety properties.
45606         * manual/macros.texi: Introduce macros to document multi
45607         thread, asynchronous signal and asynchronous cancellation
45608         safety properties.
45609         * manual/intro.texi: Introduce the properties themselves.
45611 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45613         * sysdeps/sh/sh4/Makefile: New file.
45615 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
45617         * math/gen-libm-test.pl ($srcdir): New variable.
45618         ($auto_input): Use it.
45620 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45622         [BZ #16506]
45623         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
45624         access beyond array bounds when parsing netgroups file.
45626         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
45627         the old buffer before realloc.
45629 2014-01-27  Allan McRae  <allan@archlinux.org>
45631         * po/fr.po: Update French translation from translation project.
45633 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45635         * sysdeps/sh/libm-test-ulps: Regenerate.
45637 2014-01-24  David S. Miller  <davem@davemloft.net>
45639         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
45641 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45643         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
45644         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
45646 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45648         [BZ #16474]
45649         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
45650         string pointers after reallocation.
45652 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45654         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
45655         __SH4A__ instead of __SH_FPU_ANY__.
45657 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45659         * sysdeps/sh/fpu_control.h: New file.
45660         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
45661         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
45662         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
45663         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
45664         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
45665         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
45666         * sysdeps/sh/sys/ucontext.h: Remove.
45667         * sysdeps/sh/sys: Remove directory.
45669 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45671         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
45672         s390/sys/ucontext.h.
45673         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
45674         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
45676 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
45678         [BZ #15605]
45679         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
45681 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45683         [BZ#16431]
45684         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
45685         Adjust the vDSO correctly for internal calls.
45686         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
45688 2014-01-20  Allan McRae  <allan@archlinux.org>
45690         * po/ca.po: Update Catalan translation from translation project.
45692 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
45694         * sysdeps/s390/sotruss-lib.c: New file.
45696 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45698         [BZ#16430]
45699         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
45700         (__GI___gettimeofday): Alias for a different internal symbol to avoid
45701         local calls issues by not having a PLT stub required for IFUNC calls.
45702         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
45704 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
45706         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
45707         * math/test-fpucw-static.c: Likewise.
45709 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45711         [BZ #16453]
45712         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
45714 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45716         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
45717         implementation for powerpc.
45719 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
45721         [BZ #14782]
45722         * sysdeps/posix/system.c (__libc_system): Do not enable
45723         asynchronous cancellation.
45725 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45727         [BZ #16427]
45728         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
45729         handling only for numbers special also in the IEEE case.
45731 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45733         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45735 2014-01-11  Allan McRae  <allan@archlinux.org>
45737         * po/bg.po: Update Bulgarian translation from translation project.
45739         * po/de.po: Update German translation from translation project.
45741 2014-01-10  Roland McGrath  <roland@hack.frob.com>
45743         * sysdeps/generic/gcc-compat.h: New file.
45745 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45747         * benchtests/asin-inputs: Correct slow inputs.
45748         * benchtests/acos-inputs: Likewise.
45750 2014-01-10  Allan McRae  <allan@archlinux.org>
45752         * po:sv.po: Update Swedish translation from translation project.
45754         * po/vi.po: Update Vietnamese translation from translation project.
45756         * po/eo.po: Update Esperanto translation from translation project.
45758         * po/cs.po: Update Czech translation from translation project.
45760         * po/nl.po: Update Dutch translation from translation project.
45762         * po/pl.po: Update Polish translation from translation project.
45764         * po/ru.po: Update Russian translation from translation project.
45766         * po/uk.po: Update Ukrainian translation from translation project.
45768 2014-01-08  Brooks Moses  <bmoses@google.com>
45770         * elf/dl-load.c: Fix comment typo.
45772 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
45774         * po/header.pot: Rename to...
45775         * po/pot.header: ... this.
45776         * po/Makefile: Use pot.header.
45778 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
45779             Maxim Kuvyrkov  <maxim@kugelworks.com>
45781         [BZ #16394]
45782         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
45783         SRC and DEST against LEN.
45785 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45787         [BZ #16414]
45788         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
45789         implementation.
45790         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
45792 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45794         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45796 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
45798         [BZ #16408]
45799         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
45800         for large positive arguments.
45802 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
45804         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45806         * math/auto-libm-test-in: Mark various tests with
45807         xfail-rounding:ldbl-128ibm.
45808         * math/auto-libm-test-out: Regenerated.
45810         [BZ #16407]
45811         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
45812         Increase overflow threshold.
45814 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
45816         [BZ #14286]
45817         * stdio-common/vfprintf.c: Check for integer overflow.
45819 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45821         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
45822         the first argument and return value of __tls_get_addr_internal.
45824 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45826         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
45827         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
45829 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45831         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
45832         * sysdeps/s390/rtld-global-offsets.sym: New file.
45833         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
45834         GLIBC_2.19 symbol.
45835         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
45836         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
45837         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
45838         ... this.
45839         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
45840         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
45841         ... this.
45842         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45843         Regenerate.
45844         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45845         Regenerate.
45846         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
45847         halfs of GPRs for high_gprs contexts.
45848         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
45849         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
45850         field.
45851         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
45852         uc_flags field.
45853         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
45854         64 bit versions:
45855         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
45856         for high GPRs (uc_high_gprs) and for future extensions
45857         (__reserved).
45858         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
45859         for future extensions (__reserved).
45860         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
45861         64 bit versions:
45862         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
45863         SC_HIGHGPRS offset definition.
45864         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
45865         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
45867         * Versions.def: Add GLIBC_2.19 for libpthread.
45868         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
45869         siglongjmp for libpthread with GLIBC_2.19 symver.
45870         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
45871         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
45872         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
45873         * sysdeps/s390/__longjmp.c: New file.
45874         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
45875         * sysdeps/s390/longjmp.c: New file.
45876         * sysdeps/s390/setjmp.S: New file.
45877         * sysdeps/s390/sigjmp.S: New file.
45878         * sysdeps/s390/v1-longjmp.c: New file.
45879         * sysdeps/s390/v1-setjmp.h: New file.
45880         * sysdeps/s390/v1-sigjmp.c: New file.
45881         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
45882         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
45883         GLIBC_2.19 version.
45884         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
45885         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
45886         versioned symbols for ____longjmp_chk.
45887         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
45888         Likewise.
45889         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45890         Regenerate.
45891         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45892         Regenerate.
45893         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45894         Regenerate.
45895         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45896         Regenerate.
45897         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
45898         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
45899         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
45900         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
45901         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
45902         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
45903         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
45904         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
45905         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
45906         * sysdeps/s390/rtld-__longjmp.c: New file.
45907         * sysdeps/s390/rtld-setjmp.S: New file.
45909 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
45911         [BZ #16400]
45912         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
45913         Return -__logl (x) for small positive arguments without evaluating
45914         a polynomial.
45916 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
45918         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
45919         Rename to ...
45920         (__ptrace_peeksiginfo_args): ... this.
45921         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45922         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45923         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45925 2014-01-06  Allan McRae  <allan@archlinux.org>
45927         * inet/netinet/in.h: Fix typo in comment.
45929 2014-01-05  Andreas Jaeger  <aj@suse.de>
45931         * sysdeps/i386/fpu/libm-test-ulps: Update.
45933 2014-01-05  Allan McRae  <allan@archlinux.org>
45935         * po/libc.pot: Regenerated.
45937         * malloc/memusagestat.c: Fix gettext call formatting.
45939 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
45941         * nscd/nscd.c: Improve usage() output.
45943 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
45945         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
45946         * sysdeps/unix/sysv/linux/configure: Regenerated.
45947         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
45948         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
45950 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
45952         [BZ #16390]
45953         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
45954         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
45956 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45958         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
45959         extra tokens at end of #undef directive.
45960         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
45961         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
45962         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
45964 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
45966         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45968         * math/auto-libm-test-in: Mark various tests with
45969         xfail-rounding:ldbl-128ibm.
45970         * math/auto-libm-test-out: Regenerated.
45972 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
45974         [BZ #16386]
45975         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
45976         numbers with subnormal high part when calculating exponent.
45978         [BZ #16385]
45979         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
45980         fabs.
45982         [BZ #16384]
45983         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
45984         M_LN2l.
45985         (__ieee754_acoshl): Use __log1pl not __log1p.
45987 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
45989         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
45990         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
45991         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
45992         (grow_heap, heap_trim, _int_new_arena, get_free_list)
45993         (reused_arena, arena_get2): Convert to GNU style.
45994         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
45995         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
45996         (memalign_check, __malloc_set_state): Likewise.
45997         * malloc/mallocbug.c (main): Likewise.
45998         * malloc/malloc.c (__malloc_assert, malloc_init_state)
45999         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
46000         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
46001         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
46002         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
46003         (__posix_memalign, malloc_info): Likewise.
46004         * malloc/malloc.h: Likewise.
46005         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
46006         (mallochook, memalignhook, reallochook, mabort): Likewise.
46007         * malloc/mcheck.h: Likewise.
46008         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
46009         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
46010         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
46011         * malloc/morecore.c (__default_morecore): Likewise.
46012         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
46013         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
46014         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
46015         (print_and_abort): Likewise.
46016         * malloc/obstack.h: Likewise.
46017         * malloc/set-freeres.c (__libc_freeres): Likewise.
46018         * malloc/tst-mallocstate.c (main): Likewise.
46019         * malloc/tst-mtrace.c (main): Likewise.
46020         * malloc/tst-realloc.c (do_test): Likewise.
46022 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46024         [BZ #16366]
46025         * nscd/netgroupcache.c (do_notfound): New function.
46026         (addgetnetgrentX): Use it.
46028         [BZ # 16365]
46029         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
46030         NSS_STATUS_NOTFOUND.
46032 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
46034         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
46035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46037 2014-01-01  Allan McRae  <allan@archlinux.org>
46039         * scripts/update-copyrights: Update configure input file suffix.
46041         * NEWS: Update copyright year.
46042         * catgets/gencat.c: Likewise.
46043         * csu/version.c: Likewise.
46044         * debug/catchsegv.sh: Likewise.
46045         * debug/pcprofiledump.c: Likewise.
46046         * debug/xtrace.sh: Likewise.
46047         * elf/ldconfig.c: Likewise.
46048         * elf/ldd.bash.in: Likewise.
46049         * elf/pldd.c: Likewise.
46050         * elf/sotruss.ksh: Likewise.
46051         * elf/sprof.c: Likewise.
46052         * iconv/iconv_prog.c: Likewise.
46053         * iconv/iconvconfig.c: Likewise.
46054         * locale/programs/locale.c: Likewise.
46055         * locale/programs/localedef.c: Likewise.
46056         * login/programs/pt_chown.c: Likewise.
46057         * malloc/memusage.sh: Likewise.
46058         * malloc/memusagestat.c: Likewise.
46059         * malloc/mtrace.pl: Likewise.
46060         * manual/libc.texinfo: Likewise.
46061         * nscd/nscd.c: Likewise.
46062         * nss/getent.c: Likewise.
46063         * nss/makedb.c: Likewise.
46064         * posix/getconf.c: Likewise.
46065         * scripts/test-installation.pl: Likewise.
46067         * All files with FSF copyright notices: Update copyright dates
46068         using scripts/update-copyrights.
46069         * intl/plural.c: Regenerated.
46070         * locale/programs/charmap-kw.h: Likewise.
46071         * locale/programs/locfile-kw.h: Likewise.
46073 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
46075         * sysdeps/unix/sysv/linux/configure: Regenerated.
46076         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
46077         the linux/fanotify.h header.
46078         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
46079         HAVE_LINUX_FANOTIFY_H is defined.
46081 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
46083         * benchtests/cos-inputs: New inputs.
46084         * benchtests/sin-inputs: Likewise.
46086         * benchtests/atan-inputs: New inputs. Fix name of multiple
46087         precision fallback inputs.
46089         * benchtests/atanh-inputs: New inputs.
46090         * benchtests/tanh-inputs: Likewise.
46092         * benchtests/acosh-inputs: New inputs.
46093         * benchtests/asinh-inputs: Likewise.
46095         * benchtests/cosh-inputs: New inputs.
46096         * benchtests/sinh-inputs: Likewise.
46098         * benchtests/acos-inputs: Add more inputs.
46099         * benchtests/asin-inputs: Likewise.
46101 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
46103         [BZ #16375]
46104         * manual/arith.texi: Fix spelling.
46105         * manual/charset.texi: Likewise.
46106         * manual/errno.texi: Likewise.
46107         * manual/filesys.texi: Likewise.
46108         * manual/lang.texi: Likewise.
46109         * manual/llio.texi: Likewise.
46110         * manual/locale.texi: Likewise.
46111         * manual/message.texi: Likewise.
46112         * manual/resource.texi: Likewise.
46113         * manual/search.texi: Likewise.
46114         * manual/setjmp.texi: Likewise.
46115         * manual/stdio.texi: Likewise.
46116         * manual/string.texi: Likewise.
46117         * manual/sysinfo.texi: Likewise.
46118         * manual/time.texi: Likewise.
46120 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
46122         * po/sl.po: New file.
46124 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
46126         * .gitignore: Add core/.gdbinit/.gdb_history.
46128 2013-12-27  Allan McRae  <allan@archlinux.org>
46130         [BZ #16369]
46131         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
46132         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
46134 2013-12-24  Brooks Moses  <bmoses@google.com>
46136         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
46137         all compilers that claim C++98 compliance, not just GCC.
46138         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
46139         Likewise.
46141 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
46143         * NEWS: Restore accidentally deleted bug-fix entries.
46145 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
46146             Ondřej Bílka  <neleai@seznam.cz>
46148         [BZ #15073]
46149         * malloc/malloc.c (_int_free): Perform sanity check only if we
46150         have_lock.
46152 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
46154         [BZ #12986]
46155         * manual/stdio.texi (String Input Conversions): Clarify that character
46156         classes are not supported.
46158 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46160         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46162 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
46164         [BZ #16337]
46165         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
46166         Calculate results for small negative arguments directly rather
46167         than using reflection formula with special underflow handling.
46169         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
46170         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
46171         sysdeps/unix/bsd/bsd4.4/syscalls.list.
46172         (fchflags): Likewise.
46173         (revoke): Likewise.
46174         (setlogin): Likewise.
46175         (sigaltstack): Likewise.
46176         (wait4): Likewise.
46177         (sigblock): Remove.
46178         (sigsetmask): Likewise.
46179         (wait3): Likewise.
46180         (waitpid): Likewise.
46181         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
46182         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
46183         file.
46184         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
46185         * sysdeps/unix/bsd/Makefile: ... here.
46186         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
46187         * sysdeps/unix/bsd/Versions: ... here.
46188         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
46189         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
46190         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
46191         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
46192         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
46193         * sysdeps/unix/bsd/sigblock.c: ... here.
46194         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
46195         * sysdeps/unix/bsd/sigsetmask.c: ... here.
46196         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
46197         * sysdeps/unix/bsd/sigvec.c: ... here.
46198         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
46199         * sysdeps/unix/bsd/tcdrain.c: ... here.
46200         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
46201         * sysdeps/unix/bsd/tcgetattr.c: ... here.
46202         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
46203         * sysdeps/unix/bsd/tcsetattr.c: ... here.
46204         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
46205         * sysdeps/unix/bsd/wait.c: ... here.
46206         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
46207         * sysdeps/unix/bsd/wait3.c: ... here.
46208         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
46209         * sysdeps/unix/bsd/waitpid.c: ... here.
46211 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
46213         [BZ #16356]
46214         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
46215         round-to-nearest for [!USE_AS_EXPM1L].
46216         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
46217         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
46218         more tests of exp and exp10.  Expect some exp10 tests to miss
46219         exceptions or fail in directed rounding modes.
46220         * math/auto-libm-test-out: Regenerated.
46221         * math/libm-test.inc (exp10_tonearest_test_data): New array.
46222         (exp10_test_tonearest): New function.
46223         (exp10_towardzero_test_data): New array.
46224         (exp10_test_towardzero): New function.
46225         (exp10_downward_test_data): New array.
46226         (exp10_test_downward): New function.
46227         (exp10_upward_test_data): New array.
46228         (exp10_test_upward): New function.
46229         (main): Call the new functions.
46230         * sysdeps/i386/fpu/libm-test-ulps: Update.
46231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46233 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
46235         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
46236         asinh, atan, atan2, atanh, cbrt, cos and cosh.
46237         * math/auto-libm-test-out: Regenerated.
46238         * math/libm-test.inc (acosh_test_data): Add more tests.
46239         (atanh_test_data): Likewise.
46240         (ceil_test_data): Likewise.
46241         (copysign_test_data): Likewise.
46242         * sysdeps/i386/fpu/libm-test-ulps: Update.
46243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46245         * timezone/checktab.awk: Update from tzcode 2013i.
46246         * timezone/private.h: Likewise.
46247         * timezone/scheck.c: Likewise.
46248         * timezone/tzfile.h: Likewise.
46249         * timezone/tzselect.ksh: Likewise.
46250         * timezone/zdump.c: Likewise.
46251         * timezone/zic.c: Likewise.
46253         * math/auto-libm-test-in: Add tests of cpow.
46254         * math/auto-libm-test-out: Regenerated.
46255         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
46256         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46257         mpc_cc_c.
46258         (func_calc_desc): Add mpc_cc_c union field.
46259         (test_functions): Add cpow.
46260         (special_fill_2pi): New function.
46261         (special_real_inputs): Add 2pi.
46262         (calc_generic_results): Handle mpc_cc_c.
46263         * sysdeps/i386/fpu/libm-test-ulps: Update.
46264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46266         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
46267         csqrt, ctan and ctanh.
46268         * math/auto-libm-test-out: Regenerated.
46269         * math/libm-test.inc (TEST_COND_x86_64): New macro.
46270         (TEST_COND_x86): Likewise.
46271         (ccos_test_data): Use AUTO_TESTS_c_c.
46272         (ccosh_test_data): Likewise.
46273         (cexp_test_data): Likewise.
46274         (clog_test_data): Likewise.
46275         (csqrt_test_data): Likewise.
46276         (ctan_test_data): Likewise.
46277         (ctan_tonearest_test_data): Likewise.
46278         (ctan_towardzero_test_data): Likewise.
46279         (ctan_downward_test_data): Likewise.
46280         (ctan_upward_test_data): Likewise.
46281         (ctanh_test_data): Likewise.
46282         (ctanh_tonearest_test_data): Likewise.
46283         (ctanh_towardzero_test_data): Likewise.
46284         (ctanh_downward_test_data): Likewise.
46285         (ctanh_upward_test_data): Likewise.
46286         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46287         mpc_c_c.
46288         (func_calc_desc): Add mpc_c_c union field.
46289         (FUNC_mpc_c_c): New macro.
46290         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
46291         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
46292         ctanh.
46293         (special_fill_min_subnorm_p120): New function.
46294         (special_real_inputs): Add min_subnorm_p120.
46295         (calc_generic_results): Handle mpc_c_c.
46296         * sysdeps/i386/fpu/libm-test-ulps: Update.
46297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46299 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46301         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
46302         (do_sin_slow): New functions.
46303         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
46304         (cslow2, csloww1, csloww2): Use the new functions.
46306         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
46307         Use M to change sign of result instead of X.  Assume X is
46308         positive.
46309         (csloww1): Likewise.
46310         (__sin): Adjust.
46311         (__cos): Adjust.
46313         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
46314         arguments A and DA.
46315         (__sin): Adjust.
46316         (__cos): Likewise.
46318         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
46319         (__cos): Likewise.
46320         (sloww1): Don't adjust sign of DX.
46321         (csloww1): Likewise.
46322         (sloww2): Use X directly and don't adjust sign of DX.
46323         (csloww2): Likewise.
46325 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
46327         * math/auto-libm-test-in: Add tests of cabs and carg.
46328         * math/auto-libm-test-out: Regenerated.
46329         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
46330         (carg_test_data): Likewise.
46331         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46332         mpc_c_f.
46333         (func_calc_desc): Add mpc_c_f union field.
46334         (test_functions): Add cabs and carg.
46335         (calc_generic_results): Handle mpc_c_f.
46337         * sysdeps/powerpc/powerpc32/libgcc-compat.S
46338         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
46339         as a macro and a compat symbol.
46340         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
46341         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
46342         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
46343         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
46344         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
46345         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
46346         not use .hidden.
46347         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
46348         Likewise.
46349         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
46350         Likewise.
46351         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
46352         Likewise.
46353         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
46354         Likewise.
46355         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
46356         Likewise.
46357         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
46358         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
46359         from GLIBC_2.3.2.
46361 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46363         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46365 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
46367         * manual/texinfo.tex: Update to version 2013-11-26.10 with
46368         trailing whitespace removed.
46369         * scripts/config.guess: Update to version 2013-11-29.
46370         * scripts/config.sub: Update to version 2013-10-01.
46372         * math/auto-libm-test-in: Add tests of sincos.
46373         * math/auto-libm-test-out: Regenerated.
46374         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
46375         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46376         mpfr_f_11.
46377         (func_calc_desc): Add mpfr_f_11 union field.
46378         (test_functions): Add sincos.
46379         (calc_generic_results): Handle mpfr_f_11.
46380         * sysdeps/i386/fpu/libm-test-ulps: Update.
46381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46383 2013-12-19  Andreas Schwab  <schwab@suse.de>
46385         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
46386         CALL_MCOUNT.
46387         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
46388         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
46389         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
46391 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
46393         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
46394         * sysdeps/i386/fpu/libm-test-ulps: Update.
46395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46397         [BZ #16293]
46398         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
46399         round-to-nearest mode when using frndint.
46400         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
46401         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
46402         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
46403         Likewise.
46404         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
46405         sinh test to fail.
46406         * math/auto-libm-test-out: Regenerated.
46407         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
46408         (TEST_COND_x86): Likewise.
46409         (expm1_tonearest_test_data): New array.
46410         (expm1_test_tonearest): New function.
46411         (expm1_towardzero_test_data): New array.
46412         (expm1_test_towardzero): New function.
46413         (expm1_downward_test_data): New array.
46414         (expm1_test_downward): New function.
46415         (expm1_upward_test_data): New array.
46416         (expm1_test_upward): New function.
46417         (main): Run the new test functions.
46418         * sysdeps/i386/fpu/libm-test-ulps: Update.
46419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46421         * include/features.h: Update comment documenting feature test
46422         macros.  Mention _DEFAULT_SOURCE in comment.
46423         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
46424         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
46425         _BSD_SOURCE and _SVID_SOURCE.
46426         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
46427         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
46428         !_SVID_SOURCE]: Likewise.
46429         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
46430         (__USE_POSIX_IMPLICITLY): Define.
46431         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
46432         (_POSIX_SOURCE): Undefine and redefine.
46433         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
46434         (_POSIX_C_SOURCE): Likewise.
46435         * manual/creature.texi (_DEFAULT_SOURCE): Document.
46436         (Feature Test Macros): Update documentation of default features.
46438 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
46440         * benchtests/Makefile: Add bench-strtok.
46441         * benchtests/bench-strtok.c: New file: strtok benchtest.
46443 2013-12-19  Allan McRae  <allan@archlinux.org>
46445         * manual/install.texi: Suppress menu for plain text output.
46446         * INSTALL: Regenerated.
46448 2013-12-18  Brooks Moses  <bmoses@google.com>
46450         [BZ #15846]
46451         * misc/getauxval.c: Include errno.h.
46452         (__getauxval): Set errno to ENOENT if the requested type is not
46453         found.
46454         * misc/sys/auxv.h (getauxval): Document that it may set errno;
46455         don't declare with __attribute_const__.
46456         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
46457         * manual/startup.texi: Document that getauxval sets errno.
46459 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
46461         * math/auto-libm-test-in: Add tests of jn and yn.
46462         * math/auto-libm-test-out: Regenerated.
46463         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
46464         (yn_test_data): Likewise.
46465         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46466         mpfr_if_f.
46467         (func_calc_desc): Add mpfr_if_f union field.
46468         (FUNC_mpfr_if_f): New macro.
46469         (test_functions): Add jn and yn.
46470         (calc_generic_results): Assert type of second input for
46471         mpfr_ff_f.  Handle mpfr_if_f.
46472         (output_for_one_input_case): Disable all checking for arguments
46473         fitting floating-point types in case of an integer argument.
46474         * sysdeps/i386/fpu/libm-test-ulps: Update.
46475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
46478         Don't expect fegetround reference in libm.so.
46480 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46482         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
46483         $(config-cflags-nofma).
46485 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
46487         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
46488         * math/auto-libm-test-out: Regenerated.
46490         [BZ #16338]
46491         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
46492         to determine exponent and adjust argument to have exponent of -1.
46493         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
46494         log2.
46495         * math/auto-libm-test-out: Regenerated.
46496         * sysdeps/i386/fpu/libm-test-ulps: Update.
46497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46499 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
46501         * manual/probes.texi: Remove cases when per-thread arenas are
46502         disabled.
46504 2013-12-18  Andreas Schwab  <schwab@suse.de>
46506         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
46507         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
46508         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
46509         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
46510         * sysdeps/i386/i686/multiarch/Makefile: Update.
46511         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
46513 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
46515         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
46516         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
46518 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
46520         [BZ #15968]
46521         Support TZ transition times < 00:00:00.
46522         This is needed for version-3 tz-format files; it supports time
46523         stamps past 2037 for America/Godthab (the only entry in the tz
46524         database for which this change is relevant).
46525         * manual/time.texi (TZ Variable): Document transition times
46526         from -167:59:59 through -00:00:01.
46527         * time/tzset.c (tz_rule): Time of day is now signed.
46528         (__tzset_parse_tz): Parse negative time of day.
46530         Document TZ transition times >= 25:00:00.
46531         * manual/time.texi (TZ Variable): Document transition times from
46532         25:00:00 through 167:59:59.  These are already supported, and this
46533         support will help with version-3 tz-format files.
46535         * manual/time.texi (TZ Variable): Modernize North America example
46536         to reflect current (i.e., 2007-and-later) daylight saving rules.
46538         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
46540 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
46542         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
46543         * sysdeps/unix/bsd/bits/stat.h: Likewise.
46544         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
46545         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
46546         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
46547         * sysdeps/unix/bsd/bsdstat.h: Likewise.
46548         * sysdeps/unix/bsd/clock.c: Likewise.
46549         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
46550         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
46551         * sysdeps/unix/bsd/init-posix.c: Likewise.
46552         * sysdeps/unix/bsd/poll.c: Likewise.
46553         * sysdeps/unix/bsd/ptsname.c: Likewise.
46554         * sysdeps/unix/bsd/seekdir.c: Likewise.
46555         * sysdeps/unix/bsd/setegid.c: Likewise.
46556         * sysdeps/unix/bsd/seteuid.c: Likewise.
46557         * sysdeps/unix/bsd/setgid.c: Likewise.
46558         * sysdeps/unix/bsd/setrgid.c: Likewise.
46559         * sysdeps/unix/bsd/setruid.c: Likewise.
46560         * sysdeps/unix/bsd/setsid.c: Likewise.
46561         * sysdeps/unix/bsd/setuid.c: Likewise.
46562         * sysdeps/unix/bsd/sigaction.c: Likewise.
46563         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
46564         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
46565         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
46566         * sysdeps/unix/bsd/telldir.c: Likewise.
46567         * sysdeps/unix/bsd/times.c: Likewise.
46568         * sysdeps/unix/bsd/usleep.c: Likewise.
46570         * misc/Makefile (install-lib): Remove libbsd-compat.a.
46571         ($(objpfx)libbsd-compat.a): Remove rule.
46573         * include/features.h (__FAVOR_BSD): Do not define.
46574         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
46575         features conflicting with POSIX.
46576         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
46577         (_BSD_SOURCE): Remove description of not being a subset of other
46578         feature test macros.
46579         * manual/job.texi (getpgrp): Do not document BSD version.
46580         (getpgid): Do not document by reference to BSD getpgrp.
46581         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
46582         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
46583         * signal/signal.h [__FAVOR_BSD]: Likewise.
46584         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
46585         instead of making contents conditional on [__FAVOR_BSD].
46586         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
46588 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46592 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
46594         [BZ #16314]
46595         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
46596         values below 2**-450, not 2**-500.
46597         * math/auto-libm-test-in: Don't allow spurious underflow from
46598         hypot.
46599         * math/auto-libm-test-out: Regenerated.
46601         [BZ #16316]
46602         [BZ #16330]
46603         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
46604         values of ha and hb and sort them after adjusting subnormal
46605         arguments.
46606         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
46607         Likewise.
46608         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
46609         values of ea and eb and sort them after adjusting subnormal
46610         arguments.
46611         * math/auto-libm-test-in: Do not expect some hypot tests of
46612         subnormals to fail.  Add more hypot tests.
46613         * math/auto-libm-test-out: Regenerated.
46615 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46617         [BZ #13304]
46618         * sysdeps/sh/s_fma.c: New file.
46619         * sysdeps/sh/s_fmaf.c: New file.
46620         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
46621         version.
46622         * sysdeps/sh/Implies: Add sh/soft-fp.
46624 2013-12-16  Roland McGrath  <roland@hack.frob.com>
46626         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
46627         level of indirection to members `objname', `errstring', `malloced'.
46628         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
46629         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
46630         it as the __longjmp argument (just pass 1 instead).
46631         (_dl_catch_error): Initialize C with argument pointers and address of
46632         volatile local ERRCODE rather than copying values out of C at return.
46634 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
46636         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
46637         * math/auto-libm-test-out: Regenerated.
46638         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
46639         (hypot_test_data): Likewise.
46640         (pow_test_data): Likewise.
46641         (pow_tonearest_test_data): Likewise.
46642         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46643         mpfr_ff_f.
46644         (func_calc_desc): Add mpfr_ff_f union field.
46645         (FUNC_mpfr_ff_f): New macro.
46646         (test_functions): Add atan2, hypot and pow.
46647         (special_fill_min): New function.
46648         (special_fill_minus_min): Likewise.
46649         (special_fill_min_subnorm): Likewise.
46650         (special_fill_minus_min_subnorm): Likewise.
46651         (special_real_inputs): Add min, -min, min_subnorm and
46652         -min_subnorm.
46653         (calc_generic_results): Handle mpfr_ff_f.
46654         * sysdeps/i386/fpu/libm-test-ulps: Update.
46655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46657 2013-12-16  Will Newton  <will.newton@linaro.org>
46659         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
46660         (Aligned Memory Blocks): Add documentation for aligned_alloc
46661         and suggest it as an alternative to posix_memalign.
46662         (Hooks for Malloc): Document __memalign_hook is also called
46663         for aligned_alloc.  (Summary of Malloc): Add summary for
46664         aligned alloc.  Document __memalign_hook is also called
46665         for aligned_alloc.
46667 2013-12-16  Will Newton  <will.newton@linaro.org>
46669         * manual/memory.texi (Malloc Examples): Clarify default
46670         alignment documentation.  Suggest posix_memalign rather
46671         than memalign or valloc.
46672         (Aligned Memory Blocks): Remove suggestion to use memalign
46673         or valloc.  Remove obsolete comment about BSD.
46674         Document memalign errno values and mark the function obsolete.
46675         Document posix_memalign returned error codes.  Mark valloc
46676         as obsolete.  (Hooks for Malloc): __memalign_hook is also
46677         called for posix_memalign and valloc.
46678         (Summary of Malloc): Add posix_memalign to function summary.
46679         __memalign_hook is also called for posix_memalign and valloc.
46681 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46683         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
46684         TAYLOR_SIN.
46685         (__sin): Adjust.
46686         (__cos): Likewise.
46687         (sloww): Use mynumber union.  Expand ternary operator into
46688         if-else statements.
46689         (cslow): use mynumber union.
46691 2013-12-16  Allan McRae  <allan@archlinux.org>
46693         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
46694         * configure: Regenerated.
46696         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
46698         [BZ #14120]
46699         * configure.ac: Added --enable-maintainer-mode. Check for
46700         autoconf when enabled.
46701         * configure: Regenerated.
46703         * nscd/nscd.service: New file.
46704         * nscd/nscd.tmpfiles: New file.
46706 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
46708         [BZ #12100]
46709         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
46710         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
46711         * sysdeps/x86_64/multiarch/strstr.c: ... here.
46712         (strstr): Add __strstr_sse2_unaligned ifunc.
46713         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
46714         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
46715         (strcasestr): Remove __strcasestr_sse42 ifunc.
46716         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
46717         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
46718         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
46720 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46722         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
46723         * sysdeps/sh/bits/fenv.h: ... here.
46724         * sysdeps/sh/sh4/fpu/bits: Remove directory.
46726 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46728         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
46730         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
46731         hypotf multiarch implementations.
46732         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
46733         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
46734         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
46735         multiarch hypot for PPC64.
46736         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
46737         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
46738         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
46739         multiarch hypotf for PPC64.
46741         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
46742         modff multiarch implementations.
46743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
46744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
46745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
46746         multiarch modf for PPC64.
46747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
46748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
46749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
46750         multiarch modff for PPC64.
46752         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
46753         and logl multiarch implementations.
46754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
46755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
46756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
46757         multiarch logb for PPC64.
46758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
46759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
46760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
46761         multiarch logb for PPC64.
46762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
46763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
46764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
46765         multiarch logb for PPC64.
46767         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
46768         isinff multiarch implementation.
46769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
46770         file.
46771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
46772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
46773         multiarch isinf for PPC64.
46774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
46775         file.
46776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
46777         multiarch isinff for PPC64.
46779         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
46780         finitef multiarch implementation.
46781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
46782         file.
46783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
46784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
46785         multiarch finite for PPC64.
46786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
46787         file.
46788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
46789         multiarch finitef for PPC64.
46791         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
46792         lrint multiarch implementation.
46793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
46794         file.
46795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
46796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
46797         multiarch llrint for PPC64.
46798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
46799         multiarch lrint for PPC64.
46801         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
46802         copysignf multiarch implementation.
46803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
46804         file.
46805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
46806         file.
46807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
46808         multiarch copysign for PPC64.
46809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
46810         multiarch copysignf for PPC64.
46812         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
46813         multiarch implementation.
46814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
46815         file.
46816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
46817         file.
46818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
46819         file.
46820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
46821         file.
46822         multiarch llround for PPC64.
46823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
46824         multiarch trunc for PPC64.
46825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
46826         multiarch truncf for PPC64.
46828         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
46829         multiarch implementation.
46830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
46831         file.
46832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
46833         file.
46834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
46835         file.
46836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
46837         file.
46838         multiarch llround for PPC64.
46839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
46840         multiarch round for PPC64.
46841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
46842         multiarch roundf for PPC64.
46844         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
46845         multiarch implementation.
46846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
46847         file.
46848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
46849         file.
46850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
46851         file.
46852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
46853         file.
46854         multiarch llround for PPC64.
46855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
46856         multiarch floor for PPC64.
46857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
46858         multiarch floorf for PPC64.
46860         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
46861         multiarch implementation.
46862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
46863         file.
46864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
46865         file.
46866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
46867         file.
46868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
46869         file.
46870         multiarch llround for PPC64.
46871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
46872         multiarch ceil for PPC64.
46873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
46874         multiarch ceilf for PPC64.
46876         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
46877         multiarch implementation.
46878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
46879         file.
46880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
46881         file.
46882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
46883         file.
46884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
46885         multiarch llround for PPC64.
46886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
46887         multiarch lround for PPC64.
46889         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
46890         multiarch implementation.
46891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
46892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
46893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
46894         file.
46895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
46896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
46897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
46898         multiarch isnan for PPC64.
46899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
46900         multiarch isnanf for PPC64.
46902         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
46903         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
46904         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
46905         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
46906         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
46907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
46909         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
46910         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46911         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46912         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46914         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
46915         multiarch implementations.
46916         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46917         (__libc_ifunc_impl_list): Likewise.
46918         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
46919         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
46920         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
46921         multiarch stpcpy for PPC64.
46923         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
46924         multiarch implementations.
46925         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46926         (__libc_ifunc_impl_list): Likewise.
46927         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
46928         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
46929         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
46930         multiarch strcpy for PPC64.
46932         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
46933         redefine function name.
46934         (_wordcopy_fwd_dest_aligned): Likewise.
46935         (_wordcopy_bwd_aligned): Likewise.
46936         (_wordcopy_bwd_dest_aligned): Likewise.
46937         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
46938         multiarch implementations.
46939         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46940         (__libc_ifunc_impl_list): Likewise.
46941         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
46942         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
46943         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
46944         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
46945         multiarch wcscpy for PPC64.
46947         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
46948         multiarch implementations.
46949         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46950         (__libc_ifunc_impl_list): Likewise.
46951         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
46952         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
46953         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
46954         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
46955         multiarch wcscpy for PPC64.
46957         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
46958         multiarch implementations.
46959         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46960         (__libc_ifunc_impl_list): Likewise.
46961         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
46962         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
46963         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
46964         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
46965         multiarch wcsrchr for PPC64.
46967         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
46968         multiarch implementations.
46969         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46970         (__libc_ifunc_impl_list): Likewise.
46971         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
46972         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
46973         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
46974         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
46975         multiarch wcschr for PPC64.
46977         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
46978         multiarch implementations.
46979         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46980         (__libc_ifunc_impl_list): Likewise.
46981         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
46982         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
46983         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
46984         multiarch strchrnul for PPC64.
46986         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
46987         implementations.
46988         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46989         (__libc_ifunc_impl_list): Likewise.
46990         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
46991         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
46992         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
46993         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
46994         strchr for PPC64.
46996         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
46997         implementations.
46998         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46999         (__libc_ifunc_impl_list): Likewise.
47000         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
47001         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
47002         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
47003         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
47004         strncmp for PPC64.
47006         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
47007         multiarch implementations.
47008         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47009         (__libc_ifunc_impl_list): Likewise.
47010         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
47011         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
47012         strncasecmp for PPC64.
47013         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
47014         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
47015         multiarch strncasecmp_l for PPC64.
47017         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
47018         multiarch implementations.
47019         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47020         (__libc_ifunc_impl_list): Likewise.
47021         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
47022         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
47023         multiarch strcasecmp for PPC64.
47024         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
47025         file.
47026         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
47027         multiarch strcasecmp_l for PPC64.
47029         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
47030         implementations.
47031         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47032         (__libc_ifunc_impl_list): Likewise.
47033         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
47034         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
47035         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
47036         strnlen for PPC64.
47038         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
47039         implementations.
47040         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47041         (__libc_ifunc_impl_list): Likewise.
47042         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
47043         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
47044         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
47045         strlen for PPC64.
47047         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
47048         implementations.
47049         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47050         (__libc_ifunc_impl_list): Likewise.
47051         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
47052         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
47053         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
47054         rawmemrchr for PPC64.
47056         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
47057         implementation.
47058         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47059         (__libc_ifunc_impl_list): Likewise.
47060         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
47061         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
47062         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
47063         memrchr for PPC64.
47065         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
47066         implementation.
47067         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47068         (__libc_ifunc_impl_list): Likewise.
47069         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
47070         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
47071         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
47072         memchr for PPC64.
47074         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
47075         implementation.
47076         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47077         (__libc_ifunc_impl_list): Likewise.
47078         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
47079         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
47080         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
47081         mempcpy for PPC64.
47083         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
47084         avoid cretion of __bzero symbol.
47085         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
47086         Likewise.
47087         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
47088         Likewise.
47089         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
47090         Likewise.
47091         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
47092         multiarch implementations.
47093         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47094         (__libc_ifunc_impl_list): Likewise.
47095         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
47096         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
47097         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
47098         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
47099         bzero for PPC32.
47100         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
47101         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
47102         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
47103         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
47104         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
47105         memset for PPC64.
47106         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
47108         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
47109         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
47110         implementations.
47111         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47112         (__libc_ifunc_impl_list): Likewise.
47113         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
47114         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
47115         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
47116         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
47117         memcmp for PPC64.
47119         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
47120         multiarch for POWER/PPC64.
47121         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
47122         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
47123         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
47124         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
47125         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
47126         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
47127         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
47128         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
47129         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
47130         memcpy for PPC64.
47132         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
47133         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
47134         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
47135         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
47136         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
47137         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
47138         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
47139         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
47140         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
47141         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
47142         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
47143         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
47144         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
47145         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
47146         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
47147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
47148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
47149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
47150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
47151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
47152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
47153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
47155 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47157         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
47159 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47161         * benchtests/Makefile (bench): Add exp2 and log2.
47162         (LDLIBS-bench-exp2): Add -lm.
47163         (LDLIBS-bench-log2): Likewise.
47164         * benchtests/exp2-inputs: New inputs file.
47165         * benchtests/log2-inputs: New inputs file.
47166         * benchtests/log-inputs: Add new inputs.
47167         * benchtests/tan-inputs: Likewise.
47169 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47171         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
47172         definition...
47173         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
47174         (csloww2): ... from here.
47176         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
47177         instead of structures.
47178         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
47179         (POLYNOMIAL): Likewise.
47180         (TAYLOR_SLOW): Likewise.
47181         (__sin): Likewise.
47182         (__cos): Likewise.
47183         (slow1): Likewise.
47184         (slow2): Likewise.
47185         (sloww): Likewise.
47186         (sloww1); Likewise.
47187         (sloww2): Likewise.
47188         (bsloww1): Likewise.
47189         (bsloww2): Likewise.
47190         (cslow2): Likewise.
47191         (csloww): Likewise.
47192         (csloww1): Likewise.
47193         (csloww2): Likewise.
47195 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
47197         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
47198         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
47199         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
47200         * malloc/hooks.c (realloc_check): Likewise.
47202         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
47203         * malloc/arena.c: Remove PER_THREAD conditional.
47204         [!PER_THREAD]: Remove code.
47205         (ptmalloc_unlock_all2): Likewise.
47206         (ptmalloc_init): Likewise.
47207         (_int_new_arena): Likewise.
47208         (arena_get2): Likewise.
47209         * malloc/hooks.c (__malloc_get_state): Likewise.
47210         (__malloc_set_state): Likewise.
47211         * malloc/malloc.c: Likewise.
47212         (struct malloc_state): Likewise.
47213         (struct malloc_par): Likewise.
47214         (__libc_realloc): Likewise.
47215         (__libc_mallopt): Likewise.
47217 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47219         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
47221 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
47223         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
47224         macro to a function.  Check for zero perturb_byte.
47225         (_int_malloc, _int_free): Remove zero perturb_byte checks.
47227         * malloc/malloc.c: (force_reg): Remove.
47228         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
47229         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
47230         force_reg by atomic_forced_read.
47231         * malloc/arena.c (ptmalloc_init): Likewise.
47232         * malloc/hooks.c (top_check): Likewise.
47234 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47236         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47238 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
47240         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47242 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
47244         * math/auto-libm-test-in: Add tests of lgamma.
47245         * math/auto-libm-test-out: Regenerated.
47246         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
47247         (M_LOG_2_SQRT_PIl): Likewise.
47248         (lgamma_test_data): Use AUTO_TESTS_f_f1.
47249         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47250         mpfr_f_f1.
47251         (func_calc_desc): Add mpfr_f_f1 union field.
47252         (ARGS1): New macro.
47253         (ARGS2): Likewise.
47254         (ARGS3): Likewise.
47255         (ARGS4): Likewise.
47256         (RET1): Likewise.
47257         (RET2): Likewise.
47258         (CALC): Likewise.
47259         (FUNC): Likewise.
47260         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
47261         (test_functions): Add lgamma.
47262         (calc_generic_results): Handle mpfr_f_f1.
47263         * sysdeps/i386/fpu/libm-test-ulps: Update.
47264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47266 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47268         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
47269         __mpn_add_n for PowerPC64/POWER7.
47270         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
47271         __mpn_sub_n for PowerPC64/POWER7.
47273         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
47274         __mpn_addmul_1 for PowerPC64.
47275         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
47276         __mpn_submul_1 for PowerPC64.
47277         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
47278         for PowerPC64.
47279         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
47280         for PowerPC64.
47282 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
47284         [BZ #15089]
47285         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
47287 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47289         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
47291         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
47292         add multiarch folders.
47293         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
47294         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
47295         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
47296         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
47297         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
47298         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
47299         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
47300         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
47301         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
47302         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
47303         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
47304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
47305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
47306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
47307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
47308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
47309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
47311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
47312         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
47313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
47314         New file.
47315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
47316         New file.
47317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
47318         multiarch __ieee754_hypot for PowerPC32.
47319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
47320         New file.
47321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
47322         New file.
47323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
47324         multiarch __ieee754_hypotf for PowerPC32.
47326         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
47327         long_double_symbol only if __logbl is defined.
47328         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
47329         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
47330         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
47331         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
47332         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
47333         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
47334         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
47335         path for implementation.
47336         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
47337         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
47338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
47339         logb, and logbl multiarch implementations for PowerPC32.
47340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
47341         file.
47342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
47343         file.
47344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
47345         multiarch logb for PowerPC32.
47346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
47347         file.
47348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
47349         file.
47350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
47351         multiarch logbf for PowerPC32.
47352         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
47353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
47354         file.
47355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
47356         multiarch logbl implementation for PowerPC32.
47358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
47359         and modff multiarch implementations.
47360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
47361         New file.
47362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
47363         New file.
47364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
47365         multiarch modf for PowerPC32.
47366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
47367         New file.
47368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
47369         New file.
47370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
47371         multiarch modff for PowerPC32.
47373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
47374         and lrintf multiarch implementations.
47375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
47376         New file.
47377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
47378         New file.
47379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
47380         multiarch lrint for PowerPC32.
47381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
47382         file: multiarch lrintf for PowerPC32.
47384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
47385         and lroundf multiarch implementations.
47386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
47387         New file.
47388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
47389         New file.
47390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
47391         New file.
47392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
47393         multiarch lround for PowerPC32.
47394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
47395         file: multiarch lroundf for PowerPC32.
47397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
47398         copysign and copysignf multiarch implementations.
47399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
47400         New file.
47401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
47402         New file.
47403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
47404         file: multiarch copysign for PowerPC32.
47405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
47406         file: multiarch copysignf for PowerPC32.
47408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
47409         and truncf multiarch implementations.
47410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
47411         New file.
47412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
47413         file.
47414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
47415         multiarch trunc for PowerPC32.
47416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
47417         New file.
47418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
47419         New file.
47420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
47421         multiarch truncf for PowerPC32.
47423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
47424         and roundf multiarch implementations.
47425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
47426         New file.
47427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
47428         file.
47429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
47430         multiarch round for PowerPC32.
47431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
47432         New file.
47433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
47434         New file.
47435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
47436         multiarch roundf for PowerPC32.
47438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
47439         and floorf multiarch implementations.
47440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
47441         New file.
47442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
47443         file.
47444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
47445         multiarch floor for PowerPC32.
47446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
47447         New file.
47448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
47449         New file.
47450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
47451         multiarch floorf for PowerPC32.
47453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
47454         and ceilf multiarch implementations.
47455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
47456         New file.
47457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
47458         file.
47459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
47460         multiarch ceil for PowerPC32.
47461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
47462         New file.
47463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
47464         file.
47465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
47466         multiarch ceilf for PowerPC32.
47468         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
47469         is defined.
47470         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
47471         FINITEF is defined.
47472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
47473         and finitef multiarch implementations.
47474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
47475         New file.
47476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
47477         file.
47478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
47479         multiarch finite for PowerPC32.
47480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
47481         New file.
47482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
47483         file: multiarch finitef for PowerPC32.
47485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
47486         and isinff multiarch implementations.
47487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
47488         file.
47489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
47490         file.
47491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
47492         multiarch isinf for PowerPC32.
47493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
47494         New file.
47495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
47496         multiarch isinff for PowerPC32.
47498         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
47499         alias when __isnan is defined.
47500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
47501         and isnanf multiarch implementations.
47502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
47503         file.
47504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
47505         file.
47506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
47507         file.
47508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
47509         file.
47510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
47511         multiarch isnan for PowerPC32.
47512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
47513         New file.
47514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
47515         New file.
47516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
47517         multiarch isnanf for PowerPC32.
47519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
47520         and sqrtf multiarch implementations.
47521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
47522         file.
47523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
47524         file.
47525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
47526         multiarch sqrt for PowerPC32.
47527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
47528         file.
47529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
47530         file.
47531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
47532         multiarch sqrtf for PowerPC32.
47534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
47535         and llroundf multiarch implementations.
47536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
47537         New file.
47538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
47539         New file.
47540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
47541         New file.
47542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
47543         file: multiarch llround for PowerPC32.
47544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
47545         file: multiarch llroundf for PowerPC32.
47547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
47548         multiarch PowerPC32 fpu implementations.
47549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
47550         New file.
47551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
47552         New file.
47553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
47554         multiarch llrint for PowerPC32.
47555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
47556         New file.
47557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
47558         New file.
47559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
47560         file.
47562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
47564         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
47565         file.
47566         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
47567         file.
47568         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
47569         file.
47570         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
47571         multiarch wordcopy for PPC32.
47572         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
47573         wordcopy objects.
47574         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47575         (__libc_ifunc_impl_list): Likewise.
47576         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
47577         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
47578         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
47579         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
47580         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
47581         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
47583         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
47584         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
47585         file.
47586         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
47587         file.
47588         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
47589         file.
47590         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
47591         multiarch wcscpy for PPC32.
47592         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
47593         multiarch objects.
47594         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47595         (__libc_ifunc_impl_list): Likewise.
47596         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
47597         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
47598         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
47599         sysdeps/powerpc/power6/wcscpy.c.
47601         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
47602         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
47603         file.
47604         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
47605         file.
47606         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
47607         file.
47608         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
47609         multiarch wcsrchr for PPC32.
47610         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
47611         multiarch objects.
47612         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47613         (__libc_ifunc_impl_list): Likewise.
47614         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
47615         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
47616         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
47617         sysdeps/powerpc/power6/wcsrchr.c.
47619         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
47620         file.
47621         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
47622         file.
47623         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
47624         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
47625         multiarch wcschr for PPc32.
47626         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
47627         multiarch objects.
47628         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47629         (__libc_ifunc_impl_list): Likewise.
47630         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
47631         * sysdeps/powerpc/power6/wcschr.c: ... to here.
47632         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
47633         sysdeps/powerpc/power6/wcschr.c.
47635         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
47636         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
47637         file.
47638         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
47639         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
47640         file: multiarch strchr for PPC32.
47641         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
47642         multiarch objects.
47643         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47644         (__libc_ifunc_impl_list): Likewise.
47646         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
47647         name.
47648         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
47649         file.
47650         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
47651         file.
47652         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
47653         multiarch strchrnul for PPC32.
47654         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
47655         multiarch objects.
47656         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47657         (__libc_ifunc_impl_list): Likewise.
47659         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
47660         file.
47661         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
47662         multiarch strncasecmp for PPC32.
47663         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
47664         file.
47665         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
47666         multiarch strncasecmp_l for PPC32.
47667         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
47668         strncasecmp multiarch objects.
47669         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47670         (__libc_ifunc_impl_list): Likewise.
47672         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
47673         file.
47674         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
47675         multiarch strncasecmp for PPC32.
47676         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
47677         New file.
47678         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
47679         multiarch strcasecmp_l for PPC32.
47680         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
47681         multiarch objects.
47682         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47683         (__libc_ifunc_impl_list): Likewise.
47685         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
47686         file.
47687         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
47688         file.
47689         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
47690         multiarch strncmp for PPC32.
47691         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
47692         multiarch objects.
47693         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47694         (__libc_ifunc_impl_list): Likewise.
47696         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
47697         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
47698         file.
47699         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
47700         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
47701         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
47702         multiarch objects.
47703         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47704         (__libc_ifunc_impl_list): Likewise.
47706         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
47707         file.
47708         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
47709         file.
47710         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
47711         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
47712         multiarch objects.
47713         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47714         (__libc_ifunc_impl_list): Likewise.
47716         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
47717         file.
47718         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
47719         file.
47720         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
47721         multiarch rawmemchr for PPC32.
47722         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
47723         multiarch objects.
47724         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47725         (__libc_ifunc_impl_list): Likewise.
47727         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
47728         file.
47729         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
47730         file.
47731         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
47732         file: memrchr multiarch for PPC32.
47733         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
47734         multiarch objects.
47735         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47736         (__libc_ifunc_impl_list): Likewise.
47738         * string/memchr.c (__memchr): Using macro to redefine symbol name.
47739         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
47740         file.
47741         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
47742         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
47743         multiarch memchr for PPC32.
47744         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
47745         multiarch objects.
47746         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47747         (__libc_ifunc_impl_list): Likewise.
47749         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
47750         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
47751         file.
47752         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
47753         file.
47754         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
47755         file: multiarch mempcpy for PPC32.
47756         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
47757         multiarch objects.
47758         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47759         (__libc_ifunc_impl_list): Likewise.
47761         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
47762         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
47763         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
47764         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
47765         multiarch bzero for PPC32.
47766         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
47767         file.
47768         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
47769         file.
47770         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
47771         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
47772         file: multiarch memset for PPC32.
47773         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
47774         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
47775         memset multiarch objects.
47776         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47777         (__libc_ifunc_impl_list): Likewise.
47779         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
47780         file.
47781         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
47782         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
47783         memcmp for PPC32.
47784         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
47785         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
47786         multiarch objects.
47787         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47788         (__libc_ifunc_impl_list): Likewise.
47790         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
47791         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
47792         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
47793         file.
47794         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
47795         file.
47796         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
47797         file.
47798         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
47799         multiarch memcpy for PPC32.
47800         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
47801         multiarch objects.
47802         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47803         (__libc_ifunc_impl_list): Likewise.
47805         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
47806         support multiarch for POWER/PPC32.
47807         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
47808         Likewise.
47809         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
47810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
47811         Implies file to make multiarch folder appers before the fpu and
47812         default folder for power4 configuration.
47814 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47816         * scripts/bench.pl: Append volatile keyword to type.
47818 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47820         * sysdeps/sh/sotruss-lib.c: New file.
47821         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
47823 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47825         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47827 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
47829         [BZ #6810]
47830         * math/w_tgamma.c: Include <errno.h>.
47831         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
47832         * math/w_tgammaf.c: Include <errno.h>.
47833         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
47834         * math/w_tgammal.c: Include <errno.h>.
47835         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
47836         * math/auto-libm-test-in: Do not allow missing errno on tgamma
47837         underflow.  Add more tgamma tests.
47838         * math/auto-libm-test-out: Regenerated.
47839         * sysdeps/i386/fpu/libm-test-ulps: Update.
47840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47842         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
47843         sin, sinh, tan, tanh, tgamma, y0 and y1.
47844         * math/auto-libm-test-out: Regenerated.
47845         * math/libm-test.inc (TEST_COND_x86_64): New macro.
47846         (TEST_COND_x86): Likewise.
47847         (M_E2l): Remove macro.
47848         (M_E3l): Likewise.
47849         (M_2_SQRT_PIl): Likewise.
47850         (M_SQRT_PIl): Likewise.
47851         (M_1_DIV_El): Likewise.
47852         (log_test_data): Use AUTO_TESTS_f_f.
47853         (log10_test_data): Likewise.
47854         (log1p_test_data): Likewise.
47855         (log2_test_data): Likewise.
47856         (sin_test_data): Likewise.
47857         (sin_tonearest_test_data): Likewise.
47858         (sin_towardzero_test_data): Likewise.
47859         (sin_downward_test_data): Likewise.
47860         (sin_upward_test_data): Likewise.
47861         (sinh_test_data): Likewise.
47862         (sinh_tonearest_test_data): Likewise.
47863         (sinh_towardzero_test_data): Likewise.
47864         (sinh_downward_test_data): Likewise.
47865         (sinh_upward_test_data): Likewise.
47866         (tan_test_data): Likewise.
47867         (tan_tonearest_test_data): Likewise.
47868         (tan_towardzero_test_data): Likewise.
47869         (tan_downward_test_data): Likewise.
47870         (tan_upward_test_data): Likewise.
47871         (tanh_test_data): Likewise.
47872         (tgamma_test_data): Likewise.
47873         (y0_test_data): Likewise.
47874         (y1_test_data): Likewise.
47875         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
47876         (special_real_inputs): Add pi/4.
47877         * sysdeps/i386/fpu/libm-test-ulps: Update.
47878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47880 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47882         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
47883         "longjmp_target" static probes.
47884         (__longjmp): Rename to __longjmp_symbol.
47885         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47886         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
47887         on which longjmp to generate.
47888         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
47889         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
47890         probe.
47891         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47892         (__sigjmp_save): Rename to __sigjmp_save_symbol.
47893         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
47894         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
47895         and __sigjmp_save_symbol based on which sigsetjmp to generated.
47896         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
47898         __longjmp_symbol based on which __longjmp to generate.
47899         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
47900         probe.
47901         (setjmp): Rename to setjmp_symbol.
47902         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47903         (_setjmp): Rename to _setjmp_symbol.
47904         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47905         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
47906         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
47907         which setjmp to generate.
47908         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
47909         "longjmp_target" static probes.
47911 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47913         * benchtests/README: Add note about output arguments.
47914         * benchtests/bench-sincos.c: Remove file.
47915         * benchtests/sincos-inputs: New file.
47916         * scripts/bench.pl: Identify output arguments and define
47917         static variables for them.
47919         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
47921         [BZ #15941]
47922         * Makefile (INSTALL): Add install-plain.texi as the primary
47923         dependency.
47924         * manual/install-plain.texi: New file.
47925         * manual/install.texi: Include node directive only for
47926         non-plaintext output.
47928 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
47930         * stdlib/longlong.h: Update from GCC.
47932         [BZ #6807]
47933         [BZ #15901]
47934         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
47935         * math/w_j0f.c (y0f): Likewise.
47936         * math/w_j0l.c (__y0l): Likewise.
47937         * math/w_j1.c (y1): Likewise.
47938         * math/w_j1f.c (y1f): Likewise.
47939         * math/w_j1l.c (__y1l): Likewise.
47940         * math/w_jn.c (yn): Likewise.
47941         * math/w_jnf.c (ynf): Likewise.
47942         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
47943         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
47944         value for Bessel function domain errors outside _SVID_ mode.
47945         Adjust sign of return value for yn (negative integer, 0).
47946         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
47947         by zero in return for negative x and set sign appropriately for
47948         negative n.
47949         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
47950         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
47951         * math/libm-test.inc (y0_test_data): Add more tests and adjust
47952         expectations in error cases.
47953         (y1_test_data): Likewise.
47954         (yn_test_data): Likewise.
47955         * sysdeps/i386/fpu/libm-test-ulps: Update.
47956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47958 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47960         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
47961         "64" to "64-v1".  Add "64-v2".
47962         (abi-64-options): Rename to ...
47963         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
47964         (abi-64-condition): Rename to ...
47965         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
47966         (abi-64-ld-soname): Rename to ...
47967         (abi-64-v1-ld-soname): ... this.
47968         (abi-64-v2-options): Define.
47969         (abi-64-v2-condition): Likewise.
47970         (abi-64-v2-ld-soname): Likewise.
47971         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
47972         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
47973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
47974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
47975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
47977 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47978             Alan Modra  <amodra@gmail.com>
47980         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
47981         New versions for use with the ELFv2 ABI.
47982         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
47983         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
47984         declaration.
47985         (struct La_ppc64v2_retval): Likewise.
47986         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
47987         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
47988         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
47989         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
47990         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
47991         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47992         Do not save or restore CR.
47993         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
47994         (_dl_profile_resolve): Do no save or restore CR.  Support extended
47995         return values for ELFv2 ABI.  Fix location of FPR return registers.
47996         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
47997         updated values for _CALL_ELF == 2.
47998         (La_regs, La_retval, int_retval): Likewise.
48000 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
48002         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
48003         (FRAME_MIN_SIZE_PARM): Likewise.
48004         (FRAME_BACKCHAIN): Likewise.
48005         (FRAME_CR_SAVE): Likewise.
48006         (FRAME_LR_SAVE): Likewise.
48007         (FRAME_TOC_SAVE): Likewise.
48008         (FRAME_PARM_SAVE): Likewise.
48009         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
48010         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
48011         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
48012         (call_mcount_parm_offset): New macro.
48013         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
48014         (PROF): Use symbolic stack frame offsets.
48015         (TAIL_CALL_SYSCALL_ERROR): Likewise.
48016         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
48017         Redefine in terms of FRAME_MIN_SIZE.
48018         (_dl_runtime_resolve): Use symbolic stack frame offsets.
48019         (_dl_profile_resolve): Likewise.  Update comment.
48020         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
48021         symbols stack frame offsets.
48022         (__sigsetjmp): Likewise.
48023         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
48024         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
48025         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
48026         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
48028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
48029         (FRAME_BACKCHAIN): Remove.
48030         (FRAME_CR_SAVE): Likewise.
48031         (FRAME_LR_SAVE): Likewise.
48032         (FRAME_COMPILER_DW): Likewise.
48033         (FRAME_LINKER_DW): Likewise.
48034         (FRAME_TOC_SAVE): Likewise.
48035         (FRAME_PARM_SAVE): Likewise.
48036         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
48037         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
48038         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
48039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
48040         (CHECK_SP): Use symbolic stack frame offsets.
48041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
48042         zone" instead of caller's parameter save area for temp storage.
48043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48044         Likewise.  Also, use symbolic stack frame offsets.
48045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
48046         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
48047         our own stack frame instead of the caller's.
48048         (__socket): Use symbolic stack frame offsets.
48050 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
48051             Alan Modra  <amodra@gmail.com>
48053         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
48054         Define.
48055         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
48056         (PPC64_LOCAL_ENTRY_OFFSET): Define.
48057         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
48058         New function.
48059         (elf_machine_fixup_plt): Call it.
48060         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
48061         reloc arguments.
48062         (elf_machine_rela): Update call to elf_machine_plt_conflict.
48063         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
48064         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
48065         r2 before calling target.
48067 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
48068             Alan Modra  <amodra@gmail.com>
48070         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
48071         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
48072         versions of macros to support ELFv2 ABI.
48073         (LOCALENTRY): New macro.
48074         (ENTRY, EALIGN): Use it.
48075         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
48076         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
48077         fall through into ENTRY entry point.
48078         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
48079         Only define if _CALL_ELF != 2.
48081         (elf_machine_matches_host): Verify ABI version matches.
48082         (RTLD_START): Use LOCALENTRY.
48083         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
48084         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
48085         (PLT_ENTRY_WORDS): New macro.
48086         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
48087         (elf_machine_runtime_setup): Support ELFv2 ABI.
48088         (elf_machine_fixup_plt): Likewise.
48089         (elf_machine_plt_conflict): Likewise.
48090         (resolve_ifunc): Likewise.
48091         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
48092         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
48093         Likewise.
48094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
48095         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
48096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48097         (makecontext): Support ELFv2 ABI.
48098         * elf/elf.h (EF_PPC64_ABI): Define.
48100 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
48102         * sysdeps/powerpc/powerpc64/sysdep.h
48103         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
48104         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
48105         (ENTRY) [ASSEMBLER]: ... but instead here ...
48106         (EALIGN) [ASSEMBLER]: ... and here.
48107         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
48108         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
48109         (ENTRY_2) [!ASSEMBLER]: Use it.
48110         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
48111         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
48112         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
48113         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
48114         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
48115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
48116         Use PPC64_LOAD_FUNCPTR.
48118         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
48120 2013-12-04  Alan Modra  <amodra@gmail.com>
48122         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
48123         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
48124         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
48125         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
48127         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
48128         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
48129         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
48130         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
48131         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
48132         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
48134 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
48136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48137         (__makecontext): Fix incorrect CFI when backtracing out of
48138         context created via makecontext.
48139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
48140         (__setcontext): Fix incorrect CFI during switch to new context.
48141         (__novec_setcontext): Likewise.
48143 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
48145         [BZ #4772]
48146         * time/strptime_l.c (__strptime_internal): Allow modifiers
48147         in strptime.
48148         * time/tst-strptime.c (day_tests): Add testcase.
48150 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48152         * scripts/bench.pl: Skip over blank lines.
48154 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
48156         [BZ #926]
48157         * manual/time.texi (Calendar Time): Clarify what timezone functions
48158         use.
48160 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48162         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48164 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
48166         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
48167         implementation.
48168         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
48169         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
48170         * debug/memset_chk.c (__memset_chk): Likewise.
48171         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
48172         * debug/strncpy_chk.c: Likewise.
48174 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
48176         [BZ #15268]
48177         [BZ #15425]
48178         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
48179         (__ieee754_exp): For possibly underflowing results, check size of
48180         result and force underflow exception if required.
48181         * math/auto-libm-test-in: Add more tests of exp.
48182         * math/auto-libm-test-out: Regenerated.
48183         * sysdeps/i386/fpu/libm-test-ulps: Update.
48184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48186         [BZ #16283]
48187         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
48188         * math/w_exp2f.c (__exp2f): Likewise.
48189         * math/w_exp2l.c (__exp2l): Likewise.
48190         * math/auto-libm-test-in: Do not allow missing errno on exp2
48191         underflow.
48192         * math/auto-libm-test-out: Regenerated.
48194 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
48196         [BZ #16274]
48197         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
48198         handle filename validation.
48199         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
48200         (do_open): Delete.
48202 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
48204         [BZ #6786]
48205         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
48206         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
48207         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
48208         <float.h>.
48209         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
48210         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
48211         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
48212         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
48213         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
48214         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
48215         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
48216         * math/auto-libm-test-in: Don't allow missing errno from erfc.
48217         Add more erfc tests.
48218         * math/auto-libm-test-out: Regenerated.
48219         * sysdeps/i386/fpu/libm-test-ulps: Update.
48220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48222         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
48223         exp2, expm1, j0 and j1.
48224         * math/auto-libm-test-out: Regenerated.
48225         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
48226         (erfc_test_data): Likewise.
48227         (exp_test_data): Likewise.
48228         (exp_tonearest_test_data): Likewise.
48229         (exp_towardzero_test_data): Likewise.
48230         (exp_downward_test_data): Likewise.
48231         (exp_upward_test_data): Likewise.
48232         (exp10_test_data): Likewise.
48233         (exp2_test_data): Likewise.
48234         (expm1_test_data): Likewise.
48235         (j0_test_data): Likewise.
48236         (j1_test_data): Likewise.
48237         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
48238         (input_flag_type): Add flag_xfail_rounding.
48239         (input_flags): Add xfail-rounding.
48240         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
48241         (output_for_one_input_case): Handle flag_xfail_rounding.
48242         * sysdeps/i386/fpu/libm-test-ulps: Update.
48243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48245 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
48247         [BZ #16289]
48248         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
48249         division by 0.
48251 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48253         [BZ #16195]
48254         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
48255         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
48256         (STAP_PROBE0): New macro.
48257         (STAP_PROBE1): Likewise.
48258         (STAP_PROBE2): Likewise.
48259         (STAP_PROBE3): Likewise.
48260         (STAP_PROBE4): Likewise.
48262 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
48264         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
48266 2013-12-02  Steve Ellcey  <sellcey@mips.com>
48268         * benchtests/Makefile (bench): Add sqrt.
48269         (LDLIBS-bench-sqrt): New.
48270         * benchtests/sqrt-input: New.
48272 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
48274         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
48275         (GAIH_EAI): Likewise.
48276         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
48277         (gaih_inet): Likewise.
48278         (getaddrinfo): Don't use GAIH_EAI.
48280         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
48281         (struct gaih): Remove definition.
48283 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48285         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
48286         Use HERRNOP directly.
48288 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48290         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48292 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
48294         * math/gen-auto-libm-tests.c (test_functions): Add more
48295         single-argument functions.
48296         (special_fill_pi_2): New function.
48297         (special_fill_minus_pi_2): Likewise.
48298         (special_fill_pi_6): Likewise.
48299         (special_fill_minus_pi_6): Likewise.
48300         (special_fill_pi_3): Likewise.
48301         (special_fill_2pi_3): Likewise.
48302         (special_fill_e): Likewise.
48303         (special_fill_1_e): Likewise.
48304         (special_fill_e_minus_1): Likewise.
48305         (special_real_inputs): Add more special inputs.
48306         (output_for_one_input_case): Do not require ERANGE on underflow to
48307         zero if round-to-nearest result does not underflow to zero, unless
48308         exact results required.
48309         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
48310         atan, atanh, cbrt, cos and cosh.
48311         * math/auto-libm-test-out: Regenerated.
48312         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
48313         (acos_tonearest_test_data): Likewise.
48314         (acos_towardzero_test_data): Likewise.
48315         (acos_downward_test_data): Likewise.
48316         (acos_upward_test_data): Likewise.
48317         (acosh_test_data): Likewise.
48318         (asin_test_data): Likewise.
48319         (asin_tonearest_test_data): Likewise.
48320         (asin_towardzero_test_data): Likewise.
48321         (asin_upward_test_data): Likewise.
48322         (asinh_test_data): Likewise.
48323         (atan_test_data): Likewise.
48324         (atanh_test_data): Likewise.
48325         (cbrt_test_data): Likewise.
48326         (cos_test_data): Likewise.
48327         (cos_tonearest_test_data): Likewise.
48328         (cos_towardzero_test_data): Likewise.
48329         (cos_downward_test_data): Likewise.
48330         (cos_upward_test_data): Likewise.
48331         (cosh_test_data): Likewise.
48332         (cosh_tonearest_test_data): Likewise.
48333         (cosh_towardzero_test_data): Likewise.
48334         (cosh_downward_test_data): Likewise.
48335         (cosh_upward_test_data): Likewise.
48336         * sysdeps/i386/fpu/libm-test-ulps: Update.
48337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48339 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
48341         [BZ #6787]
48342         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
48343         * math/w_exp10f.c (__exp10f): Likewise.
48344         * math/w_exp10l.c (__exp10l): Likewise.
48345         * math/libm-test.inc (exp10_test_data): Add more tests and expect
48346         errno settings in existing tests.
48348         [BZ #14032]
48349         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
48350         precision control set to double precision.
48351         * sysdeps/i386/fpu/w_sqrt.c: New file.
48352         * math/auto-libm-test-in: Add more tests.
48353         * math/auto-libm-test-out: Update.
48355         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
48356         (sqrt_test_tonearest): New function.
48357         (sqrt_towardzero_test_data): New variable.
48358         (sqrt_test_towardzero): New function.
48359         (sqrt_downward_test_data): New variable.
48360         (sqrt_test_downward): New function.
48361         (sqrt_upward_test_data): New variable.
48362         (sqrt_test_upward): New function.
48363         (main): Call the new functions.
48365         * math/gen-auto-libm-tests.c: New file.
48366         * math/auto-libm-test-in: Likewise.
48367         * math/auto-libm-test-out: New generated file.
48368         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
48369         variables.
48370         (%beautify): Add generated representations of zero.
48371         (top level): Set $auto_input and call parse_auto_input.
48372         (beautify): Remove trailing "f" from hex float constants.
48373         (parse_args): Handle XFAIL_TEST.
48374         (convert_condition): New function.
48375         (or_value): Likewise.
48376         (or_cond_value): Likewise.
48377         (generate_testfile): Handle AUTO_TESTS_* lines.
48378         (parse_auto_input): New function.
48379         * math/libm-test.inc (XFAIL_TEST): New macro.
48380         (ERRNO_UNCHANGED): Update value.
48381         (ERRNO_EDOM): Likewise.
48382         (ERRNO_ERANGE): Likewise.
48383         (IGNORE_RESULT): Likewise.
48384         (TEST_COND_flt_32): New macro.
48385         (TEST_COND_dbl_64): Likewise.
48386         (TEST_COND_ldbl_96_intel): Likewise.
48387         (TEST_COND_ldbl_96_m68k): Likewise.
48388         (TEST_COND_ldbl_128): Likewise.
48389         (TEST_COND_ldbl_128ibm): Likewise.
48390         (TEST_COND_long32): Likewise.
48391         (TEST_COND_long64): Likewise.
48392         (TEST_COND_before_rounding): Likewise.
48393         (TEST_COND_after_rounding): Likewise.
48394         (enable_test): Handle XFAIL_TEST flag.
48395         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
48396         with finite results.
48397         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
48398         auto-libm-test-out.
48400 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48401             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48403         [BZ #16214]
48404         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
48405         __tls_get_addr_internal instead of __tls_get_offset in order to
48406         avoid GOT pointer dependency.  Make rtld export
48407         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
48408         __tls_get_addr since we are a __tls_get_offset platform.
48409         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
48410         GOT pointer being set up before.
48411         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
48413 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
48415         * manual/math.texi (Errors in Math Functions): Document accuracy
48416         goals.
48418         [BZ #15004]
48419         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
48420         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
48421         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48422         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48423         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48424         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48425         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48426         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48427         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48428         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48429         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48430         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48431         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48432         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48433         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48434         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48436         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
48437         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
48438         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
48439         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
48440         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
48441         Likewise.
48442         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
48443         Likewise.
48444         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
48445         Likewise.
48446         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
48447         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
48448         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
48449         atomic-feupdateenv and flt-rounds.
48450         * sysdeps/powerpc/nofpu/Versions (libc): Add
48451         __atomic_feholdexcept, __atomic_feclearexcept,
48452         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
48453         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
48454         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
48455         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
48456         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
48457         here.
48458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
48459         Update.
48461         * manual/arith.texi (FP Exceptions): Document that exceptions may
48462         not be raised when matherr is used.
48463         (Math Error Reporting): Document overflow in directed rounding
48464         modes.  Document that errno may not be set when finite values are
48465         returned on overflow.  Document intent to set errno on underflow
48466         only for underflow to zero.
48468         [BZ #16271]
48469         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
48470         round-to-nearest then adjust result for other rounding modes.
48471         * include/fenv.h (fegetround): Use libm_hidden_proto.
48472         * math/fegetround.c (fegetround): Use libm_hidden_def.
48473         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
48474         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
48475         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
48476         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
48477         Likewise.
48478         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
48479         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
48480         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
48481         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
48483 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48485         [BZ #16077]
48486         * nss/Versions (libnss_files): Add
48487         _nss_files_gethostbyname3_r.
48488         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
48489         New function.
48490         (HOST_DB_LOOKUP): Remove macro.
48491         (_nss_files_gethostbyname_r): Implement function without the
48492         HOST_DB_LOOKUP macro.
48493         (_nss_files_gethostbyname2_r): Likewise.
48495 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
48497         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
48499 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
48501         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
48502         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
48503         warning.
48505 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48507         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
48508         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
48509         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
48510         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
48511         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
48512         __fe_nomask_env_priv and attribute_hidden.
48513         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
48514         (libc_feupdateenv_test_ppc): Likewise.
48515         (libc_feresetround_ppc): Likewise.
48516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48517         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
48518         compat_symbol macro.
48519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48520         (__fe_nomask_env): Likewise.
48521         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
48523 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48525         * string/Makefile: Remove ifunc tests.
48526         * string/test-string.h: Define TEST_IFUNC.
48527         * string/test-bcopy-ifunc.c: Remove.
48528         * string/test-bzero-ifunc.c: Likewise.
48529         * string/test-memccpy-ifunc.c: Likewise.
48530         * string/test-memchr-ifunc.c: Likewise.
48531         * string/test-memcmp-ifunc.c: Likewise.
48532         * string/test-memcpy-ifunc.c: Likewise.
48533         * string/test-memmem-ifunc.c: Likewise.
48534         * string/test-memmove-ifunc.c: Likewise.
48535         * string/test-mempcpy-ifunc.c: Likewise.
48536         * string/test-memrchr-ifunc.c: Likewise.
48537         * string/test-memset-ifunc.c: Likewise.
48538         * string/test-rawmemchr-ifunc.c: Likewise.
48539         * string/test-stpcpy-ifunc.c: Likewise.
48540         * string/test-stpncpy-ifunc.c: Likewise.
48541         * string/test-strcasecmp-ifunc.c: Likewise.
48542         * string/test-strcasestr-ifunc.c: Likewise.
48543         * string/test-strcat-ifunc.c: Likewise.
48544         * string/test-strchr-ifunc.c: Likewise.
48545         * string/test-strchrnul-ifunc.c: Likewise.
48546         * string/test-strcmp-ifunc.c: Likewise.
48547         * string/test-strcpy-ifunc.c: Likewise.
48548         * string/test-strcspn-ifunc.c: Likewise.
48549         * string/test-strlen-ifunc.c: Likewise.
48550         * string/test-strncasecmp-ifunc.c: Likewise.
48551         * string/test-strncat-ifunc.c: Likewise.
48552         * string/test-strncmp-ifunc.c: Likewise.
48553         * string/test-strncpy-ifunc.c: Likewise.
48554         * string/test-strnlen-ifunc.c: Likewise.
48555         * string/test-strpbrk-ifunc.c: Likewise.
48556         * string/test-strrchr-ifunc.c: Likewise.
48557         * string/test-strspn-ifunc.c: Likewise.
48558         * string/test-strstr-ifunc.c: Likewise.
48560 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48562         * benchtests/Makefile: Remove ifunc tests.
48563         * benchtests/bench-string.h: Define TEST_IFUNC.
48564         * benchtests/bench-bcopy-ifunc.c: Remove.
48565         * benchtests/bench-bzero-ifunc.c: Likewise.
48566         * benchtests/bench-memccpy-ifunc.c: Likewise.
48567         * benchtests/bench-memchr-ifunc.c: Likewise.
48568         * benchtests/bench-memcmp-ifunc.c: Likewise.
48569         * benchtests/bench-memcpy-ifunc.c: Likewise.
48570         * benchtests/bench-memmem-ifunc.c: Likewise.
48571         * benchtests/bench-memmove-ifunc.c: Likewise.
48572         * benchtests/bench-mempcpy-ifunc.c: Likewise.
48573         * benchtests/bench-memrchr-ifunc.c: Likewise.
48574         * benchtests/bench-memset-ifunc.c: Likewise.
48575         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
48576         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
48577         * benchtests/bench-stpcpy-ifunc.c: Likewise.
48578         * benchtests/bench-stpncpy-ifunc.c: Likewise.
48579         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
48580         * benchtests/bench-strcasestr-ifunc.c: Likewise.
48581         * benchtests/bench-strcat-ifunc.c: Likewise.
48582         * benchtests/bench-strchr-ifunc.c: Likewise.
48583         * benchtests/bench-strchrnul-ifunc.c: Likewise.
48584         * benchtests/bench-strcmp-ifunc.c: Likewise.
48585         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
48586         * benchtests/bench-strcpy-ifunc.c: Likewise.
48587         * benchtests/bench-strcspn-ifunc.c: Likewise.
48588         * benchtests/bench-strlen-ifunc.c: Likewise.
48589         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
48590         * benchtests/bench-strncat-ifunc.c: Likewise.
48591         * benchtests/bench-strncmp-ifunc.c: Likewise.
48592         * benchtests/bench-strncpy-ifunc.c: Likewise.
48593         * benchtests/bench-strnlen-ifunc.c: Likewise.
48594         * benchtests/bench-strpbrk-ifunc.c: Likewise.
48595         * benchtests/bench-strrchr-ifunc.c: Likewise.
48596         * benchtests/bench-strsep-ifunc.c: Likewise.
48597         * benchtests/bench-strspn-ifunc.c: Likewise.
48598         * benchtests/bench-strstr-ifunc.c: Likewise.
48600 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48602         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
48604 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48606         * resolv/netdb.h: Use __glibc_reserved instead __unused.
48607         * rt/aio.h: Likewise.
48608         * sysdeps/gnu/bits/utmp.h: Likewise.
48609         * sysdeps/gnu/bits/utmpx.h: Likewise.
48610         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
48611         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
48612         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
48613         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
48614         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
48615         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
48616         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
48617         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
48618         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
48619         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
48620         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
48621         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
48622         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
48623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
48624         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
48625         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
48626         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
48627         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
48628         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
48629         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
48630         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
48631         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
48632         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
48633         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48634         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
48635         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48636         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
48637         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
48638         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
48639         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
48640         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
48641         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
48642         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
48643         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
48644         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
48645         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
48646         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
48647         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
48648         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
48649         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
48650         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
48651         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
48653 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
48655         [BZ #16245]
48656         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
48657         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
48659 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
48661         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
48662         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
48663         Likewise.
48665 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48667         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
48668         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
48669         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
48670         (__fesetround): Remove define.
48671         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
48672         rounding and exceptions handling.
48673         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
48674         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
48675         (__fe_nomask_env): Likewise.
48676         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
48677         __fegetround instead of fegetround.
48678         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
48679         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
48681 2013-11-21  Roland McGrath  <roland@hack.frob.com>
48683         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
48684         it's there.
48686         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
48688 2013-11-21  Meador Inge  <meadori@codesourcery.com>
48690         [BZ #11157]
48691         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
48692         (encrypt_r): Likewise.
48693         * malloc/obstack.h (obstack_free): Likewise.
48694         * posix/unistd.h (encrypt): Likewise.
48696 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
48698         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
48699         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
48700         DL_CALL_DT_FINI() that call the functions directly.
48701         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
48702         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
48703         * elf/dl-fini.c: Likewise.
48705 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
48707         * malloc/hooks.c (memalign_check): Add alignment rounding.
48708         * malloc/malloc.c (_mid_memalign): New function.
48709         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
48710         Implement by calling _mid_memalign.
48711         * manual/probes.texi (Memory Allocation Probes): Remove
48712         memory_valloc_retry and memory_pvalloc_retry.
48714 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48716         * locale/programs/locarchive.c (open_archive): Add const
48717         qualifier to ARCHIVEFNAME and copy default fname to
48718         DEFAULT_FNAME.
48720         [BZ #15601]
48721         * libio/tst-widetext.input: Rename Oriya to Odia.
48722         * locale/iso-639.def: Likewise.
48724         * manual/probes.texi (Mathematical Function Probes): Add
48725         documentation for sin, cos, asin and acos probes.
48726         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
48727         (__sin32): Add slowasin probe.
48728         (__cos32): Add slowacos probe.
48729         (__mpsin): Add slowsin probe.
48730         (__mpcos): Add slowcos probe.
48732 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
48734         [BZ #15483]
48735         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
48736         thread-local __sim_exceptions_thread and global
48737         __sim_exceptions_global.
48738         (__sim_disabled_exceptions): Change to thread-local
48739         __sim_disabled_exceptions_thread and global
48740         __sim_disabled_exceptions_global.
48741         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
48742         and global __sim_round_mode_global.
48743         (__simulate_exceptions): Use thread-local floating-point state and
48744         set global state from it as needed.
48745         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
48746         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
48747         __sim_round_mode_thread.
48748         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
48749         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
48750         and global __sim_exceptions_global.
48751         (__sim_disabled_exceptions): Change to thread-local
48752         __sim_disabled_exceptions_thread and global
48753         __sim_disabled_exceptions_global.
48754         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
48755         and global __sim_round_mode_global.
48756         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
48757         (SIM_SET_GLOBAL): Likewise.
48758         * sysdeps/powerpc/soft-fp/sfp-machine.h
48759         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
48760         __sim_round_mode_thread.
48761         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
48762         __sim_disabled_exceptions_thread.
48763         (__sim_exceptions): Change to __sim_exceptions_thread.
48764         (__sim_disabled_exceptions): Change to
48765         __sim_disabled_exceptions_thread.
48766         (__sim_round_mode): Change to __sim_round_mode_thread.
48767         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
48768         thread-local floating-point state and set global state from it as
48769         needed.
48770         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
48771         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
48772         (__sim_disabled_exceptions): Remove extern declaration.
48773         (feenableexcept): Use thread-local floating-point state and set
48774         global state from it as needed.
48775         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
48776         extern declaration.
48777         (__sim_disabled_exceptions): Likewise.
48778         (__sim_round_mode): Likewise.
48779         (__fegetenv): Use thread-local floating-point state.
48780         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
48781         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
48782         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
48783         floating-point state and set global state from it as needed.
48784         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
48785         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
48786         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
48787         Likewise.
48788         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
48789         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
48790         Likewise.
48791         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
48792         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
48793         Use __sim_round_mode_thread.
48794         * math/test-fenv-tls.c: New file.
48795         * math/Makefile (tests): Add test-fenv-tls.
48796         ($(objpfx)test-fenv-tls): Depend on
48797         $(common-objpfx)nptl/libpthread.so.
48799 2013-11-19  Andreas Schwab  <schwab@suse.de>
48801         * locale/programs/locale.c (show_info): Decode wordarray elements.
48802         * locale/categories.def (LC_MONETARY): Add element for
48803         _NL_MONETARY_CRNCYSTR.
48804         * locale/C-monetary.c (conversion_rate): New variable.
48805         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
48806         element.
48808 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
48810         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
48811         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
48813 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
48815         * elf/Makefile (tst-auxv): New test.
48816         * elf/tst-auxv.c: New
48817         * elf/rtld.c (dl_main): Adjust AT_EXECFN
48819 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
48821         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
48822         (hidden_proto): Caller changed.
48823         (hidden_tls_proto): New macro.
48824         (libc_hidden_tls_proto): Likewise.
48825         (rtld_hidden_tls_proto): Likewise.
48826         (libm_hidden_tls_proto): Likewise.
48827         (libresolv_hidden_tls_proto): Likewise.
48828         (librt_hidden_tls_proto): Likewise.
48829         (libdl_hidden_tls_proto): Likewise.
48830         (libnss_files_hidden_tls_proto): Likewise.
48831         (libnsl_hidden_tls_proto): Likewise.
48832         (libnss_nisplus_hidden_tls_proto): Likewise.
48833         (libutil_hidden_tls_proto): Likewise.
48835 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
48837         [BZ #10253]
48838         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
48839         (decompose_rpath): Defer expansion to fillin_rpath.
48840         (_dl_init_paths): Pass linkmap to fillin_rpath.
48842 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
48844         * benchtests/Makefile: Add strsep.
48845         * benchtests/bench-strsep.c: New file: strsep benchtest.
48846         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
48848 2013-11-18  Andreas Schwab  <schwab@suse.de>
48850         * locale/programs/locale.c (show_info) [case byte]: Check for
48851         '\377' instead of '\177'.
48852         * locale/C-monetary.c (not_available): Always use "\377".
48853         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
48854         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
48855         detect unavailable sign_posn locale elements.
48856         * locale/localeconv.c (__localeconv): For grouping and
48857         mon_grouping handle "\177" and "\377" like no grouping.
48858         (INT_ELEM): New macro.  Use it to set all numeric members.
48859         * locale/programs/ld-monetary.c (monetary_read)
48860         <tok_mon_grouping>: Normalize single -1 to the empty string.
48861         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
48862         Likewise.
48864 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
48866         [BZ #16055]
48867         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
48868         when we match (nil).
48869         * stdio-common/tst-sscanf.c (struct test): Add testcase.
48871 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
48873         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
48874         (NO_TEST_INLINE): Update value.
48875         (ERRNO_UNCHANGED): Likewise.
48876         (ERRNO_EDOM): Likewise.
48877         (ERRNO_ERANGE): Likewise.
48878         (IGNORE_RESULT): Likewise.
48879         (check_float_internal): Check signs of NaN results if
48880         TEST_NAN_SIGN used.
48881         (check_complex): Pass TEST_NAN_SIGN flag through to second
48882         check_float_internal call.
48883         (copysign_test_data): Add tests with quiet NaNs as second
48884         argument.  Use TEST_NAN_SIGN.
48885         (fabs_test_data): Add test of negative quiet NaN argument.  Use
48886         TEST_NAN_SIGN.
48887         (signbit_test_data): Add tests of quiet NaN argument.
48888         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
48890         * math/gen-libm-test.pl (show_exceptions): Take extra argument
48891         $ignore_result.
48892         (parse_args): Handle function results specified as IGNORE.
48893         * math/libm-test.inc (IGNORE_RESULT): New macro.
48894         (check_float_internal): Do not check numerical result if flag
48895         IGNORE_RESULT set.
48896         (check_complex): Pass through IGNORE_RESULT to second
48897         check_float_internal call.
48898         (check_int): Do not check numerical result if flag IGNORE_RESULT
48899         set.
48900         (check_long): Likewise.
48901         (check_bool): Likewise.
48902         (check_longlong): Likewise.
48903         (lrint_test_data): Add tests of infinite and NaN arguments.
48904         (lrint_tonearest_test_data): Likewise.
48905         (lrint_towardzero_test_data): Likewise.
48906         (lrint_downward_test_data): Likewise.
48907         (lrint_upward_test_data): Likewise.
48908         (llrint_test_data): Likewise.
48909         (llrint_tonearest_test_data): Likewise.
48910         (llrint_towardzero_test_data): Likewise.
48911         (llrint_downward_test_data): Likewise.
48912         (llrint_upward_test_data): Likewise.
48913         (lround_test_data): Likewise.
48914         (llround_test_data): Likewise.
48916         * math/libm-test.inc (NO_TEST_INLINE): New macro.
48917         (ERRNO_UNCHANGED): Update value.
48918         (ERRNO_EDOM): Likewise.
48919         (ERRNO_ERANGE): Likewise.
48920         (NO_TEST_INLINE_FLOAT): New macro.
48921         (NO_TEST_INLINE_DOUBLE): Likewise.
48922         (enable_test): New function.
48923         (RUN_TEST_f_f): Check enable_test before running test.
48924         (RUN_TEST_2_f): Likewise.
48925         (RUN_TEST_fff_f): Likewise.
48926         (RUN_TEST_c_f): Likewise.
48927         (RUN_TEST_f_f1): Likewise.
48928         (RUN_TEST_fF_f1): Likewise.
48929         (RUN_TEST_fI_f1): Likewise.
48930         (RUN_TEST_ffI_f1): Likewise.
48931         (RUN_TEST_c_c): Likewise.
48932         (RUN_TEST_cc_c): Likewise.
48933         (RUN_TEST_f_i): Likewise.
48934         (RUN_TEST_f_i_tg): Likewise.
48935         (RUN_TEST_ff_i_tg): Likewise.
48936         (RUN_TEST_f_b): Likewise.
48937         (RUN_TEST_f_b_tg): Likewise.
48938         (RUN_TEST_f_l): Likewise.
48939         (RUN_TEST_f_L): Likewise.
48940         (RUN_TEST_fFF_11): Likewise.
48941         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
48942         conditionals.
48943         (cosh_test_data): Likewise.
48944         (exp_test_data): Likewise.
48945         (expm1_test_data): Likewise.
48946         (hypot_test_data): Likewise.
48947         (pow_test_data): Likewise.
48948         (sinh_test_data): Likewise.
48949         (tanh_test_data): Likewise.
48950         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
48951         flags argument.
48953         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
48954         tests with quiet NaN input and output.
48955         (acosh_test_data): Likewise.
48956         (asin_test_data): Likewise.
48957         (asinh_test_data): Likewise.
48958         (atan_test_data): Likewise.
48959         (atanh_test_data): Likewise.
48960         (atan2_test_data): Likewise.
48961         (cbrt_test_data): Likewise.
48962         (cos_test_data): Likewise.
48963         (cosh_test_data): Likewise.
48964         (erf_test_data): Likewise.
48965         (erfc_test_data): Likewise.
48966         (exp_test_data): Likewise.
48967         (exp10_test_data): Likewise.
48968         (exp2_test_data): Likewise.
48969         (expm1_test_data): Likewise.
48970         (hypot_test_data): Likewise.
48971         (j0_test_data): Likewise.
48972         (j1_test_data): Likewise.
48973         (jn_test_data): Likewise.
48974         (lgamma_test_data): Likewise.
48975         (log_test_data): Likewise.
48976         (log10_test_data): Likewise.
48977         (log1p_test_data): Likewise.
48978         (log2_test_data): Likewise.
48979         (pow_test_data): Likewise.
48980         (scalb_test_data): Likewise.
48981         (sin_test_data): Likewise.
48982         (sincos_test_data): Likewise.
48983         (sinh_test_data): Likewise.
48984         (tan_test_data): Likewise.
48985         (tanh_test_data): Likewise.
48986         (tgamma_test_data): Likewise.
48987         (y0_test_data): Likewise.
48988         (y1_test_data): Likewise.
48989         (yn_test_data): Likewise.
48991         [BZ #16167]
48992         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
48993         argument being NaN and avoid computations with second argument in
48994         that case.
48995         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48996         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
48997         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
48999 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
49001         * locale/iso-639.def: Add Chitwani Tharu (the).
49003 2013-11-14  Andreas Schwab  <schwab@suse.de>
49005         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
49006         word instead of empty string.
49008 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
49011         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
49012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
49013         (__fe_nomask_env): Likewise.
49015 2013-11-13  Steve Ellcey  <sellcey@mips.com>
49017         * benchtests/bench-timing.h: Include time.h.
49019 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
49021         [BZ #15997]
49022         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
49023         to 3.4.0 for x32.
49024         * sysdeps/unix/sysv/linux/configure: Regenerated.
49026 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
49028         [BZ #16151]
49029         * stdlib/strtod_l.c (round_and_return): Do not consider
49030         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
49031         exponent one less than half the least subnormal exponent.
49032         * stdlib/test-strtod-round-data: Add more tests.
49033         * stdlib/tst-strtod-round.c (tests): Regenerated.
49035 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49037         [BZ #14143]
49038         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
49039         (__fe_mask_env): Likewise.
49040         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
49041         libm_hidden_proto and add function prototype.
49042         (__fe_mask_env): Add function prototype.
49043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
49044         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
49045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
49046         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
49047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
49048         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
49050 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49052         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
49053         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
49055 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49057         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
49058         of htab_find_slot().
49060 2013-11-11  David S. Miller  <davem@davemloft.net>
49062         [BZ #16150]
49063         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
49064         symbol in the non-vis3 case in static builds.
49065         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
49066         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
49067         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
49068         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
49070 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
49072         [BZ #387]
49073         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
49074         it is empty.
49076 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49078         * benchtests/Makefile: Add bench-strtod.
49079         * benchtests/bench-strtod.c: New file: strtod benchtest
49081 2013-11-11  Andreas Schwab  <schwab@suse.de>
49083         [BZ #16153]
49084         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
49085         terminating NUL in key length.
49087 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49089         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
49090         Add artificial ODP entry for vDSO symbol for PPC64.
49091         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
49092         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
49094 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
49096         [BZ #15374]
49097         * nss/getent.c (services_keys): Recognize services starting with digit.
49099 2013-11-06  David S. Miller  <davem@davemloft.net>
49101         [BZ #15985]
49102         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
49103         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
49105 2013-11-06  Will Newton  <will.newton@linaro.org>
49107         * manual/memory.texi (Malloc Examples): Remove register
49108         keyword from examples.
49110 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
49112         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
49114 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
49116         [BZ #6981]
49117         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
49118         depending on [__GCC_IEC_559 > 0].
49119         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
49120         depending on [__GCC_IEC_559_COMPLEX > 0].
49122 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
49124         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
49125         to iso-639.def.
49127 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
49129         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
49131 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
49133         [BZ #16112]
49134         * malloc/malloc (malloc_info): Do not handle first bin as
49135         special case.
49137 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
49139         * locale/iso-639.def: Add Central Nahuatl (nhn).
49141 2013-11-01  Bruno Haible  <bruno@clisp.org>
49143         [BZ #7003]
49144         * manual/math.texi (BSD Random): Specify range upper bound as
49145         in POSIX.
49147 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
49149         * locale/iso-639.def: Add Meadow Mari (mhr).
49151 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
49153         [BZ #14752], [BZ #15763]
49154         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
49155         Validate name.
49156         * rt/tst_shm.c: Add test for escaping directory.
49158 2013-10-31  Andreas Schwab  <schwab@suse.de>
49160         [BZ #15917]
49161         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
49162         followed by 'x' as part of digit sequence.
49163         * stdio-common/tst-sscanf.c (double_tests2): New tests.
49165 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
49167         [BZ #16037]
49168         * configure.ac: allow GNU Make 4.0 and greater.
49169         * configure: Regenerated.
49171 2013-10-30  Will Newton  <will.newton@linaro.org>
49173         [BZ #16038]
49174         * malloc/hooks.c (memalign_check): Limit alignment to the
49175         maximum representable power of two.
49176         * malloc/malloc.c (__libc_memalign): Likewise.
49177         * malloc/tst-memalign.c (do_test): Add test for very
49178         large alignment values.
49179         * malloc/tst-posix_memalign.c (do_test): Likewise.
49181 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
49183         [BZ #11087]
49184         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
49185         (munmap_chunk): Likewise.
49186         (mremap_chunk): Likewise.
49188 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
49190         [BZ #15799]
49191         * stdlib/div.c (div): Remove obsolete code.
49192         * stdlib/ldiv.c (ldiv): Likewise.
49193         * stdlib/lldiv.c (lldiv): Likewise.
49195 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49197         [BZ #16071]
49198         * nss/nss_files/files-XXX.c (get_contents_ret): New
49199         enumerator.
49200         (get_contents): New function.
49201         (internal_getent): Use it.  Expand size of LINEBUFLEN.
49203 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
49205         * configure.in: Moved to ...
49206         * configure.ac: ... here. Change reference to configure.in
49207         to configure.ac.
49208         * sysdeps/arm/preconfigure.ac: ... here.
49209         configure.in to configure.ac.
49210         * sysdeps/gnu/configure.in: Moved to ...
49211         * sysdeps/gnu/configure.ac: ... here.
49212         * sysdeps/i386/configure.in: Moved to ...
49213         * sysdeps/i386/configure.ac: ... here.
49214         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
49215         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
49216         * sysdeps/mach/configure.in: Moved to ...
49217         * sysdeps/mach/configure.ac: ... here.
49218         * sysdeps/mach/hurd/configure.in: Moved to ...
49219         * sysdeps/mach/hurd/configure.ac: ... here.
49220         * sysdeps/powerpc/configure.in: Moved to ...
49221         * sysdeps/powerpc/configure.ac: ... here.
49222         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
49223         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
49224         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
49225         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
49226         * sysdeps/s390/s390-32/configure.in: Moved to ...
49227         * sysdeps/s390/s390-32/configure.ac: ... here.
49228         * sysdeps/s390/s390-64/configure.in: Moved to ...
49229         * sysdeps/s390/s390-64/configure.ac: ... here.
49230         * sysdeps/sh/configure.in: Moved to ...
49231         * sysdeps/sh/configure.ac: ... here.
49232         * sysdeps/sparc/configure.in: Moved to ...
49233         * sysdeps/sparc/configure.ac: ... here.
49234         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
49235         * sysdeps/unix/sysv/linux/configure.ac: ... here.
49236         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
49237         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
49238         * sysdeps/x86_64/configure.in: Moved to ...
49239         * sysdeps/x86_64/configure.ac: ... here.
49240         * sysdeps/x86_64/preconfigure.in: Moved to ...
49241         * sysdeps/x86_64/preconfigure.ac: ... here.
49242         * aclocal.m4: Change reference to configure.in to configure.ac.
49243         * config.h.in: Likewise.
49244         * manual/install.texi: Likewise.
49245         * manual/maint.texi: Likewise.
49246         * Makefile: Likewise.
49247         * malloc/Makefile: Likewise.
49248         * nscd/Makefile: Likewise.
49249         * Makeconfig: Change reference to configure.in and
49250         preconfigure.in to configure.ac and preconfigure.ac
49251         respectively.
49252         * INSTALL: Regenerated.
49253         * configure: Likewise.
49254         * sysdeps/gnu/configure: Likewise.
49255         * sysdeps/i386/configure: Likewise.
49256         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
49257         * sysdeps/mach/configure: Likewise.
49258         * sysdeps/mach/hurd/configure: Likewise.
49259         * sysdeps/powerpc/configure: Likewise.
49260         * sysdeps/powerpc/powerpc32/configure: Likewise.
49261         * sysdeps/powerpc/powerpc64/configure: Likewise.
49262         * sysdeps/s390/s390-32/configure: Likewise.
49263         * sysdeps/s390/s390-64/configure: Likewise.
49264         * sysdeps/sh/configure: Likewise.
49265         * sysdeps/sparc/configure: Likewise.
49266         * sysdeps/unix/sysv/linux/configure: Likewise.
49267         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
49268         * sysdeps/x86_64/configure: Likewise.
49269         * sysdeps/x86_64/preconfigure: Likewise.
49271 2013-10-29  Andreas Schwab  <schwab@suse.de>
49273         * stdio-common/Makefile (tst-swscanf-ENV): Define.
49275 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49277         * benchtests/pow-inputs: Add new inputs.
49279         * benchtests/exp-inputs: Add new inputs.
49281         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
49282         conditional check for return value.
49283         (__cos32): Likewise.
49285 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49287         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
49288         to provide a boost for large inputs with word alignment.
49289         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
49290         implementation based on optimized PPC64 strcpy.
49291         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
49292         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
49293         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
49294         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
49296 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
49298         [BZ #2801]
49299         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
49301 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
49303         [BZ #14876]
49304         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
49305         * time/tst-strptime.c (day_tests): Add testcase.
49307 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
49309         [BZ #14029]
49310         * manual/pattern.texi: Acknowledge that fnmatch can fail.
49312 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
49314         [BZ #16074]
49315         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
49316         MAP_FAILED on error.
49318 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49320         [BZ #16072]
49321         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
49322         heap for large requests.
49324 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
49326         [BZ #9954]
49327         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
49328         result if the result has no associated interface.
49329         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
49330         interface for all 127.X.Y.Z addresses.
49332 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
49334         * locale/iso-639.def: Add Ligurian (lij)
49336 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
49338         [BZ #15825]
49339         * sunrpc/rpc_main.c: Document rpcgen -5.
49341 2013-10-19  Michael Stahl  <mstahl@redhat.com>
49343         * elf/rtld.c (do_preload): Print the reason why preloading failed.
49345 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
49347         [BZ #10278]
49348         * posix/glob.c: Match only directories when trailing slash is present.
49349         * posix/tst-gnuglob.c (my_opendir): Do not open files.
49350         (main): Add testcase.
49352 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
49354         [BZ #15670]
49355         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
49357 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
49359         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
49360         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
49361         AUTH_DES and cindex for FIPS 140-2.
49362         (DES Encryption): Add cindex FIPS 46-3.
49364         * locale/locarchive.h (struct locarhandle): Add fname.
49365         * locale/programs/localedef.c (main): Pass ARGV[remaining]
49366         if an optional argument was specified to --list-archive,
49367         otherwise NULL.
49368         * locale/programs/locarchive.c (show_archive_content): Take new
49369         argument fname and pass it via ah.fname to open_archive.
49370         * locale/programs/localedef.h: Update decl.
49371         (open_archive): If AH->fname is non-null, open that file
49372         rather than the default file name, and don't ignore ENOENT.
49373         (create_archive): Set AH.fname to NULL.
49374         (delete_locales_from_archive): Likewise.
49375         (add_locales_to_archive): Likewise.
49376         * locale/programs/locfile.c (write_all_categories): Likewise.
49378 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
49379             Aldy Hernandez  <aldyh@redhat.com>
49381         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
49382         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
49383         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
49384         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
49385         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
49386         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
49387         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
49388         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
49389         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
49390         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
49391         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
49392         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
49393         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
49394         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
49395         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
49396         Likewise.
49397         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
49398         Likewise.
49399         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
49400         Likewise.
49401         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
49402         Likewise.
49403         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
49404         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
49405         Likewise.
49406         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
49407         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
49408         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
49409         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
49410         Likewise.
49411         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
49412         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
49413         * sysdeps/powerpc/preconfigure: Likewise.
49414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
49415         Likewise.
49416         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
49417         Replace contents of file by #include of <fenv_libc.h>.
49418         * sysdeps/powerpc/soft-fp/sfp-machine.h
49419         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
49420         and <sys/prctl.h>.
49421         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
49422         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
49423         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
49424         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
49425         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
49426         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
49427         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
49428         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
49429         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
49430         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
49431         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
49432         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
49433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
49434         Allow copysignl PLT reference to be missing.
49436 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
49437             Joseph Myers  <joseph@codesourcery.com
49439         [BZ #15948]
49440         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
49441         single character.
49442         (add_to_tablewc): Assert sequence of wide characters is nonempty.
49444 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
49446         * elf/tst-tls-dlinfo.c: Don't include tls.h.
49447         * elf/tst-tls1.c: Likewise.
49448         * elf/tst-tls10.h: Likewise.
49449         * elf/tst-tls14.c: Likewise.
49450         * elf/tst-tls2.c: Likewise.
49451         * elf/tst-tls3.c: Likewise.
49452         * elf/tst-tls4.c: Likewise.
49453         * elf/tst-tls5.c: Likewise.
49454         * elf/tst-tls6.c: Likewise.
49455         * elf/tst-tls7.c: Likewise.
49456         * elf/tst-tls8.c: Likewise.
49457         * elf/tst-tls9.c: Likewise.
49458         * elf/tst-tlsmod1.c: Likewise.
49459         * elf/tst-tlsmod13.c: Likewise.
49460         * elf/tst-tlsmod13a.c: Likewise.
49461         * elf/tst-tlsmod14a.c: Likewise.
49462         * elf/tst-tlsmod16a.c: Likewise.
49463         * elf/tst-tlsmod16b.c: Likewise.
49464         * elf/tst-tlsmod2.c: Likewise.
49465         * elf/tst-tlsmod3.c: Likewise.
49466         * elf/tst-tlsmod4.c: Likewise.
49467         * elf/tst-tlsmod5.c: Likewise.
49468         * elf/tst-tlsmod6.c: Likewise.
49470 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
49472         [BZ #12486]
49473         * malloc/malloc.c: remove checks for statistics.
49475 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
49477         [BZ #15277]
49478         * inet/inet_net.c (inet_network): Detect additional invalid strings.
49479         * inet/tst-network.c: Add testcase.
49481 2013-10-17  Andreas Schwab  <schwab@suse.de>
49483         [BZ #15218]
49484         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
49485         to determine canonical name.
49487 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
49489         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
49490         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
49491         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49492         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49493         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49494         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49495         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49496         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49497         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49498         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49499         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
49500         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49501         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49502         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49503         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49504         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49505         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49506         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49507         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
49508         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49509         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49510         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49511         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49512         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
49513         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
49514         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49515         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49516         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
49517         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49518         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
49519         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49520         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49521         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
49522         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49523         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49524         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49525         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49526         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49527         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49528         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49529         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49530         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
49531         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
49532         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49533         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
49534         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49535         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49536         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
49537         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
49538         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49539         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
49540         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49541         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49542         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
49543         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49544         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
49545         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49546         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49548 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
49550         [BZ #16041]
49551         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
49552         make result into a quiet NaN.
49554 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
49556         * soft-fp/adddf3.c: Fix horizontal whitespace.
49557         * soft-fp/addsf3.c: Likewise.
49558         * soft-fp/addtf3.c: Likewise.
49559         * soft-fp/divdf3.c: Likewise.
49560         * soft-fp/divsf3.c: Likewise.
49561         * soft-fp/divtf3.c: Likewise.
49562         * soft-fp/double.h: Likewise.
49563         * soft-fp/eqdf2.c: Likewise.
49564         * soft-fp/eqsf2.c: Likewise.
49565         * soft-fp/eqtf2.c: Likewise.
49566         * soft-fp/extenddftf2.c: Likewise.
49567         * soft-fp/extended.h: Likewise.
49568         * soft-fp/extendsfdf2.c: Likewise.
49569         * soft-fp/extendsftf2.c: Likewise.
49570         * soft-fp/extendxftf2.c: Likewise.
49571         * soft-fp/fixdfdi.c: Likewise.
49572         * soft-fp/fixdfsi.c: Likewise.
49573         * soft-fp/fixdfti.c: Likewise.
49574         * soft-fp/fixsfdi.c: Likewise.
49575         * soft-fp/fixsfsi.c: Likewise.
49576         * soft-fp/fixsfti.c: Likewise.
49577         * soft-fp/fixtfdi.c: Likewise.
49578         * soft-fp/fixtfsi.c: Likewise.
49579         * soft-fp/fixtfti.c: Likewise.
49580         * soft-fp/fixunsdfdi.c: Likewise.
49581         * soft-fp/fixunsdfsi.c: Likewise.
49582         * soft-fp/fixunsdfti.c: Likewise.
49583         * soft-fp/fixunssfdi.c: Likewise.
49584         * soft-fp/fixunssfsi.c: Likewise.
49585         * soft-fp/fixunssfti.c: Likewise.
49586         * soft-fp/fixunstfdi.c: Likewise.
49587         * soft-fp/fixunstfsi.c: Likewise.
49588         * soft-fp/fixunstfti.c: Likewise.
49589         * soft-fp/floatdidf.c: Likewise.
49590         * soft-fp/floatdisf.c: Likewise.
49591         * soft-fp/floatditf.c: Likewise.
49592         * soft-fp/floatsidf.c: Likewise.
49593         * soft-fp/floatsisf.c: Likewise.
49594         * soft-fp/floatsitf.c: Likewise.
49595         * soft-fp/floattidf.c: Likewise.
49596         * soft-fp/floattisf.c: Likewise.
49597         * soft-fp/floattitf.c: Likewise.
49598         * soft-fp/floatundidf.c: Likewise.
49599         * soft-fp/floatundisf.c: Likewise.
49600         * soft-fp/floatunditf.c: Likewise.
49601         * soft-fp/floatunsidf.c: Likewise.
49602         * soft-fp/floatunsisf.c: Likewise.
49603         * soft-fp/floatunsitf.c: Likewise.
49604         * soft-fp/floatuntidf.c: Likewise.
49605         * soft-fp/floatuntisf.c: Likewise.
49606         * soft-fp/floatuntitf.c: Likewise.
49607         * soft-fp/fmadf4.c: Likewise.
49608         * soft-fp/fmasf4.c: Likewise.
49609         * soft-fp/fmatf4.c: Likewise.
49610         * soft-fp/gedf2.c: Likewise.
49611         * soft-fp/gesf2.c: Likewise.
49612         * soft-fp/getf2.c: Likewise.
49613         * soft-fp/ledf2.c: Likewise.
49614         * soft-fp/lesf2.c: Likewise.
49615         * soft-fp/letf2.c: Likewise.
49616         * soft-fp/muldf3.c: Likewise.
49617         * soft-fp/mulsf3.c: Likewise.
49618         * soft-fp/multf3.c: Likewise.
49619         * soft-fp/negdf2.c: Likewise.
49620         * soft-fp/negsf2.c: Likewise.
49621         * soft-fp/negtf2.c: Likewise.
49622         * soft-fp/op-1.h: Likewise.
49623         * soft-fp/op-2.h: Likewise.
49624         * soft-fp/op-4.h: Likewise.
49625         * soft-fp/op-8.h: Likewise.
49626         * soft-fp/op-common.h: Likewise.
49627         * soft-fp/quad.h: Likewise.
49628         * soft-fp/single.h: Likewise.
49629         * soft-fp/soft-fp.h: Likewise.
49630         * soft-fp/sqrtdf2.c: Likewise.
49631         * soft-fp/sqrtsf2.c: Likewise.
49632         * soft-fp/sqrttf2.c: Likewise.
49633         * soft-fp/subdf3.c: Likewise.
49634         * soft-fp/subsf3.c: Likewise.
49635         * soft-fp/subtf3.c: Likewise.
49636         * soft-fp/truncdfsf2.c: Likewise.
49637         * soft-fp/trunctfdf2.c: Likewise.
49638         * soft-fp/trunctfsf2.c: Likewise.
49639         * soft-fp/trunctfxf2.c: Likewise.
49640         * soft-fp/unorddf2.c: Likewise.
49641         * soft-fp/unordsf2.c: Likewise.
49642         * soft-fp/unordtf2.c: Likewise.
49644 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
49646         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
49647         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
49649 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
49651         * elf/dl-libc.c: Clear initfini list after freeing.
49653 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
49655         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
49656         * soft-fp/addsf3.c: Likewise.
49657         * soft-fp/addtf3.c: Likewise.
49658         * soft-fp/divdf3.c: Likewise.
49659         * soft-fp/divsf3.c: Likewise.
49660         * soft-fp/divtf3.c: Likewise.
49661         * soft-fp/double.h: Likewise.
49662         * soft-fp/eqdf2.c: Likewise.
49663         * soft-fp/eqsf2.c: Likewise.
49664         * soft-fp/eqtf2.c: Likewise.
49665         * soft-fp/extenddftf2.c: Likewise.
49666         * soft-fp/extended.h: Likewise.
49667         * soft-fp/extendsfdf2.c: Likewise.
49668         * soft-fp/extendsftf2.c: Likewise.
49669         * soft-fp/extendxftf2.c: Likewise.
49670         * soft-fp/fixdfdi.c: Likewise.
49671         * soft-fp/fixdfsi.c: Likewise.
49672         * soft-fp/fixdfti.c: Likewise.
49673         * soft-fp/fixsfdi.c: Likewise.
49674         * soft-fp/fixsfsi.c: Likewise.
49675         * soft-fp/fixsfti.c: Likewise.
49676         * soft-fp/fixtfdi.c: Likewise.
49677         * soft-fp/fixtfsi.c: Likewise.
49678         * soft-fp/fixtfti.c: Likewise.
49679         * soft-fp/fixunsdfdi.c: Likewise.
49680         * soft-fp/fixunsdfsi.c: Likewise.
49681         * soft-fp/fixunsdfti.c: Likewise.
49682         * soft-fp/fixunssfdi.c: Likewise.
49683         * soft-fp/fixunssfsi.c: Likewise.
49684         * soft-fp/fixunssfti.c: Likewise.
49685         * soft-fp/fixunstfdi.c: Likewise.
49686         * soft-fp/fixunstfsi.c: Likewise.
49687         * soft-fp/fixunstfti.c: Likewise.
49688         * soft-fp/floatdidf.c: Likewise.
49689         * soft-fp/floatdisf.c: Likewise.
49690         * soft-fp/floatditf.c: Likewise.
49691         * soft-fp/floatsidf.c: Likewise.
49692         * soft-fp/floatsisf.c: Likewise.
49693         * soft-fp/floatsitf.c: Likewise.
49694         * soft-fp/floattidf.c: Likewise.
49695         * soft-fp/floattisf.c: Likewise.
49696         * soft-fp/floattitf.c: Likewise.
49697         * soft-fp/floatundidf.c: Likewise.
49698         * soft-fp/floatundisf.c: Likewise.
49699         * soft-fp/floatunsidf.c: Likewise.
49700         * soft-fp/floatunsisf.c: Likewise.
49701         * soft-fp/floatuntidf.c: Likewise.
49702         * soft-fp/floatuntisf.c: Likewise.
49703         * soft-fp/floatuntitf.c: Likewise.
49704         * soft-fp/fmadf4.c: Likewise.
49705         * soft-fp/fmasf4.c: Likewise.
49706         * soft-fp/fmatf4.c: Likewise.
49707         * soft-fp/gedf2.c: Likewise.
49708         * soft-fp/gesf2.c: Likewise.
49709         * soft-fp/getf2.c: Likewise.
49710         * soft-fp/ledf2.c: Likewise.
49711         * soft-fp/lesf2.c: Likewise.
49712         * soft-fp/letf2.c: Likewise.
49713         * soft-fp/muldf3.c: Likewise.
49714         * soft-fp/mulsf3.c: Likewise.
49715         * soft-fp/multf3.c: Likewise.
49716         * soft-fp/negdf2.c: Likewise.
49717         * soft-fp/negsf2.c: Likewise.
49718         * soft-fp/negtf2.c: Likewise.
49719         * soft-fp/op-1.h: Likewise.
49720         * soft-fp/op-2.h: Likewise.
49721         * soft-fp/op-4.h: Likewise.
49722         * soft-fp/op-8.h: Likewise.
49723         * soft-fp/op-common.h: Likewise.
49724         * soft-fp/quad.h: Likewise.
49725         * soft-fp/single.h: Likewise.
49726         * soft-fp/soft-fp.h: Likewise.
49727         * soft-fp/sqrtdf2.c: Likewise.
49728         * soft-fp/sqrtsf2.c: Likewise.
49729         * soft-fp/sqrttf2.c: Likewise.
49730         * soft-fp/subdf3.c: Likewise.
49731         * soft-fp/subsf3.c: Likewise.
49732         * soft-fp/subtf3.c: Likewise.
49733         * soft-fp/truncdfsf2.c: Likewise.
49734         * soft-fp/trunctfdf2.c: Likewise.
49735         * soft-fp/trunctfsf2.c: Likewise.
49736         * soft-fp/trunctfxf2.c: Likewise.
49737         * soft-fp/unorddf2.c: Likewise.
49738         * soft-fp/unordsf2.c: Likewise.
49739         * soft-fp/unordtf2.c: Likewise.
49741 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
49743         [BZ #15672]
49744         * misc/error.c (error_tail): Fix possible buffer overflow.
49746 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
49748         [BZ #13028]
49749         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
49750         address.
49752 2013-10-14  P. J. McDermott  <pj@pehjota.net>
49754         [BZ #832]
49755         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
49756         testing pipefail option.
49758 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
49760         * soft-fp/double.h: Indent preprocessor directives inside #if.
49761         * soft-fp/extended.h: Likewise.
49762         * soft-fp/op-2.h: Likewise.
49763         * soft-fp/op-4.h: Likewise.
49764         * soft-fp/op-common.h: Likewise.
49765         * soft-fp/quad.h: Likewise.
49766         * soft-fp/single.h: Likewise.
49767         * soft-fp/soft-fp.h: Likewise.
49769 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
49771         * iconv/iconv_prog.c: Fix typos.
49772         * stdio-common/psiginfo-data.h: Likewise.
49774 2013-10-12   Reuben Thomas <rrt@sc3d.org>
49776         [BZ #15764]
49777         * locale/setlocale.c: Fix typo.
49779 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
49781         [BZ #16036]
49782         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
49783         signaling NaN arguments.
49784         * soft-fp/unordsf2.c (__unordsf2): Likewise.
49785         * soft-fp/unordtf2.c (__unordtf2): Likewise.
49787         [BZ #14910]
49788         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
49789         unordered operands.
49790         * soft-fp/gesf2.c (__gesf2): Likewise.
49791         * soft-fp/getf2.c (__getf2): Likewise.
49792         * soft-fp/ledf2.c (__ledf2): Likewise.
49793         * soft-fp/lesf2.c (__lesf2): Likewise.
49794         * soft-fp/letf2.c (__letf2): Likewise.
49796         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
49797         * soft-fp/eqsf2.c (__eqsf2): Likewise.
49798         * soft-fp/eqtf2.c (__eqtf2): Likewise.
49799         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
49800         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
49801         * soft-fp/fixdfti.c (__fixdfti): Likewise.
49802         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
49803         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
49804         * soft-fp/fixsfti.c (__fixsfti): Likewise.
49805         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
49806         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
49807         * soft-fp/fixtfti.c (__fixtfti): Likewise.
49808         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
49809         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
49810         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
49811         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
49812         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
49813         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
49814         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
49815         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
49816         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
49817         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
49818         * soft-fp/floatdisf.c (__floatdisf): Likewise.
49819         * soft-fp/floatsisf.c (__floatsisf): Likewise.
49820         * soft-fp/floattidf.c (__floattidf): Likewise.
49821         * soft-fp/floattisf.c (__floattisf): Likewise.
49822         * soft-fp/floattitf.c (__floattitf): Likewise.
49823         * soft-fp/floatundidf.c (__floatundidf): Likewise.
49824         * soft-fp/floatundisf.c (__floatundisf): Likewise.
49825         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
49826         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
49827         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
49828         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
49829         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
49830         * soft-fp/gesf2.c (__gesf2): Likewise.
49831         * soft-fp/getf2.c (__getf2): Likewise.
49832         * soft-fp/ledf2.c (__ledf2): Likewise.
49833         * soft-fp/lesf2.c (__lesf2): Likewise.
49834         * soft-fp/letf2.c (__letf2): Likewise.
49836         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
49837         Undefine and redefine.
49838         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
49839         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
49840         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
49841         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
49842         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49843         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
49844         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49845         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
49846         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49847         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
49848         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49849         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
49850         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49851         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
49852         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49854         [BZ #16032]
49855         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
49856         without decrementing exponent if mantissa >= that for the
49857         denominator, not >.
49858         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
49859         denominator, not >.  Decrement exponent in < case instead of
49860         incrementing in >= case.
49861         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
49862         without decrementing exponent if mantissa >= that for the
49863         denominator, not >.
49865         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
49866         computing saturated result for unsigned overflow.
49868 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49869             Jeff Law  <law@redhat.com>
49871         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
49872         (atan2Mp): Add systemtap probe marker.
49873         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
49874         (__ieee754_log): Add systemtap probe marker.
49875         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
49876         (atanMp): Add systemtap probe marker.
49877         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
49878         (tanMp): Add systemtap probe marker.
49879         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
49880         (__slowexp): Add systemtap probe marker.
49881         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
49882         (__slowpow): Add systemtap probe marker.
49883         * manual/probes.texi: Document probes.
49885 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
49887         [BZ #15362]
49888         * libio/fileops.c (_IO_new_file_write): Return count of bytes
49889         written.
49890         (_IO_new_file_xsputn): Don't return EOF if nothing has been
49891         written.
49892         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
49893         written to buffer but not flushed.
49894         * libio/iofwrite_u.c:  Likewise.
49895         * libio/iopadn.c:  Return bytes returned even if EOF was
49896         encountered.
49897         * libio/iowpadn.c:  Likewise.
49898         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
49899         if _IO_padn does not write the whole buffer.
49900         [!COMPILE_WPRINTF] (PAD): Likewise.
49902 2013-10-10  David S. Miller  <davem@davemloft.net>
49904         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
49905         directory block.
49907 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
49909         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
49910         instead of FSF address.
49911         * soft-fp/fixdfti.c: Likewise.
49912         * soft-fp/fixsfti.c: Likewise.
49913         * soft-fp/fixtfti.c: Likewise.
49914         * soft-fp/fixunsdfti.c: Likewise.
49915         * soft-fp/fixunssfti.c: Likewise.
49916         * soft-fp/fixunstfti.c: Likewise.
49917         * soft-fp/floattidf.c: Likewise.
49918         * soft-fp/floattisf.c: Likewise.
49919         * soft-fp/floattitf.c: Likewise.
49920         * soft-fp/floatuntidf.c: Likewise.
49921         * soft-fp/floatuntisf.c: Likewise.
49922         * soft-fp/floatuntitf.c: Likewise.
49923         * soft-fp/trunctfxf2.c: Likewise.
49925         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
49926         * soft-fp/fixdfti.c: Likewise.
49927         * soft-fp/fixsfti.c: Likewise.
49928         * soft-fp/fixtfti.c: Likewise.
49929         * soft-fp/fixunsdfti.c: Likewise.
49930         * soft-fp/fixunssfti.c: Likewise.
49931         * soft-fp/fixunstfti.c: Likewise.
49932         * soft-fp/floattidf.c: Likewise.
49933         * soft-fp/floattisf.c: Likewise.
49934         * soft-fp/floattitf.c: Likewise.
49935         * soft-fp/floatuntidf.c: Likewise.
49936         * soft-fp/floatuntisf.c: Likewise.
49937         * soft-fp/floatuntitf.c: Likewise.
49938         * soft-fp/trunctfxf2.c: Likewise.
49940 2013-10-10  David S. Miller  <davem@davemloft.net>
49942         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49944 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
49946         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
49947         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
49948         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
49949         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
49950         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
49951         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
49952         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
49954         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
49955         for NaNs before doing comparisons on argument.
49956         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
49957         Likewise.
49959 2013-10-10  Will Newton  <will.newton@linaro.org>
49961         * malloc/hooks.c (memalign_check): Ensure the value of bytes
49962         passed to _int_memalign does not overflow.
49964 2013-10-10  Torvald Riegel  <triegel@redhat.com>
49966         * scripts/bench.pl: Add include-sources directive.
49967         * benchtests/README: Update documentation.
49969 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
49971         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
49972         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
49973         instead of FP_INIT_ROUNDMODE.
49974         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
49975         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
49977         [BZ #16034]
49978         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
49979         copy class of input value.
49980         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
49981         not handle exceptions.
49982         * soft-fp/negsf2.c (__negsf2): Likewise.
49983         * soft-fp/negtf2.c (__negtf2): Likewise.
49984         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
49986 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
49988         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
49989         semicolon.  From Linux kernel.
49991 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
49993         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
49995 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
49997         [BZ #156]
49998         * manual/socket.texi: Added statement about buffer
49999         for gethostbyname2_r.
50001 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
50003         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
50004         Use .p2align directive instead, throughout.
50005         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
50006         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
50007         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
50008         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50009         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50010         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
50011         * sysdeps/x86_64/strchr.S: Likewise.
50012         * sysdeps/x86_64/strrchr.S: Likewise.
50014 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
50016         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
50018         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
50020         * sysdeps/generic/math_private.h (__mpsin1): Remove
50021         declaration.
50022         (__mpcos1): Likewise.
50023         (__mpsin): New argument __range_reduce.
50024         (__mpcos): Likewise.
50025         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50026         (slow): Use __mpsin and __mpcos.
50027         (slow1): Likewise.
50028         (slow2): Likewise.
50029         (sloww): Likewise.
50030         (sloww1): Likewise.
50031         (sloww2): Likewise.
50032         (bsloww): Likewise.
50033         (bsloww1): Likewise.
50034         (bsloww2): Likewise.
50035         (cslow2): Likewise.
50036         (csloww): Likewise.
50037         (csloww1): Likewise.
50038         (csloww2): Likewise.
50039         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
50040         range_reduce.  Merge in __mpsin1.
50041         (__mpcos): Likewise.
50042         (__mpsin1): Remove.
50043         (__mpcos1): Likewise.
50045 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
50047         * locale/loadlocale.c (_nl_intern_locale_data): Use
50048         LOCFILE_ALIGNED_P.
50049         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
50050         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
50051         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
50052         obstack data is appropriately aligned.
50053         (obstack_int32_grow_fast): Likewise.
50054         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
50055         * locale/programs/locfile.c (add_locale_uint32): Likewise.
50056         (add_locale_uint32_array): Likewise.
50058 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
50060         * benchtests/Makefile: Remove ARGLIST and RET variables.
50061         ($(objpfx)bench-%.c): Pass only function name to the script.
50062         * benchtests/README: Update documentation.
50063         * benchtests/acos-inputs: Add new directives.
50064         * benchtests/acosh-inputs: Likewise.
50065         * benchtests/asin-inputs: Likewise.
50066         * benchtests/asinh-inputs: Likewise.
50067         * benchtests/atan-inputs: Likewise.
50068         * benchtests/atanh-inputs: Likewise.
50069         * benchtests/cos-inputs: Likewise.
50070         * benchtests/cosh-inputs: Likewise.
50071         * benchtests/exp-inputs: Likewise.
50072         * benchtests/log-inputs: Likewise.
50073         * benchtests/pow-inputs: Likewise.
50074         * benchtests/rint-inputs: Likewise.
50075         * benchtests/sin-inputs: Likewise.
50076         * benchtests/sinh-inputs: Likewise.
50077         * benchtests/tan-inputs: Likewise.
50078         * benchtests/tanh-inputs: Likewise.
50079         * scripts/bench.pl: Add support for new directives.
50081 2013-10-07  Alan Modra  <amodra@gmail.com>
50083         * README: Fix careless merge.
50085 2013-10-05  Alan Modra  <amodra@gmail.com>
50087         * NEWS: Mention powerpc64le support and bugs fixed.
50088         * README: Both big-endian and little-endian powerpc64 supported.
50090 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50092         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
50093         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
50094         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
50095         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
50097 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
50099         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
50100         match prototype.
50102 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
50104         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
50105         Move -mhard-float appending from
50106         ports/sysdeps/powerpc/powerpc32/Makefile.
50107         [$(with-fp) = yes] (ASFLAGS): Likewise.
50108         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
50109         * sysdeps/powerpc/nofpu: Move directory from
50110         ports/sysdeps/powerpc/nofpu.
50111         * sysdeps/powerpc/soft-fp: Move directory from
50112         ports/sysdeps/powerpc/soft-fp.
50113         * sysdeps/powerpc/powerpc32/405: Move directory from
50114         ports/sysdeps/powerpc/powerpc32/405.
50115         * sysdeps/powerpc/powerpc32/440: Move directory from
50116         ports/sysdeps/powerpc/powerpc32/440.
50117         * sysdeps/powerpc/powerpc32/464: Move directory from
50118         ports/sysdeps/powerpc/powerpc32/464.
50119         * sysdeps/powerpc/powerpc32/476: Move directory from
50120         ports/sysdeps/powerpc/powerpc32/476.
50121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
50122         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
50123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
50124         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
50125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
50126         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
50127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
50128         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
50129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
50130         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
50131         * README: Update for powerpc-*-linux-gnu software floating point
50132         support in libc.
50134         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
50135         case to powerpc/powerpc32*.
50136         * sysdeps/unix/sysv/linux/configure: Regenerated.
50138         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
50139         (_FPU_MASK_OM): Define as 0x04.
50140         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
50141         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
50142         0x00c10080.
50143         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
50144         0x0000003c.
50145         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
50147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
50148         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
50149         getcontext_e500.
50150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
50151         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
50152         setcontext_e500.
50153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
50154         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
50155         and setcontext_e500.
50157 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
50159         * locale/iso-3166.def: Update iso-1366.def and related occurrences
50161 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50163         * manual/threads.texi (Default Thread Attributes): Fix typo.
50165 2013-10-04  Will Newton  <will.newton@linaro.org>
50167         * malloc/Makefile: Add tst-memalign.
50168         * malloc/tst-memalign.c: New file.
50170         * malloc/tst-posix_memalign.c: Add comments.
50171         (do_test): Add comments and call free on all potentially
50172         allocated pointers. Add space after cast.
50174         * malloc/tst-pvalloc.c: Add comments.
50175         (do_test): Add comments and call free on all potentially
50176         allocated pointers. Remove duplicate check for NULL pointer.
50177         Add space after cast.
50179         * malloc/tst-valloc.c: Add comments.
50180         (do_test): Add comments and call free on all potentially
50181         allocated pointers. Remove duplicate check for NULL pointer.
50182         Add space after cast.
50184 2013-10-04  Alan Modra  <amodra@gmail.com>
50186         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
50187         Use stdint types in rather than __attribute__((mode())).
50188         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
50190 2013-10-04  Alan Modra  <amodra@gmail.com>
50192         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
50193         Correct handling of unaligned relocs for little-endian.
50194         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
50196 2013-10-04  Alan Modra  <amodra@gmail.com>
50198         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
50199         * configure: Regenerate.
50200         * nptl/shlib-versions: Powerpc*le starts at 2.18.
50201         * shlib-versions: Likewise.
50203 2013-10-04  Alan Modra  <amodra@gmail.com>
50205         * string/tester.c (test_memrchr): Increment reported test cycle.
50207 2013-10-04  Alan Modra  <amodra@gmail.com>
50209         * string/test-memcpy.c (do_one_test): When reporting errors, print
50210         string address and don't overrun end of string.
50212 2013-10-04  Alan Modra  <amodra@gmail.com>
50214         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
50215         insrdi.  Make better use of reg selection to speed exit slightly.
50216         Schedule entry path a little better.  Remove useless "are we done"
50217         checks on entry to main loop.  Handle wrapping around zero address.
50218         Correct main loop count.  Handle single left-over word from main
50219         loop inline rather than by using loop_small.  Remove extra word
50220         case in loop_small caused by wrong loop count.  Add little-endian
50221         support.
50222         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
50223         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
50224         cache hint.
50225         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
50226         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
50227         support.  Avoid rlwimi.
50228         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
50230 2013-10-04  Alan Modra  <amodra@gmail.com>
50232         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
50233         insrdi.  Formatting.
50234         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
50235         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
50236         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
50237         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
50238         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
50239         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
50241 2013-10-04  Alan Modra  <amodra@gmail.com>
50243         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
50244         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50245         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
50246         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
50247         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
50248         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
50249         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50250         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50251         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
50252         use of regs.  Use power7 mtocrf.  Tidy function tails.
50254 2013-10-04  Alan Modra  <amodra@gmail.com>
50256         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
50257         Formatting.  Consistently use rXXX register defines or rN defines.
50258         Use early exit labels that avoid restoring unused non-volatile regs.
50259         Make cr field use more consistent with rWORDn compares.  Rename
50260         regs used as shift registers for unaligned loop, using rN defines
50261         for short lifetime/multiple use regs.
50262         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
50263         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
50264         addi 1,1,64 to pop stack frame.  Simplify return value code.
50265         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50267 2013-10-04  Alan Modra  <amodra@gmail.com>
50269         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
50270         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
50271         rather than rlwimi.
50272         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
50273         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
50274         little-endian support.  Correct typos.
50275         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
50276         rather than rlwimi.
50277         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
50278         in loop and entry code to keep "and." results.
50279         (strchr): Add little-endian support.  Comment.  Move cntlzd
50280         earlier in tail.
50281         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
50283 2013-10-04  Alan Modra  <amodra@gmail.com>
50285         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
50286         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
50287         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
50288         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
50290 2013-10-04  Alan Modra  <amodra@gmail.com>
50292         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
50293         (rTMP): Define as r11.
50294         (strcmp): Add little-endian support.  Optimise tail.
50295         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
50296         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
50297         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
50298         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50299         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
50300         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50301         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50303 2013-10-04  Alan Modra  <amodra@gmail.com>
50305         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
50306         little-endian support.  Remove unnecessary "are we done" tests.
50307         Handle "s" wrapping around zero and extremely large "size".
50308         Correct main loop count.  Handle single left-over word from main
50309         loop inline rather than by using small_loop.  Correct comments.
50310         Delete "zero" tail, use "end_max" instead.
50311         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
50313 2013-10-04  Alan Modra  <amodra@gmail.com>
50315         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
50316         support.  Don't branch over align.
50317         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
50318         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
50319         support.  Rearrange tmp reg use to suit.  Comment.
50320         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
50322 2013-10-04  Alan Modra  <amodra@gmail.com>
50324         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
50326 2013-10-04  Alan Modra  <amodra@gmail.com>
50328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
50329         conditional form of branch and link when obtaining pc.
50330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
50332 2013-10-04  Alan Modra  <amodra@gmail.com>
50334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
50335         HIWORD/LOWORD.
50336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
50337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
50339 2013-10-04  Alan Modra  <amodra@gmail.com>
50341         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
50342         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
50343         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
50344         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
50345         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
50346         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
50347         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
50348         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
50349         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
50350         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
50352 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
50353             Alistair Popple <alistair@ozlabs.au.ibm.com>
50354             Alan Modra <amodra@gmail.com>
50356         [BZ #15723]
50357         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
50358         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
50359         _dl_hwcap access for little-endian.
50360         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
50361         destroy vmx regs when saving unaligned.
50362         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
50363         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
50364         destroy vmx regs when saving unaligned.
50366 2013-10-04  Alan Modra  <amodra@gmail.com>
50368         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
50369         Don't use a union to pack hi/low value.
50371 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
50373         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
50374         for little-endian.
50375         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
50376         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
50377         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
50378         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
50379         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
50381 2013-10-04  Alan Modra  <amodra@gmail.com>
50383         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
50384         constants to usual value for .cst8 section, and remove redundant
50385         high address load.
50386         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
50387         constant for 0x1p52.  Load little-endian words of double from
50388         correct stack offsets.
50390 2013-10-04  Alan Modra  <amodra@gmail.com>
50392         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
50393         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
50394         words of double from correct stack offsets.
50395         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
50396         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
50397         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
50398         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
50399         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
50400         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
50401         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
50402         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
50403         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
50404         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
50405         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
50406         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
50407         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50408         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50409         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50410         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
50411         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
50413 2013-10-04  Alan Modra  <amodra@gmail.com>
50415         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
50416         64-bit int/double union.
50417         (_FPU_SETCW): Likewise.
50418         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
50419         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
50421 2013-10-04  Alan Modra  <amodra@gmail.com>
50423         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
50424         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
50426 2013-10-04  Alan Modra  <amodra@gmail.com>
50428         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
50429         use vector int constants.
50430         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
50432 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
50434         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
50435         array with long long.
50436         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
50437         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
50438         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
50439         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
50440         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
50441         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
50442         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
50443         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
50444         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
50445         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
50446         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
50447         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
50448         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
50450 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
50452         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
50453         (__signbit): Likewise.  Correct for little-endian.
50454         (__signbitl): Call __signbit.
50455         (lrint): Correct for little-endian.
50456         (lrintf): Call lrint.
50458 2013-10-04  Alan Modra  <amodra@gmail.com>
50460         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
50461         union 32-bit int array member with 64-bit int array.
50462         (t515, tm256): Double rather than long double.
50463         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
50465 2013-10-04  Alan Modra  <amodra@gmail.com>
50467         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
50468         Delete.
50469         (IEEE854_LONG_DOUBLE_BIAS): Delete.
50470         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
50471         version of math_ldbl.h.
50473 2013-10-04  Alan Modra  <amodra@gmail.com>
50475         [BZ #15734], [BZ #15735]
50476         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
50477         all uses of ieee875 long double macros and unions.  Simplify test
50478         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
50479         ldbl_extract_mantissa value for ix,iy exponents.  Properly
50480         normalize after ldbl_extract_mantissa, and don't add hidden bit
50481         already handled.  Don't treat low word of ieee854 mantissa like
50482         low word of IBM long double and mask off bit when testing for
50483         zero.
50484         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
50485         all uses of ieee875 long double macros and unions.  Simplify tests
50486         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
50487         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
50488         two1022, instead use their values.  Recognise that tests for large
50489         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
50490         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
50491         Rewrite all uses of ieee875 long double macros and unions.  Simplify
50492         test for 0.0L and nan.  Correct negation.
50493         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
50494         ieee875 long double macros and unions.  Correct output for large
50495         magnitude x.  Correct absolute value calculation.
50496         (__erfcl): Likewise.
50497         * math/libm-test.inc: Add tests for errors discovered in IBM long
50498         double versions of fmodl, remainderl, erfl and erfcl.
50500 2013-10-04  Alan Modra  <amodra@gmail.com>
50502         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
50503         all uses of ieee854 long double macros and unions.  Simplify tests
50504         for long doubles that are fully specified by the high double.
50505         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
50506         Likewise.
50507         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
50508         Remove dead code too.
50509         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
50510         (__ieee754_ynl): Likewise.
50511         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
50512         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
50513         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
50514         Remove dead code too.
50515         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
50516         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
50517         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
50518         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
50519         Simplify.
50520         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
50521         Simplify.
50522         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
50523         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
50524         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
50525         Comment on variable precision.
50526         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
50527         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
50528         Likewise.
50529         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
50530         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
50531         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
50532         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
50533         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
50535 2013-10-04  Alan Modra  <amodra@gmail.com>
50537         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
50538         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
50539         all uses of ieee854 long double macros and unions.
50540         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
50541         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50542         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
50543         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
50544         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
50545         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
50546         Likewise.
50547         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
50548         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
50549         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
50550         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
50551         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
50552         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
50553         Simplify sign and nan test too.
50554         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
50555         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
50556         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
50557         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
50558         Likewise.
50559         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
50560         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
50561         Likewise.
50562         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50563         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
50564         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
50565         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
50566         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
50567         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
50569 2013-10-04  Alan Modra  <amodra@gmail.com>
50571         * stdio-common/printf_size.c (__printf_size): Don't use
50572         union ieee854_long_double in fpnum union.
50573         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
50574         signbit macro to retrieve sign from long double.
50575         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
50576         retrieve sign from long double.
50577         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
50578         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
50579         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
50580         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
50581         * math/test-misc.c (main): Don't use union ieee854_long_double.
50583 2013-10-04  Alan Modra  <amodra@gmail.com>
50585         [BZ #15680]
50586         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
50587         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
50588         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
50589         calculation.  Remove unnecessary test for denormal exponent.
50590         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
50591         Correct handling of denormals.  Avoid undefined shift behaviour.
50592         Correct normalisation of low mantissa when low double is denormal.
50593         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
50594         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
50595         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
50596         Correct normalisation of low mantissa.  Test for overflow of high
50597         mantissa and normalise.
50598         (ldbl_nearbyint): Use more readable constant for two52.
50599         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
50600         (__mpn_construct_long_double): Fix test for overflow of high
50601         mantissa and correct normalisation.  Avoid undefined shift.
50603 2013-10-04  Alan Modra  <amodra@gmail.com>
50605         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
50606         (union ibm_extended_long_double): Define as an array of ieee754_double.
50607         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
50608         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
50609         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
50610         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
50611         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50612         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
50613         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50614         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
50615         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50616         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
50617         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
50619 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
50621         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
50622         page size instead of calling getpagesize.
50624         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
50625         (LOCFILE_ALIGN_MASK): Likewise.
50626         (LOCFILE_ALIGN_UP): Likewise.
50627         (LOCFILE_ALIGNED_P): Likewise.
50628         * locale/programs/ld-collate.c (collate_output): Use the new
50629         macros instead of __alignof__ (int32_t).
50630         * locale/weight.h (findidx): Likewise.
50632 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
50634         [BZ #431]
50635         * manual/string.texi: Fix strncat and wcsncat.
50637 2013-10-03  Brooks Moses  <bmoses@google.com>
50639         [BZ #15915]
50640         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
50641         * Makerules: ...here, and adjust associated comments.
50643 2013-10-02  Will Newton  <will.newton@linaro.org>
50645         * malloc/Makefile: Add tst-pvalloc.
50646         * malloc/tst-pvalloc.c: New file.
50648 2013-10-02  Will Newton  <will.newton@linaro.org>
50650         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
50651         improve test coverage.
50653 2013-10-02  Will Newton  <will.newton@linaro.org>
50655         * malloc/Makefile: Add tst-posix_memalign.
50656         * malloc/tst-posix_memalign.c: New file.
50658 2013-10-01  Eric Blake  <eblake@redhat.com>
50660         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
50661         Use __THROWNL rather than __THROW on static functions.
50663 2013-09-30  Petr Machata  <pmachata@redhat.com>
50665         * elf/elf.h (R_AARCH64_ABS16): New macro.
50666         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
50667         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
50668         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
50669         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
50670         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
50671         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
50672         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
50673         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
50674         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
50675         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
50676         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
50677         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
50678         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
50679         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
50680         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
50681         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
50682         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
50683         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
50684         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
50685         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
50686         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
50687         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
50688         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
50689         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
50690         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
50691         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
50692         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
50693         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
50694         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
50695         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
50696         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
50697         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
50698         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
50699         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
50700         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
50701         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
50702         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
50703         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
50704         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
50705         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
50706         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
50707         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
50708         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
50709         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
50710         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
50711         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
50712         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
50713         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
50714         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
50715         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
50716         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
50717         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
50718         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
50719         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
50720         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
50721         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
50722         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
50723         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
50724         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
50725         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
50726         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
50727         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
50728         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
50729         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
50730         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
50731         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
50732         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
50733         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
50734         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
50735         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
50736         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
50737         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
50738         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
50739         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
50740         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
50741         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
50742         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
50743         (R_AARCH64_TLSDESC_LDR): Likewise.
50744         (R_AARCH64_TLSDESC_ADD): Likewise.
50745         (R_AARCH64_TLSDESC_CALL): Likewise.
50747 2013-09-30  Andreas Schwab  <schwab@suse.de>
50749         [BZ #15048]
50750         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
50751         the nss database lookup.
50752         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50753         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50755 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
50757         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
50759 2013-09-28  P. J. McDermott  <pj@pehjota.net>
50761         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
50762         ${Bash-specific parameter/pattern/string} parameter expansion.
50763         * sysdeps/unix/make-syscalls.sh: Likewise.
50765 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50767         * sysdeps/sh/stackguard-macros.h: New file.
50769 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
50771         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
50772         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
50773         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
50774         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
50775         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50776         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
50778 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50780         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
50781         Fix thread ID register.
50783 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
50785         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
50786         [POSIX || UNIX98]: Require rather than permitting all symbols from
50787         <time.h>.
50788         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
50789         element of struct sched_param.
50790         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
50791         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
50792         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
50793         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
50794         constant.
50796 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
50798         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
50799         argument calculation.
50801 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
50803         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
50804         Expect macro.
50805         [POSIX] (pthread_attr_t): Do not require type.
50806         [POSIX] (pthread_cond_t): Likewise.
50807         [POSIX] (pthread_condattr_t): Likewise.
50808         [POSIX] (pthread_key_t): Likewise.
50809         [POSIX] (pthread_mutex_t): Likewise.
50810         [POSIX] (pthread_mutexattr_t): Likewise.
50811         [POSIX] (pthread_once_t): Likewise.
50812         [POSIX] (pthread_t): Likewise.
50813         [POSIX-based standards] (pthread_atfork): Expect function.
50815 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
50816             Richard Sandiford  <richard@codesourcery.com>
50818         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
50819         (swap_endianness_p): New extern variable.
50820         (set_big_endian): New inline function.
50821         (maybe_swap_uint32): Likewise.
50822         (maybe_swap_uint32_array): Likewise.
50823         (maybe_swap_uint32_obstack): Likewise.
50824         * locale/programs/locfile.c: Include <stdbool.h>.
50825         (swap_endianness_p): New variable.
50826         (add_locale_uint32): Call maybe_swap_uint32.
50827         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
50828         (write_locale_data): Call maybe_swap_uint32_array.
50829         * locale/programs/ld-collate.c (obstack_int32_grow): Call
50830         maybe_swap_uint32.
50831         (obstack_int32_grow_fast): Likewise.
50832         (output_weightwc): Call maybe_swap_uint32_obstack.
50833         (collate_output): Likewise.
50834         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
50835         (OPT_LITTLE_ENDIAN): Likewise.
50836         (options): Add --little-endian and --big-endian options.
50837         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
50838         * locale/programs/locarchive.c: Include "locfile.h".
50839         (GET): New macro.
50840         (SET): Likewise.
50841         (INC): Likewise.
50842         (create_archive): Use the new macros to access fields of
50843         structures directly mapped from or written to locale archives.
50844         (oldlocrecentcmp): Likewise.
50845         (enlarge_archive): Likewise.
50846         (insert_name): Likewise.
50847         (add_alias): Likewise.
50848         (add_locale): Likewise.
50849         (delete_locales_from_archive): Likewise.
50850         (show_archive_content): Likewise.
50851         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
50852         locale data.
50854 2013-09-24  Roland McGrath  <roland@hack.frob.com>
50856         * manual/freemanuals.texi: Updated from (newly) canonical copy at
50857         http://www.gnu.org/doc/freemanuals.texi.
50858         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
50860 2013-09-24  Will Newton  <will.newton@linaro.org>
50862         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
50863         macro.
50865 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
50867         * locale/hashval.h (compute_hashval): Interpret bytes of key as
50868         unsigned char.
50870 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
50872         * manual/threads.texi (POSIX Threads): Fix a typo.
50874 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
50876         [BZ #14547]
50877         * string/tst-strcoll-overflow.c: New test case.
50878         * string/Makefile (xtests): Add tst-strcoll-overflow.
50879         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
50880         cache if string sizes may cause integer overflow.
50882         [BZ #14547]
50883         * string/strcoll_l.c (coll_seq): New members rule, idx,
50884         save_idx and back_us.
50885         (get_next_seq_nocache): New function.
50886         (do_compare_nocache): New function.
50887         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
50888         when malloc fails.
50890 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
50892         [BZ #15754]
50893         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
50894         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
50895         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
50897         [BZ #15754]
50898         * elf/Makefile (tests): Add tst-ptrguard1.
50899         (tests-static): Add tst-ptrguard1-static.
50900         (tst-ptrguard1-ARGS): Define.
50901         (tst-ptrguard1-static-ARGS): Define.
50902         * elf/tst-ptrguard1.c: New file.
50903         * elf/tst-ptrguard1-static.c: New file.
50904         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
50905         * sysdeps/i386/stackguard-macros.h: Likewise.
50906         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50907         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50908         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50909         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50910         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50911         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50913 2013-09-23  Hector Marco  <hecmargi@upv.es>
50914             Ismael Ripoll  <iripoll@disca.upv.es>
50915             Carlos O'Donell  <carlos@redhat.com>
50917         [BZ #15754]
50918         * sysdeps/generic/stackguard-macros.h: Define
50919         __pointer_chk_guard_local and POINTER_CHK_GUARD.
50920         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
50921         Define __pointer_chk_guard_local.
50922         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
50923         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
50925 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
50927         [BZ #15859]
50928         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
50930 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
50932         * include/string.h (__ffs): Declare as hidden.
50933         * string/ffs.c (__ffs): Define as hidden.
50934         * sysdeps/i386/ffs.c (__ffs): Likewise.
50935         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
50936         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
50937         * sysdeps/s390/ffs.c (__ffs): Likewise.
50938         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
50940 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
50942         * NEWS: Mention malloc probes.
50944         * malloc/arena.c (new_heap): New memory_heap_new probe.
50945         (grow_heap): New memory_heap_more probe.
50946         (shrink_heap): New memory_heap_less probe.
50947         (heap_trim): New memory_heap_free probe.
50948         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
50949         (systrim): New memory_sbrk_less probe.
50950         * manual/probes.texi: Document them.
50952         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
50953         * manual/probes.texi: Document it.
50955         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
50956         (__libc_realloc): Add memory_realloc_retry probe.
50957         (__libc_memalign): Add memory_memalign_retry probe.
50958         (__libc_valloc): Add memory_valloc_retry probe.
50959         (__libc_pvalloc): Add memory_pvalloc_retry probe.
50960         (__libc_calloc): Add memory_calloc_retry probe.
50961         * manual/probes.texi: Document them.
50963         * malloc/arena.c (get_free_list): Add probe
50964         memory_arena_reuse_free_list.
50965         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
50966         and memory_arena_reuse.
50967         (arena_get2) [!PER_THREAD]: Likewise.
50968         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
50969         memory_arena_reuse_realloc.
50970         * manual/probes.texi: Document them.
50972         * malloc/malloc.c (__libc_free): Add
50973         memory_mallopt_free_dyn_thresholds probe.
50974         (__libc_mallopt): Add multiple memory_mallopt probes.
50975         * manual/probes.texi: Document them.
50977         * malloc/malloc.c: Include stap-probe.h.
50978         (__libc_mallopt): Add memory_mallopt probe.
50979         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
50980         * manual/probes.texi: New.
50981         * manual/Makefile (chapters): Add probes.
50982         * manual/threads.texi: Set next node.
50984 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
50986         [BZ #15963, #13985]
50987         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
50988         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
50989         Add `Chinese' to `nan' entry name.
50991 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50993         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
50994         (POLYNOMIAL): Likewise.
50995         (TAYLOR_SINCOS): Likewise.
50996         (TAYLOR_SLOW): Likewise.
50997         (__sin): Use TAYLOR_SINCOS.
50998         (__cos): Likewise.
50999         (slow): Use TAYLOR_SLOW.
51000         (sloww): Likewise.
51001         (bsloww): Likewise.
51002         (csloww): Likewise.
51004 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51006         * stdlib/strtod_l.c: Fix buffer overrun.
51008 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51010         * benchtests/Makefile (bench): Add sincos.
51011         * benchtests/bench-sincos.c: New file.
51013         * math/libm-test.inc (cos_test_data): New test inputs.
51014         (sin_test_data): Likewise.
51016         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
51017         macro.
51018         (__sin): Use it.
51019         (__cos): Likewise.
51020         (slow1): Likewise.
51021         (slow2): Likewise.
51022         (sloww1): Likewise.
51023         (sloww2): Likewise.
51024         (bsloww1): Likewise.
51025         (bsloww2): Likewise.
51026         (cslow2): Likewise.
51027         (csloww1): Likewise.
51028         (csloww2): Likewise.
51030         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
51031         function.
51032         (__sin): Use it.
51033         (__cos): Likewise.
51035         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
51036         gotos.
51037         (__cos): Likewise.
51039 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
51041         * config.h.in (HAVE_MIPS_NAN2008): New macro.
51042         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
51043         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
51044         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
51045         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
51046         * elf/cache.c (print_entry): Handle the new cache flags.
51048 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
51049             Aldy Hernandez  <aldyh@redhat.com>
51051         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
51052         Change condition to [_SOFT_FLOAT].
51053         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
51054         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
51055         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
51056         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
51057         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
51058         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
51059         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
51060         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
51061         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
51062         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
51063         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
51064         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
51065         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
51066         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
51067         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
51068         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
51069         declaration.
51071 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
51073         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
51074         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
51075         (__longjmp): Use LOAD_GP to load saved GPRs.
51076         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
51077         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
51078         (__sigsetjmp): Use SAVE_GP to save GPRs.
51080         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
51081         Do not append -msoft-float.
51082         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
51084 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51086         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
51088 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
51090         [BZ #15966]
51091         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
51092         (_FPU_GETCW): Use initial "__" on variable and field names but not
51093         on macro parameter name.
51094         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
51095         parentheses around reference to macro parameter.
51097 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
51099         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
51100         prototype.
51101         (ctype_startup): Use uint32_t in cast and sizeof for
51102         ctype->charnames.
51104 2013-09-11  Jia Liu  <proljc@gmail.com>
51106         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
51107         __daddr_t_defined.
51108         [__FreeBSD__]: Likewise.
51110 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
51112         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
51113         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
51114         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
51115         (strchr): Remove __strchr_sse42 ifunc selection.
51116         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
51117         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
51119 2013-09-11  Will Newton  <will.newton@linaro.org>
51121         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
51122         parameter to RES. Remove hardcoded 1000 value.
51123         * benchtests/bench-skeleton.c (main): Pass RES parameter
51124         to TIMING_INIT and multiply result by 1000.
51126 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51128         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51130 2013-09-11  Andreas Schwab  <schwab@suse.de>
51132         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
51133         if not defined.
51134         (O_TMPFILE) [__USE_GNU]: Define.
51135         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
51136         Define.
51138 2013-09-11  Will Newton  <will.newton@linaro.org>
51140         [BZ #15857]
51141         * malloc/malloc.c (__libc_memalign): Check the value of bytes
51142         does not overflow.
51144 2013-09-11  Will Newton  <will.newton@linaro.org>
51146         [BZ #15856]
51147         * malloc/malloc.c (__libc_valloc): Check the value of bytes
51148         does not overflow.
51150 2013-09-11  Will Newton  <will.newton@linaro.org>
51152         [BZ #15855]
51153         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
51154         does not overflow.
51156 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
51158         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
51159         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51160         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51161         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51162         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51164 2013-09-10  Allan McRae  <allan@archlinux.org>
51166         [BZ #15748]
51167         * manual/arith.texi (Parsing of Floats): Clarify
51168         cross-reference.
51170         [BZ #15849]
51171         * manual/install.texi (Running make install): Mention
51172         --enable-pt-chown.
51173         * INSTALL: Regenerated.
51175 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
51177         * csu/init-first.c (_init): Remove the !SHARED condition around
51178         FPU control word initialization.
51179         * elf/dl-support.c (_dl_fpu_control): New variable.
51180         (_dl_aux_init) <AT_FPUCW>: Initialize it.
51181         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
51182         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
51183         * math/test-fpucw-static.c: New file.
51184         * math/test-fpucw-ieee.c: New file.
51185         * math/test-fpucw-ieee-static.c: New file.
51186         * math/Makefile (tests): Add `test-fpucw-ieee' and
51187         `$(tests-static)'.
51188         (tests-static): New variable.
51189         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
51190         dependency to...
51191         [($(build-shared),yes)]
51192         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
51193         ... this.
51194         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
51195         New dependency.
51197 2013-09-09  Allan McRae  <allan@archlinux.org>
51199         [BZ #15939]
51200         * manual/string.texi (Collation Functions): Fix typo in
51201         strcoll example.
51202         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
51204         [BZ #15893]
51205         * stdlib/isomac.c (get_null_defines): Fix memory leak.
51207         [BZ #15892]
51208         * libio/memstream.c (open_memstream): Fix memory leak.
51209         * libio/wmemstream.c (open_wmemstream): Likewise.
51211         [BZ #15895]
51212         * nscd/netgroupcache.c: Fix nesting of ifdefs.
51214 2013-09-09  Will Newton  <will.newton@linaro.org>
51216         * malloc/Makefile: Add tst-realloc to tests.
51217         * malloc/tst-realloc.c: New file.
51219 2013-09-09  Allan McRae  <allan@archlinux.org>
51221         [BZ #15844]
51222         * COPYING: Update from GNU website to fix FSF address.
51223         * COPYING.LIB: Likewise.
51225 2013-09-06  David S. Miller  <davem@davemloft.net>
51227         * po/zh_TW.po: Update Chinese (traditional) translation from
51228         translation project.
51230 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
51231             Joseph Myers  <joseph@codesourcery.com>
51233         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
51234         "localeinfo.h".
51235         (obstack_chunk_alloc): New macro.
51236         (obstack_chunk_free): Likewise.
51237         (record_offset): New function.
51238         (init_locale_data): Likewise.
51239         (align_locale_data): Likewise.
51240         (add_locale_empty): Likewise.
51241         (add_locale_raw_data): Likewise.
51242         (add_locale_raw_obstack): Likewise.
51243         (add_locale_string): Likewise.
51244         (add_locale_wstring): Likewise.
51245         (add_locale_uint32): Likewise.
51246         (add_locale_uint32_array): Likewise.
51247         (add_locale_char): Likewise.
51248         (start_locale_structure): Likewise.
51249         (end_locale_structure): Likewise.
51250         (start_locale_prelude): Likewise.
51251         (end_locale_prelude): Likewise.
51252         (write_locale_data): Take locale_file structure rather than an
51253         iovec.
51254         * locale/programs/locfile.h: Include "obstack.h".
51255         (struct locale_file): Change to store locale file contents instead
51256         of header.
51257         (init_locale_data): New prototype.
51258         (align_locale_data): Likewise.
51259         (add_locale_empty): Likewise.
51260         (add_locale_raw_data): Likewise.
51261         (add_locale_raw_obstack): Likewise.
51262         (add_locale_string): Likewise.
51263         (add_locale_wstring): Likewise.
51264         (add_locale_uint32): Likewise.
51265         (add_locale_uint32_array): Likewise.
51266         (add_locale_char): Likewise.
51267         (start_locale_structure): Likewise.
51268         (end_locale_structure): Likewise.
51269         (start_locale_prelude): Likewise.
51270         (end_locale_prelude): Likewise.
51271         (write_locale_data): Update prototype.
51272         * locale/programs/3level.h (struct TABLE): Remove result field.
51273         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
51274         Use new locale_file interface.
51275         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
51276         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
51277         * locale/programs/ld-address.c (address_output): Use new
51278         locale_file interface.
51279         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
51280         NO_ADD_LOCALE.
51281         (collate_finish): Don't call collseq_table_finalize.
51282         (collate_output): Use new locale_file interface.
51283         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
51284         in file.
51285         (NO_FINALIZE): Change to NO_ADD_LOCALE.
51286         (TABLE): Move defines earlier in file.
51287         (ELEMENT): Likewise.
51288         (DEFAULT): Likewise.
51289         (wctrans_table_add): Move macro and inline function earlier in
51290         file.
51291         (struct wctype_table): Move type earlier in file.
51292         (add_locale_wctype_table): New static prototype.
51293         (struct locale_ctype_t): Use logical types instead of struct iovec
51294         pointers for members.
51295         (ctype_output): Use new locale_file interface.
51296         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
51297         new locale_file interface.
51298         (allocate_arrays): Update for use of new locale_file interface.
51299         * locale/programs/ld-identification.c (identification_output): Use
51300         new locale_file interface.
51301         * locale/programs/ld-measurement.c (measurement_output): Likewise.
51302         * locale/programs/ld-messages.c (messages_output): Likewise.
51303         * locale/programs/ld-monetary.c (monetary_output): Likewise.
51304         * locale/programs/ld-name.c (name_output): Likewise.
51305         * locale/programs/ld-numeric.c (numeric_output): Likewise.
51306         * locale/programs/ld-paper.c (paper_output): Likewise.
51307         * locale/programs/ld-telephone.c (telephone_output): Likewise.
51308         * locale/programs/ld-time.c (time_output): Likewise.
51310 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51312         * benchtests/Makefile: Add memrchr benchmark.
51313         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
51314         benchmark as memrchr.
51315         * benchtests/bench-memrchr-ifunc.c: New file.
51316         * benchtests/bench-memrchr.c: New file.
51318 2013-09-06   Will Newton  <will.newton@linaro.org>
51320         * benchtests/Makefile (string-bench): Add memcpy.
51322 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
51323             Cong Wang  <amwang@redhat.com>
51325         [BZ #15850]
51326         * sysdeps/unix/sysv/linux/bits/in.h
51327         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
51328         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
51329         before __USE_KERNEL_IPV6_DEFS uses.
51330         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
51331         IPPROTO_BEETPH.
51332         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
51333         sockaddr_in6, or ipv6_mreq.
51335 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51337         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
51338         memory access for final bytes in some large inputs.
51339         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
51341 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51343         * string/test-memrchr.c: New file.
51344         * string/test-memrchr-ifunc.c: New file.
51345         * string/Makefile: Add new memrchr testcase.
51347 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
51349         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
51350         fanotify_init returns EPERM.
51352 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
51354         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
51355         errors.
51356         (top level): Treat second token from macro or constant entries for
51357         allowed headers as allowed.
51358         * include/complex.h: Condition internal declarations on
51359         [!_ISOMAC].
51360         * include/fenv.h: Condition include of <stdbool.h> and internal
51361         declarations on [!_ISOMAC].
51363 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
51365         [BZ #15923]
51366         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
51368 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
51370         * configure.in (--enable-versioning): Remove configure option.
51371         (libc_cv_asm_symver_directive): Remove configure test.
51372         (libc_cv_ld_version_script_option): Likewise.
51373         (VERSIONING): Remove variable and AC_SUBST.
51374         (DO_VERSIONING): Remove AC_DEFINE.
51375         * configure: Regenerated.
51376         * config.h.in (DO_VERSIONING): Remove macro.
51377         * Makerules [$(versioning) = yes]: Change conditionals to
51378         [$(build-shared) = yes].
51379         * config.make.in (versioning): Remove variable.
51380         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
51381         [$(build-shared) = yes].
51382         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
51383         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
51384         * elf/Makefile [$(versioning) = yes]: Change conditionals to
51385         [$(build-shared) = yes].
51386         * extra-lib.mk [$(versioning) = yes]: Likewise.
51387         * hurd/Makefile [$(versioning) = yes]: Likewise.
51388         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
51389         [SHARED].
51390         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
51391         [SHARED].
51392         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
51393         [SHARED && !NO_HIDDEN].
51394         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
51395         [SHARED].
51396         [SHARED && DO_VERSIONING]: Likewise..
51397         * libio/Makefile [$(versioning) = yes]: Change conditionals to
51398         [$(build-shared) = yes].
51399         * manual/install.texi (--disable-versioning): Remove
51400         documentation.
51401         * INSTALL: Regenerated.
51402         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
51403         to [SHARED].
51404         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
51405         [$(build-shared) = yes].
51406         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
51407         * sysdeps/i386/i686/multiarch/strstr-c.c
51408         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
51409         [SHARED && !NO_HIDDEN].
51410         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
51411         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
51412         * sysdeps/powerpc/powerpc32/dl-machine.c
51413         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
51414         * sysdeps/powerpc/powerpc32/sysdep.h
51415         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
51416         to [SHARED && PIC && !NO_HIDDEN].
51417         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
51418         conditional to [SHARED].
51420 2013-09-04   Will Newton  <will.newton@linaro.org>
51422         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
51423         * benchtests/bench-string.h: Include bench-timing.h instead
51424         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
51425         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
51426         call to HP_TIMING_DIFF_INIT.
51427         * benchtests/bench-memccpy.c: Use bench-timing.h macros
51428         instead of hp-timing.h macros.
51429         * benchtests/bench-memchr.c: Likewise.
51430         * benchtests/bench-memcmp.c: Likewise.
51431         * benchtests/bench-memcpy.c: Likewise.
51432         * benchtests/bench-memmem.c: Likewise.
51433         * benchtests/bench-memmove.c: Likewise.
51434         * benchtests/bench-memset.c: Likewise.
51435         * benchtests/bench-rawmemchr.c: Likewise.
51436         * benchtests/bench-strcasecmp.c: Likewise.
51437         * benchtests/bench-strcasestr.c: Likewise.
51438         * benchtests/bench-strcat.c: Likewise.
51439         * benchtests/bench-strchr.c: Likewise.
51440         * benchtests/bench-strcmp.c: Likewise.
51441         * benchtests/bench-strcpy.c: Likewise.
51442         * benchtests/bench-strcpy_chk.c: Likewise.
51443         * benchtests/bench-strlen.c: Likewise.
51444         * benchtests/bench-strncasecmp.c: Likewise.
51445         * benchtests/bench-strncat.c: Likewise.
51446         * benchtests/bench-strncmp.c: Likewise.
51447         * benchtests/bench-strncpy.c: Likewise.
51448         * benchtests/bench-strnlen.c: Likewise.
51449         * benchtests/bench-strpbrk.c: Likewise.
51450         * benchtests/bench-strrchr.c: Likewise.
51451         * benchtests/bench-strspn.c: Likewise.
51452         * benchtests/bench-strstr.c: Likewise.
51454 2013-09-04  Will Newton  <will.newton@linaro.org>
51456         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
51458 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
51460         [BZ #15427]
51461         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
51462         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
51463         * math/libm-test.inc (lgamma_test_data): Add more tests.
51464         * sysdeps/i386/fpu/libm-test-ulps: Update.
51465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51467 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
51469         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
51470         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51471         Add ifunc.
51472         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
51473         Add strcmp-sse2-unaligned
51474         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
51476 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
51478         * Versions.def (libc): Add GLIBC_2.19.
51480 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
51482         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
51483         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
51485 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
51487         [BZ #14155]
51488         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
51489         intermediate calculations in recurrence.
51490         (__ieee754_ynf): Likewise.
51491         * math/libm-test.inc (jn_test_data): Do not allow spurious
51492         underflow exception.  Add more tests.
51493         (yn_test_data): Add more tests.
51494         * sysdeps/i386/fpu/libm-test-ulps: Update.
51495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51497 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
51499         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
51501 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
51503         * csu/init-first.c: Fix then/than typos.
51504         * locale/programs/ld-collate.c: Likewise.
51505         * locale/programs/linereader.h: Likewise.
51506         * manual/charset.texi: Likewise.
51507         * manual/filesys.texi: Likewise.
51508         * manual/stdio.texi: Likewise.
51509         * manual/string.texi: Likewise.
51510         * stdlib/fmtmsg.c: Likewise.
51511         * sysdeps/i386/stpncpy.S: Likewise.
51512         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51513         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
51514         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51515         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
51517 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
51519         * elf/dl-open.c: Fix typos.
51520         * iconvdata/gbbig5.c: Likewise.
51521         * iconvdata/iso-2022-jp.c: Likewise.
51522         * iconv/gconv_int.h: Likewise.
51523         * iconv/loop.c: Likewise.
51524         * nis/rpcsvc/nis.h: Likewise.
51525         * resolv/ns_name.c: Likewise.
51526         * stdio-common/vfscanf.c: Likewise.
51527         * streams/stropts.h: Likewise.
51528         * sunrpc/rpc_thread.c: Likewise.
51529         * sysdeps/i386/strpbrk.S: Likewise.
51530         * sysdeps/ieee754/k_standard.c: Likewise.
51531         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51532         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51533         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
51534         * sysdeps/mach/hurd/profil.c: Likewise.
51535         * sysdeps/s390/dl-procinfo.h: Likewise.
51536         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
51537         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
51538         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
51539         * sysdeps/x86_64/dl-trampoline.S: Likewise.
51540         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51542 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
51544         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
51545         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
51547 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
51549         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
51550         aix specific files.
51551         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
51552         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
51553         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
51554         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
51555         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
51556         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
51557         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
51558         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
51560 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
51561             Roland McGrath  <roland@hack.frob.com>
51563         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
51564         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
51566 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51568         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
51569         __executable_start symbol instead of _start.
51571 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
51573         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
51574         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
51575         Move macros to...
51576         * sysdeps/gnu/ldsodefs.h: ... this new file.
51578         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
51579         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
51580         instead of ELFOSABI_LINUX.
51582         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
51583         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
51584         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
51585         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
51586         Likewise.
51587         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
51588         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
51589         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
51590         Likewise.
51591         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
51592         (ibm_extended_long_double): Add ieee_nan member.
51593         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
51594         (do_test): New function.
51596         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
51597         TEST_TRUNC.
51598         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
51599         functions, renamed from truncdfsf_test, trunctfsf_test,
51600         trunctfdf_test.
51601         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
51602         functions.
51603         (do_test): Run all these.
51605 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
51607         * argp/argp-help.c: Fix typos.
51608         * argp/argp-parse.c: Likewise.
51609         * debug/backtracesyms.c: Likewise.
51610         * elf/elf.h: Likewise.
51611         * malloc/malloc.c: Likewise.
51612         * nis/nis_print.c: Likewise.
51613         * resolv/res_comp.c: Likewise.
51614         * stdlib/stdlib.h: Likewise.
51615         * sunrpc/clnt_tcp.c: Likewise.
51616         * sunrpc/clnt_udp.c: Likewise.
51617         * sunrpc/clnt_unix.c: Likewise.
51618         * sysdeps/unix/bsd/ptsname.c: Likewise.
51619         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
51620         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
51621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
51622         Likewise.
51623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
51624         Likewise.
51625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
51626         Likewise.
51627         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51629 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51631         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
51632         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51634 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
51636         [BZ #15897]
51637         * dlfcn/Makefile (tests): Add bug-dl-leaf.
51638         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
51639         ($(objpfx)bug-dl-leaf): New rule.
51640         ($(objpfx)bug-dl-leaf.so): Likewise.
51641         ($(objpfx)bug-dl-leaf.out): Likewise.
51642         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
51643         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
51644         * dlfcn/bug-dl-leaf.c: New test.
51645         * dlfcn/bug-dl-leaf-lib.c: Likewise.
51646         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
51647         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
51648         (dlclose): Likewise.
51649         (dlmopen): Likewise.
51651 2013-08-27  Roland McGrath  <roland@hack.frob.com>
51653         * include/netdb.h [!_ISOMAC]:
51654         Don't include <tls.h>.
51655         (h_errno, __libc_h_errno): Move declaration and macros out of
51656         [_LIBC_REENTRANT].
51658         * include/resolv.h [_RESOLV_H_]:
51659         Don't include <tls.h>.
51660         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
51661         * resolv/res_libc.c: Don't include <tls.h>.
51662         (_res): Use __attribute__ ((nocommon)) in place of
51663         __attribute__ ((section (".bss"))).
51665         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
51666         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
51668         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
51670         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
51671         only under [SIOCGIFCONF && SIOCGIFNETMASK].
51673         * resolv/res_mkquery.c: Include <sys/time.h>.
51675         * inet/ifreq.c: Moved to ...
51676         * sysdeps/unix/ifreq.c: ... here.
51677         * inet/ifreq.c: New file, true stub version.
51679         * socket/sa_len.c: New file.
51680         * socket/Makefile (aux): Add it.
51681         * sysdeps/unix/sysv/linux/Makefile
51682         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
51683         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
51684         and #include <socket/sa_len.c>.
51685         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
51686         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
51688         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
51689         * bits/socket.h: ... here.
51691         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
51692         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
51693         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
51695 2013-08-27  Andreas Schwab  <schwab@suse.de>
51697         [BZ #15736]
51698         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
51699         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
51700         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
51701         * string/test-strcasecmp.c (test_main): Run tests in several
51702         locales.
51703         * string/test-strncasecmp.c (test_main): Likewise.
51705         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
51706         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
51707         to __strcasecmp_nonascii and __strncasecmp_nonascii.
51708         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
51709         (__strncasecmp_ssse3) [PIC]: Likewise.
51711 2013-08-26  Roland McGrath  <roland@hack.frob.com>
51713         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
51715         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
51716         instead of explicitly declaring xdecrypt.
51717         * nis/nss_nis/nis-publickey.c: Likewise.
51719 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51721         [BZ #15890]
51722         * nscd/aicache.c: Include res_hconf.h.
51723         (addhstaiX): Initialize res_hconf.
51725 2013-08-26  Andreas Schwab  <schwab@suse.de>
51727         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
51728         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
51730 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51732         * nscd/aicache.c (addhstaiX): Fix indentation.
51734 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
51736         * configure.ac: Quote $build_pt_chown test.
51737         * configure: Regenerated.
51739 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
51741         [BZ #15532]
51742         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
51743         * math/s_cexpf.c (__cexpf): Likewise.
51744         * math/s_cexpl.c (__cexpl): Likewise.
51745         * math/libm-test.inc (cexp_test_data): Correct expected return
51746         value for NaN + i0.  Add another test.
51748 2013-08-22  David S. Miller  <davem@davemloft.net>
51750         * po/ca.po: Update Catalan translation from translation project.
51751         * po/uk.po: Add Ukrainian translations from translation project.
51753 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
51755         [BZ #15797]
51756         * math/s_fdim.c (__fdim): Check for infinite arguments if result
51757         is infinite, not alongside NaN test.
51758         * math/s_fdimf.c (__fdimf): Likewise.
51759         * math/s_fdiml.c (__fdiml): Likewise.
51760         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
51761         errno is unchanged.
51763 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
51765         * argp/argp-help.c: Fix typos.
51766         * crypt/speeds.c: Likewise.
51767         * csu/check_fds.c: Likewise.
51768         * elf/dl-load.c: Likewise.
51769         * elf/dl-open.c: Likewise.
51770         * elf/reldep3.c: Likewise.
51771         * elf/reldep.c: Likewise.
51772         * elf/sprof.c: Likewise.
51773         * iconv/iconv_charmap.c: Likewise.
51774         * iconv/skeleton.c: Likewise.
51775         * iconv/strtab.c: Likewise.
51776         * io/lockf64.c: Likewise.
51777         * libio/libioP.h: Likewise.
51778         * resolv/gai_notify.c: Likewise.
51779         * resolv/ns_name.c: Likewise.
51780         * resolv/ns_samedomain.c: Likewise.
51781         * resolv/res_send.c: Likewise.
51782         * stdlib/random.c: Likewise.
51783         * sunrpc/rpc/xdr.h: Likewise.
51784         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
51785         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
51786         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
51787         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
51788         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
51789         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
51790         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
51791         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
51792         * sysdeps/mach/hurd/check_fds.c: Likewise.
51793         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
51794         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
51795         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51796         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
51797         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51798         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
51799         * sysdeps/pthread/aio_notify.c: Likewise.
51800         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
51801         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
51802         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
51803         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51804         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
51806 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51808         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
51809         version if bit_Slow_SSE4_2 is set.
51810         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51811         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51813 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51815         [BZ #15867]
51816         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
51817         trampoline stack frame information.
51818         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
51819         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
51820         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
51821         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
51822         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
51823         * sysdeps/unix/sysv/linux/powerpc/init-first.c
51824         (_libc_vdso_platform_setup): Initialize the signal trampolines.
51825         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
51826         sa_flags value.
51827         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
51828         interrupting a syscall and set with option SA_SIGINFO.
51830 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
51832         [BZ #15531]
51833         * math/s_cproj.c (__cproj): Only return an infinity if one part of
51834         argument is infinite.
51835         * math/s_cprojf.c (__cprojf): Likewise.
51836         * math/s_cprojl.c (__cprojl): Likewise.
51837         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
51838         * math/libm-test.inc (cproj_test_data): Add more tests.
51840         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
51842         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
51843         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
51844         size.  Use __ffs to determine corresponding shift.
51846 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
51847             Roland McGrath  <roland@hack.frob.com>
51849         * Makefile (INSTALL): Remove trailing blank lines from output of
51850         makeinfo.
51852 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51854         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
51855         Align 32 bit compat elf_greg to 8 bytes.
51857 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
51859         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
51861 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51863         * string/strcoll_l.c (coll_seq): New structure.
51864         (get_next_seq_cached): New function.
51865         (get_next_seq): New function.
51866         (do_compare): New function.
51867         (STRCOLL): Use GNU style definition.  Simplify implementation
51868         by using get_next_seq, get_next_seq_cached and do_compare.
51870 2013-08-16  Florian Weimer  <fweimer@redhat.com>
51872         [BZ #14699]
51873         CVE-2013-4237
51874         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
51875         member.
51876         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
51877         member.
51878         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
51879         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
51880         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
51881         conditional.
51882         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
51883         GETDENTS_64BIT_ALIGNED.
51884         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
51885         * manual/filesys.texi (Reading/Closing Directory): Document
51886         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
51887         strongly.
51888         * manual/conf.texi (Limits for Files): Add portability note to
51889         NAME_MAX, PATH_MAX.
51890         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
51892 2013-08-13  Andreas Schwab  <schwab@suse.de>
51894         [BZ #15749]
51895         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
51896         of fabs.
51897         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
51898         LDBL_MAX_EXP >= 16384]: Add tests for it.
51900 2013-08-12  David S. Miller  <davem@davemloft.net>
51902         * version.h (RELEASE): Set to "development".
51903         (VERSION): Set to "2.18.90".
51904         * NEWS: Add 2.19 section.
51906 2013-08-03  David S. Miller  <davem@davemloft.net>
51908         * po/ko.po: Update Korean translation from translation project.
51910 2013-08-01  David S. Miller  <davem@davemloft.net>
51912         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
51913         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
51914         Bilka.
51916 2013-07-30  David S. Miller  <davem@davemloft.net>
51918         * po/fr.po: Update French translation from translation project.
51920 2013-07-28  David S. Miller  <davem@davemloft.net>
51922         * po/cs.po: Update Czech translation from translation project.
51924         * po/sv.po: Update Swedish translation from translation project.
51926 2013-07-27  David S. Miller  <davem@davemloft.net>
51928         * po/eo.po: Update Esperanto translation from translation project.
51930         * po/vi.po: Update Vietnamese translation from translation project.
51932         * po/de.po: Update German translation from translation project.
51934 2013-07-26  David S. Miller  <davem@davemloft.net>
51936         * po/bg.po: Update Bulgarian translation from translation project.
51938         * po/nl.po: Update Dutch translation from translation project.
51939         * po/pl.po: Update Polish translation from translation project.
51940         * po/ru.po: Update Russian translation from translation project.
51942 2013-07-24  David S. Miller  <davem@davemloft.net>
51944         * po/libc.pot: Update.
51946 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51948         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
51949         variable page size.
51950         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
51951         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
51952         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
51954 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51956         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
51958 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51959             Andreas Schwab  <schwab@suse.de>
51960             Roland McGrath  <roland@hack.frob.com>
51961             Joseph Myers  <joseph@codesourcery.com>
51962             Carlos O'Donell  <carlos@redhat.com>
51964         [BZ #15755]
51965         * config.h.in: Define HAVE_PT_CHOWN.
51966         * config.make.in (build-pt-chown): New variable.
51967         * configure.in (--enable-pt_chown): New configure option.
51968         * configure: Regenerate.
51969         * login/Makefile: Include Makeconfig.  Build pt_chown only if
51970         build-pt-chown is enabled.
51971         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
51972         pt_chown to fix pty ownership.
51973         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
51974         CLOSE_ALL_FDS.
51975         * manual/install.texi (Configuring and compiling): Mention
51976         --enable-pt_chown. Add @findex for grantpt.
51977         * INSTALL: Regenerate.
51979 2013-07-20  David S. Miller  <davem@davemloft.net>
51981         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
51982         difference between 32-bit and 64-bit.
51984 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
51986         [BZ #15711]
51987         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
51988         Avoid system header dependency with -ffreestanding.
51989         ($(objpfx)bits/syscall%d): Likewise.
51991 2013-07-13  David S. Miller  <davem@davemloft.net>
51993         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
51994         underflows from atanl/atan2l due to bug 15319.
51995         (casinh_test_data): Likewise.
51997 2013-07-07  David S. Miller  <davem@davemloft.net>
51999         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
52001 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
52003         * sysdeps/i386/fpu/libm-test-ulps: Update.
52004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52006 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52008         * configure.in (--enable-lock-elision): Fix message text.
52009         * INSTALL: Regenerate.
52010         * configure: Regenerate.
52012 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52014         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52016 2013-07-03  Andreas Jaeger  <aj@suse.de>
52018         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
52019         define.
52020         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
52021         (ptrace_peeksiginfo_args): Add.
52022         (__ptrace_peeksiginfo_flags): Add.
52023         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52024         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52025         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52027 2013-07-03  Allan McRae  <allan@archlinux.org>
52029         * sysdeps/i386/fpu/libm-test-ulps: Update.
52031 2013-07-02  David S. Miller  <davem@davemloft.net>
52033         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52035 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
52037         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52039 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
52041         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
52042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52044 2013-07-02  Andi Kleen <ak@linux.intel.com>
52046         * config.h.in (ENABLE_LOCK_ELISION): Add.
52047         * configure.in (--enable-lock-elision): Add option.
52048         * manual/install.texi: Document --enable lock elision.
52049         * configure: Regenerate
52050         * INSTALL: Regenerate.
52052 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
52054         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
52055         SSE4.2 strcasecmp for libc.a.
52056         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
52058 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
52060         [BZ #13304]
52061         * soft-fp/op-common.h (_FP_FMA): New macro.
52062         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
52063         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
52064         (_FP_MUL_MEAT_1_imm): ... here.
52065         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
52066         (_FP_MUL_MEAT_1_wide): ... here.
52067         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
52068         (_FP_MUL_MEAT_1_hard): ... here.
52069         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
52070         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
52071         (_FP_MUL_MEAT_2_wide): ... here.
52072         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
52073         (_FP_MUL_MEAT_2_wide_3mul): ... here.
52074         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
52075         (_FP_MUL_MEAT_2_gmp): ... here.
52076         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
52077         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
52078         (_FP_MUL_MEAT_4_wide): ... here.
52079         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
52080         (_FP_MUL_MEAT_4_gmp): ... here.
52081         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
52082         (_FP_WFRACBITS_DW_S): Likewise.
52083         (_FP_WFRACXBITS_DW_S): Likewise.
52084         (_FP_HIGHBIT_DW_S): Likewise.
52085         (FP_FMA_S): Likewise.
52086         (_FP_FRAC_HIGH_DW_S): Likewise.
52087         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
52088         (_FP_WFRACBITS_DW_D): Likewise.
52089         (_FP_WFRACXBITS_DW_D): Likewise.
52090         (_FP_HIGHBIT_DW_D): Likewise.
52091         (FP_FMA_D): Likewise.
52092         (_FP_FRAC_HIGH_DW_D): Likewise.
52093         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
52094         (_FP_WFRACBITS_DW_E): Likewise.
52095         (_FP_WFRACXBITS_DW_E): Likewise.
52096         (_FP_HIGHBIT_DW_E): Likewise.
52097         (FP_FMA_E): Likewise.
52098         (_FP_FRAC_HIGH_DW_E): Likewise.
52099         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
52100         (_FP_WFRACBITS_DW_Q): Likewise.
52101         (_FP_WFRACXBITS_DW_Q): Likewise.
52102         (_FP_HIGHBIT_DW_Q): Likewise.
52103         (FP_FMA_Q): Likewise.
52104         (_FP_FRAC_HIGH_DW_Q): Likewise.
52105         * soft-fp/fmasf4.c: New file.
52106         * soft-fp/fmadf4.c: Likewise.
52107         * soft-fp/fmatf4.c: Likewise.
52109 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52111         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
52112         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
52113         Silvermont.
52114         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
52115         macro.
52116         (index_Slow_SSE4_2): Likewise.
52117         (index_Prefer_PMINUB_for_stringop): Likewise.
52118         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
52119         bit_Slow_SSE4_2 is set.
52120         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
52121         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52123 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52125         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
52126         rtld_global._dl_hwcap2.
52127         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
52128         POWER8.
52129         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
52130         POWER8 feature descriptions defined in _dl_hwcap2.
52131         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
52132         string handling for POWER8 feature bits.
52133         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
52134         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
52135         _dl_powerpc_cap_flags.
52136         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
52137         * sysdeps/powerpc/rtld-global-offsets.sym
52138         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
52139         _dl_hwcap2 in the rtld_global_ro structure.
52141 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52143         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
52144         hardware capabilities in support of AT_HWCAP2.
52145         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
52146         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
52147         GLRO(dl_hwcap2).
52148         (_dl_show_auxv): Add support for calling _dl_procinfo to display
52149         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
52150         explicitly the unknown a_type display mechanism is used.
52151         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
52152         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
52153         struct member.
52154         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
52155         to macro prototype for AT_HWCAP2 support.
52156         * sysdeps/i386/dl-procinfo.h: Likewise.
52157         * sysdeps/s390/dl-procinfo.h: Likewise.
52158         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
52159         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
52160         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
52161         return -1 for unknown a_type display fallback.
52162         * sysdeps/sparc/dl-procinfo.h: Likewise.
52163         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
52164         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
52166 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
52168         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
52169         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
52171 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
52173         [BZ #12492]
52174         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
52175         mprotect making __stack_prot writable.
52177 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
52178             Joseph Myers  <joseph@codesourcery.com>
52180         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
52181         as being properly aligned.
52183 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
52185         * dlfcn/modstatic5.c: New file.
52186         * dlfcn/tststatic5.c: New file.
52187         * dlfcn/Makefile (tests): Add tststatic5.
52188         (tests-static): Likewise.
52189         (modules-names): Add modstatic5.
52190         (tststatic5-ENV): New variable.
52191         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
52193         [BZ #15022]
52194         * elf/dl-support.c (_dl_main_map): New variable.
52195         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
52196         (_dl_nns, _dl_load_adds): Set to 1.
52197         (_dl_initial_searchlist): Refer to _dl_main_map.
52198         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
52199         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
52200         call to _dl_get_origin.
52201         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
52202         around call_map.
52203         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
52204         * dlfcn/modstatic3.c: New file.
52205         * dlfcn/tststatic3.c: New file.
52206         * dlfcn/tststatic4.c: New file.
52207         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
52208         (tests-static): Likewise.
52209         (modules-names): Add modstatic3.
52210         (tststatic3-ENV, tststatic4-ENV): New variables.
52211         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
52212         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
52214 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
52216         * configure.in (CC): Require GCC version 4.4 or later.
52217         * configure: Regenerated.
52218         * manual/install.texi (Tools for Compilation): Update GCC version
52219         requirement.
52220         * INSTALL: Regenerated.
52222 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52224         [BZ #15674]
52225         * string/test-memcmp.c (check2): New.
52226         (main): Call check2.
52228         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
52230 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
52232         [BZ #15022]
52233         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
52234         over to...
52235         (dl_open_worker) [!SHARED]: ... here.
52237 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52239         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
52241 2013-06-25  Richard Henderson  <rth@redhat.com>
52243         * locale/programs/locarchive.c: Include <libc-internal.h>
52245 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
52247         * manual/texinfo.tex: Update to version 2013-06-21.17, with
52248         trailing whitespace removed.
52250 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
52252         [BZ #10283]
52253         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
52254         * locale/programs/locarchive.c: Include libc-mmap.h.
52255         (prepare_address_space): Take two new outputs (the mmap base and len).
52256         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
52257         values.
52258         (create_archive): Declare new mmap base and len values for
52259         prepare_address_space, and store the result in ah.
52260         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
52261         (enlarge_archive): If ah->mmap_base is not NULL, use that and
52262         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
52263         Declare new mmap base and len values for
52264         prepare_address_space, and store the result in new_ah.
52265         (open_archive): Declare new mmap base and len values for
52266         prepare_address_space, and store the result in ah.
52267         (close_archive): If ah->mmap_base is not NULL, use that and
52268         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
52269         * sysdeps/generic/libc-mmap.h: New file.
52271 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
52273         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
52274         (ALIGN_UP): Likewise.
52275         (PTR_ALIGN_DOWN): Likewise.
52276         (PTR_ALIGN_UP): Likewise.
52278 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52280         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
52281         entry mapped to PPC_PLATFORM_POWER8.
52282         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
52283         POWER8.
52284         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
52285         (_dl_string_platform): Add case for exporting platform position for
52286         POWER8.
52287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
52288         search path to sysdeps/powerpc/powerpc32/power8 directory.
52289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
52290         search path to sysdeps/powerpc/powerpc64/power8 directory.
52291         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
52292         power7 directories.
52293         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
52294         power7 directories.
52296 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52298         * INSTALL: Regenerate.
52300         * nscd/connections.c (nscd_init): Fix comment.
52302 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
52304         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
52306         [BZ #15667]
52307         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
52308         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
52310 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
52312         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
52313         DL_DST_REQ_STATIC.
52314         (DL_DST_REQ_STATIC): Remove macro.
52316 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
52318         [BZ #7006]
52319         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
52320         with a shift of 0 bits.
52322 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
52324         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
52325         $(tststatic-ENV).
52327 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52329         [BZ #15655]
52330         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
52332 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52334         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
52335         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
52336         accepts -fno-tree-loop-distribute-patterns.
52337         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
52338         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
52339         recursive call.
52340         * string/memset.c (memset): Likewise.
52341         * string/test-memmove.c (simple_memmove): Disable loop transformation
52342         to library calls.
52343         * string/test-memset.c (simple_memset): Likewise.
52344         * benchtests/bench-memmove.c (simple_memmove): Likewise.
52345         * benchtests/bench-memset.c (simple_memset): Likewise.
52346         * configure: Regenerated.
52348 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
52350         * math/test-misc.c (main): Ignore fesetround failure when failures
52351         of subsequent rounding tests would be ignored.
52353         [BZ #15654]
52354         * math/fedisblxcpt.c (fedisableexcept): Return 0.
52355         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
52356         * math/fegetenv.c (__fegetenv): Return 0.
52357         * math/fegetexcept.c (fegetexcept): Return 0.
52358         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
52359         FE_TONEAREST.
52360         * math/feholdexcpt.c (feholdexcept): Return 0.
52361         * math/fesetenv.c (__fesetenv): Return 0.
52362         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
52363         argument FE_TONEAREST.
52364         * math/feupdateenv.c (__feupdateenv): Return 0.
52365         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
52367 2013-06-18  Roland McGrath  <roland@hack.frob.com>
52369         * elf/rtld-Rules (rtld-compile-command.S): New variable.
52370         (rtld-compile-command.s, rtld-compile-command.c): New variables.
52371         ($(objpfx)rtld-%.os rules): Use them.
52373 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52375         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
52376         fields.
52378 2013-06-17  Roland McGrath  <roland@hack.frob.com>
52380         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
52381         length of target pattern, then descending length of dependency pattern.
52382         * configure.in (AWK): Require gawk 3.1.2 or newer.
52383         * manual/install.texi (Tools for Compilation): Say that we do.
52384         * configure: Regenerated.
52386         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
52387         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
52388         * scripts/sysd-rules.awk: ... this new script.
52389         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
52390         than a glob-style pattern.
52392 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
52394         * math/test-misc.c (main): Do not treat incorrectly rounded
52395         conversions as failure unless ROUNDING_TESTS passes.
52397 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
52399         [BZ #15631]
52400         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
52401         restore exception state around main square root computation, then
52402         check for inexactness explicitly.
52404         * math/libm-test.inc (fma_test_data): Add another test.
52406 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52408         * manual/threads.texi (Non-POSIX Extensions): New document
52409         node.  Document pthread_getattr_default_np and
52410         pthread_setattr_default_np.
52412         * Versions.def (libpthread): Add GLIBC_2.18.
52413         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
52414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
52415         Likewise.
52416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52417         Likewise.
52418         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52419         Likewise.
52420         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52421         Likewise.
52422         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
52423         Likewise.
52424         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
52425         Likewise.
52426         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
52427         Likewise.
52428         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
52429         Likewise.
52430         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
52431         Likewise.
52433 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52435         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52436         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
52438 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52439             H.J. Lu  <hjl.tools@gmail.com>
52441         [BZ #15627]
52442         * sysdeps/x86_64/rtld-memset.c: Remove file.
52443         * sysdeps/x86_64/rtld-memset.S: New file.
52445 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
52447         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
52448         (test_in_one_mode): Take arguments for whether the rounding mode
52449         is supported for each floating-point type.
52450         (do_test): Pass new arguments to test_in_one_mode using
52451         ROUNDING_TESTS.
52453 2013-06-13  Roland McGrath  <roland@hack.frob.com>
52455         * posix/tst-waitid.c (do_test): Distinguish different instances of
52456         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
52457         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
52458         before entering the kernel for waitpid.
52460 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52462         * NEWS: Fix note on clock function precision.  Text by Roland
52463         McGrath.
52465 2013-06-13  Roland McGrath  <roland@hack.frob.com>
52467         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
52468         it into place only when and if the sanity check passes.
52470 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
52472         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
52473         output for whether conversion result is exact.  Take argument
52474         indicating whether type is IBM long double.
52475         (round_for_all): Change need_exact field to ibm_ld.
52476         * stdlib/tst-strtod-round.c (struct exactness): New type.
52477         (struct test): Change bool ld_ok field to struct exactness exact.
52478         (TEST): Update all definitions for change to field.
52479         (tests): Regenerate array contents.
52480         (test_in_one_mode): Take pointer to new field instead of old ld_ok
52481         field value.  Check for IBM long double here.
52482         (do_test): Update calls to test_in_one_mode.
52484 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52486         [BZ #12515]
52487         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
52488         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
52490 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52492         [BZ #15605]
52493         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
52494         generated by the compiler on loop optimizations.
52495         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
52496         general definitions.
52498 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
52500         * math/bug-nextafter.c: Include <math-tests.h>.
52501         (main): Only test for exceptions if EXCEPTION_TESTS is true for
52502         the relevant type.
52503         * math/bug-nexttoward.c: Include <math-tests.h>.
52504         (main): Only test for exceptions if EXCEPTION_TESTS is true for
52505         the relevant type.
52506         * math/test-misc.c: Include <math-tests.h>.
52507         (main): Only test for exceptions if EXCEPTION_TESTS is true for
52508         the relevant type.
52510 2013-06-12  Andreas Jaeger  <aj@suse.de>
52512         * po/ia.po: Update Interlingua translation from translation
52513         project.
52515 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52517         * include/fenv.h: Include stdbool.h.
52518         (struct rm_ctx): New structure.
52519         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
52520         Define macro.
52521         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
52522         (SET_RESTORE_ROUNDF): Likewise.
52523         (SET_RESTORE_ROUNDL): Likewise.
52524         (SET_RESTORE_ROUND_NOEX): Likewise.
52525         (SET_RESTORE_ROUND_NOEXF): Likewise.
52526         (SET_RESTORE_ROUND_NOEXL): Likewise.
52527         (SET_RESTORE_ROUND_53BIT): Likewise.
52528         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
52529         (libc_feresetround_noexf_ctx): Likewise.
52530         (libc_feresetround_noexl_ctx): Likewise.
52531         (libc_feholdsetround_53bit_ctx): Likewise.
52532         (libc_feresetround_53bit_ctx): Likewise.
52533         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
52534         (libc_feholdexcept_setround_sse_ctx): New function.
52535         (libc_fesetenv_sse_ctx): Likewise.
52536         (libc_feupdateenv_sse_ctx): Likewise.
52537         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
52538         (libc_feholdexcept_setround_387_ctx): Likewise.
52539         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
52540         (libc_feholdsetround_387_prec_ctx): Likewise.
52541         (libc_feholdsetround_387_ctx): Likewise.
52542         (libc_feholdsetround_387_53bit_ctx): Likewise.
52543         (libc_feholdsetround_sse_ctx): Likewise.
52544         (libc_feresetround_sse_ctx): Likewise.
52545         (libc_feresetround_387_ctx): Likewise.
52546         (libc_feupdateenv_387_ctx): Likewise.
52547         (libc_feholdexcept_setroundf_ctx): Define macro.
52548         (libc_fesetenvf_ctx): Likewise.
52549         (libc_feupdateenvf_ctx): Likewise.
52550         (libc_feholdsetroundf_ctx): Likewise.
52551         (libc_feresetroundf_ctx): Likewise.
52552         (libc_feholdexcept_setround_ctx): Likewise.
52553         (libc_fesetenv_ctx): Likewise.
52554         (libc_feupdateenv_ctx): Likewise.
52555         (libc_feholdsetround_ctx): Likewise.
52556         (libc_feresetround_ctx): Likewise.
52557         (libc_feholdexcept_setroundl_ctx): Likewise.
52558         (libc_feupdateenvl_ctx): Likewise.
52559         (libc_feholdsetroundl_ctx): Likewise.
52560         (libc_feresetroundl_ctx): Likewise.
52561         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
52562         (libc_feresetround_53bit_ctx): Likewise.
52564 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52566         * locale/iso-639.def: Convert to UTF-8.
52568 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
52570         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
52571         (EXCEPTION_TESTS_double): Likewise.
52572         (EXCEPTION_TESTS_long_double): Likewise.
52573         (EXCEPTION_TESTS): Likewise.
52574         * math/libm-test.inc (test_exceptions): Only test exceptions if
52575         EXCEPTION_TESTS (FLOAT).
52577 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52579         * benchtests/Makefile (string-bench): Add strcpy_chk and
52580         stpcpy_chk.
52581         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
52582         * benchtests/bench-stpcpy_chk.c: New file.
52583         * benchtests/bench-strcpy_chk-ifunc.c: New file.
52584         * benchtests/bench-strcpy_chk.c: New file.
52585         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
52586         code.
52587         (do_test): Likewise.
52589 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52591         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
52592         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
52593         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
52594         with tabs where appropriate.
52595         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
52596         dl-procinfo.h.
52597         [PPC_PLATFORM_PPC440]: Likewise.
52598         [PPC_PLATFORM_PPC464]: Likewise.
52599         [PPC_PLATFORM_PPC476]: Likewise.
52600         (_dl_string_platform): Add support for detecting ppc405, ppc440,
52601         ppc464, and ppc476 platform strings merging from ports/
52602         dl-procinfo.h.
52604 2013-06-11  Andreas Schwab  <schwab@suse.de>
52606         [BZ #14991]
52607         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
52608         (from_ucs4_idx): Regenerate.
52609         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
52610         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
52611         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
52612         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
52613         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
52614         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
52615         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
52616         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
52617         from FROM_LOOP and TO_LOOP specific macros.
52618         (BODY): Handle combining characters.
52619         * iconvdata/BIG5HKSCS.irreversible: Update.
52620         * iconvdata/BIG5HKSCS.precomposed: New file.
52621         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
52622         characters.
52623         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
52625 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52627         * include/sys/time.h: Fix indentation and add copyright header.
52629         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
52630         (do_test): Likewise.
52631         * string/test-memchr.c (do_one_test): Likewise.
52632         (do_test): Likewise.
52633         * string/test-memcmp.c (do_one_test): Likewise.
52634         (do_test): Likewise.
52635         * string/test-memcpy.c (do_one_test): Likewise.
52636         (do_test): Likewise.
52637         * string/test-memmem.c (do_one_test): Likewise.
52638         (do_test): Likewise.
52639         (do_random_tests): Likewise.
52640         * string/test-memmove.c (do_one_test): Likewise.
52641         (do_test): Likewise.
52642         * string/test-memset.c (do_one_test): Likewise.
52643         (do_test): Likewise.
52644         * string/test-rawmemchr.c (do_one_test): Likewise.
52645         (do_test): Likewise.
52646         * string/test-strcasecmp.c (do_one_test): Likewise.
52647         (do_test): Likewise.
52648         * string/test-strcasestr.c (do_one_test): Likewise.
52649         (do_test): Likewise.
52650         * string/test-strcat.c (do_one_test): Likewise.
52651         (do_test): Likewise.
52652         * string/test-strchr.c (do_one_test): Likewise.
52653         (do_test): Likewise.
52654         * string/test-strcmp.c (do_one_test): Likewise.
52655         (do_test): Likewise.
52656         * string/test-strcpy.c (do_one_test): Likewise.
52657         (do_test): Likewise.
52658         * string/test-string.h: Likewise.
52659         (test_init): Likewise.
52660         * string/test-strlen.c (do_one_test): Likewise.
52661         (do_test): Likewise.
52662         * string/test-strncasecmp.c (do_one_test): Likewise.
52663         (do_test): Likewise.
52664         * string/test-strncat.c (do_one_test): Likewise.
52665         (do_test): Likewise.
52666         * string/test-strncmp.c (do_one_test): Likewise.
52667         (do_test_limit): Likewise.
52668         (do_test): Likewise.
52669         * string/test-strncpy.c (do_one_test): Likewise.
52670         (do_test): Likewise.
52671         * string/test-strnlen.c (do_one_test): Likewise.
52672         (do_test): Likewise.
52673         * string/test-strpbrk.c (do_one_test): Likewise.
52674         (do_test): Likewise.
52675         * string/test-strrchr.c (do_one_test): Likewise.
52676         (do_test): Likewise.
52677         * string/test-strspn.c (do_one_test): Likewise.
52678         (do_test): Likewise.
52679         * string/test-strstr.c (do_one_test): Likewise.
52680         (do_test): Likewise.
52682         * benchtests/Makefile (string-bench): Add string benchmarks.
52683         * benchtests/bench-bcopy-ifunc.c: New file.
52684         * benchtests/bench-bcopy.c: New file.
52685         * benchtests/bench-bzero-ifunc.c: New file.
52686         * benchtests/bench-bzero.c: New file.
52687         * benchtests/bench-memccpy-ifunc.c: New file.
52688         * benchtests/bench-memccpy.c: New file.
52689         * benchtests/bench-memchr-ifunc.c: New file.
52690         * benchtests/bench-memchr.c: New file.
52691         * benchtests/bench-memcmp-ifunc.c: New file.
52692         * benchtests/bench-memcmp.c: New file.
52693         * benchtests/bench-memmem-ifunc.c: New file.
52694         * benchtests/bench-memmem.c: New file.
52695         * benchtests/bench-memmove-ifunc.c: New file.
52696         * benchtests/bench-memmove.c: New file.
52697         * benchtests/bench-mempcpy-ifunc.c: New file.
52698         * benchtests/bench-mempcpy.c: New file.
52699         * benchtests/bench-memset-ifunc.c: New file.
52700         * benchtests/bench-memset.c: New file.
52701         * benchtests/bench-rawmemchr-ifunc.c: New file.
52702         * benchtests/bench-rawmemchr.c: New file.
52703         * benchtests/bench-stpcpy-ifunc.c: New file.
52704         * benchtests/bench-stpcpy.c: New file.
52705         * benchtests/bench-stpncpy-ifunc.c: New file.
52706         * benchtests/bench-stpncpy.c: New file.
52707         * benchtests/bench-strcasecmp-ifunc.c: New file.
52708         * benchtests/bench-strcasecmp.c: New file.
52709         * benchtests/bench-strcasestr-ifunc.c: New file.
52710         * benchtests/bench-strcasestr.c: New file.
52711         * benchtests/bench-strcat-ifunc.c: New file.
52712         * benchtests/bench-strcat.c: New file.
52713         * benchtests/bench-strchr-ifunc.c: New file.
52714         * benchtests/bench-strchr.c: New file.
52715         * benchtests/bench-strchrnul-ifunc.c: New file.
52716         * benchtests/bench-strchrnul.c: New file.
52717         * benchtests/bench-strcmp-ifunc.c: New file.
52718         * benchtests/bench-strcmp.c: New file.
52719         * benchtests/bench-strcpy-ifunc.c: New file.
52720         * benchtests/bench-strcpy.c: New file.
52721         * benchtests/bench-strcspn-ifunc.c: New file.
52722         * benchtests/bench-strcspn.c: New file.
52723         * benchtests/bench-strlen-ifunc.c: New file.
52724         * benchtests/bench-strlen.c: New file.
52725         * benchtests/bench-strncasecmp-ifunc.c: New file.
52726         * benchtests/bench-strncasecmp.c: New file.
52727         * benchtests/bench-strncat-ifunc.c: New file.
52728         * benchtests/bench-strncat.c: New file.
52729         * benchtests/bench-strncmp-ifunc.c: New file.
52730         * benchtests/bench-strncmp.c: New file.
52731         * benchtests/bench-strncpy-ifunc.c: New file.
52732         * benchtests/bench-strncpy.c: New file.
52733         * benchtests/bench-strnlen-ifunc.c: New file.
52734         * benchtests/bench-strnlen.c: New file.
52735         * benchtests/bench-strpbrk-ifunc.c: New file.
52736         * benchtests/bench-strpbrk.c: New file.
52737         * benchtests/bench-strrchr-ifunc.c: New file.
52738         * benchtests/bench-strrchr.c: New file.
52739         * benchtests/bench-strspn-ifunc.c: New file.
52740         * benchtests/bench-strspn.c: New file.
52741         * benchtests/bench-strstr-ifunc.c: New file.
52742         * benchtests/bench-strstr.c: New file.
52744         * benchtests/Makefile: Disable parallel execution of targets.
52745         (string-bench): Add memcpy.
52746         (benchset): New variable to store a list of benchmark sets.
52747         (bench-func): Renamed from bench.
52748         (bench-set): New target.
52749         (bench): Depend on bench-func and bench-set.
52750         * benchtests/README: Add section on benchmark sets.
52751         * benchtests/bench-memcpy-ifunc.c: New file.
52752         * benchtests/bench-memcpy.c: New file.
52753         * benchtests/bench-string.h: New file.
52755 2013-06-11  Andreas Schwab  <schwab@suse.de>
52757         [BZ #15577]
52758         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
52759         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
52760         values in the triple.
52761         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
52762         terminator in the group key.
52764 2013-06-11  Andreas Jaeger  <aj@suse.de>
52766         * po/zh_TW.po: Update Chinese (traditional) translation from
52767         translation project.
52769 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52771         * include/time.h (__clock_gettime): Add libc_hidden_proto.
52772         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
52773         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
52774         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52775         (clock_getcpuclockid): Likewise.
52776         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
52777         Add weak_alias and libc_hidden_def.
52778         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
52779         * rt/clock_gettime.c (clock_gettime): Rename to
52780         __clock_gettime.  Add weak_alias and libc_hidden_def.
52781         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
52782         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
52783         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
52784         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
52785         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
52786         Likewise.
52787         * rt/clock_settime.c (clock_settime): Rename to
52788         __clock_settime.  Add weak_alias and libc_hidden_def.
52789         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
52791 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
52793         * mach/err_boot.sub: Remove trailing whitespace.
52794         * mach/err_ipc.sub: Likewise.
52795         * mach/err_mach.sub: Likewise.
52797         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
52798         (ROUNDING_TESTS_double): Likewise.
52799         (ROUNDING_TESTS_long_double): Likewise.
52800         (ROUNDING_TESTS): Likewise.
52801         * math/libm-test.inc: Include <math-tests.h>.
52802         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
52803         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
52804         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
52805         (IF_ROUND_INIT_FE_UPWARD): Likewise.
52807 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52809         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
52810         of assigning.
52812 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
52814         * sysdeps/gnu/errlist.awk: Do not generate space at end of
52815         otherwise empty TRANS lines.
52816         * sysdeps/gnu/errlist.c: Regenerated.
52818         * catgets/gencat.c (error_print): Use (void) in function
52819         definition.
52820         * crypt/crypt_util.c (__init_des): Likewise.
52821         * crypt/speeds.c (Stop): Likewise.
52822         (main): Likewise.
52823         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
52824         * inet/ruserpass.c (token): Likewise.
52825         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
52826         * intl/localealias.c (extend_alias_table): Likewise.
52827         * intl/plural-exp.c (init_germanic_plural): Likewise.
52828         * libio/fcloseall.c (__fcloseall): Likewise.
52829         * libio/genops.c (_IO_flush_all): Likewise.
52830         (_IO_flush_all_linebuffered): Likewise.
52831         (_IO_cleanup): Likewise.
52832         (_IO_iter_begin): Likewise.
52833         (_IO_iter_end): Likewise.
52834         (_IO_list_lock): Likewise.
52835         (_IO_list_unlock): Likewise.
52836         (_IO_list_resetlock): Likewise.
52837         * libio/getchar.c (getchar): Likewise.
52838         * libio/getchar_u.c (getchar_unlocked): Likewise.
52839         * libio/getwchar.c (getwchar): Likewise.
52840         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
52841         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
52842         * login/getpt.c (__getpt): Likewise.
52843         * login/tst-utmp.c (main): Likewise.
52844         * malloc/hooks.c (__malloc_check_init): Likewise.
52845         * malloc/malloc.c (__malloc_stats): Likewise.
52846         * malloc/mtrace.c (tr_break): Likewise.
52847         (mtrace): Likewise.
52848         (muntrace): Likewise.
52849         * misc/fstab.c (endfsent): Likewise.
52850         * misc/getclktck.c (__getclktck): Likewise.
52851         * misc/getdtsz.c (__getdtablesize): Likewise.
52852         * misc/gethostid.c (gethostid): Likewise.
52853         * misc/getpagesize.c (__getpagesize): Likewise.
52854         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
52855         (__get_nprocs): Likewise.
52856         (__get_phys_pages): Likewise.
52857         (__get_avphys_pages): Likewise.
52858         * misc/getttyent.c (getttyent): Likewise.
52859         (setttyent): Likewise.
52860         (endttyent): Likewise.
52861         * misc/getusershell.c (getusershell): Likewise.
52862         (endusershell): Likewise.
52863         (setusershell): Likewise.
52864         (initshells): Likewise.
52865         * misc/hsearch.c (__hdestroy): Likewise.
52866         * misc/sync.c (sync): Likewise.
52867         * misc/syslog.c (closelog_internal): Likewise.
52868         (closelog): Likewise.
52869         * misc/ttyslot.c (ttyslot): Likewise.
52870         * misc/vhangup.c (vhangup): Likewise.
52871         * posix/fork.c (__fork): Likewise.
52872         * posix/getegid.c (__getegid): Likewise.
52873         * posix/geteuid.c (__geteuid): Likewise.
52874         * posix/getgid.c (__getgid): Likewise.
52875         * posix/getpid.c (__getpid): Likewise.
52876         * posix/getppid.c (__getppid): Likewise.
52877         * posix/getuid.c (__getuid): Likewise.
52878         * posix/pause.c (pause): Likewise.
52879         * posix/setpgrp.c (setpgrp): Likewise.
52880         * posix/setsid.c (__setsid): Likewise.
52881         * posix/test-vfork.c (noop): Likewise.
52882         * resolv/gethnamaddr.c (_endhtent): Likewise.
52883         (_gethtent): Likewise.
52884         (ht_endhostent): Likewise.
52885         (gethostent): Likewise.
52886         (dns_service): Likewise.
52887         * stdlib/drand48.c (drand48): Likewise.
52888         * stdlib/lrand48.c (lrand48): Likewise.
52889         * stdlib/mrand48.c (mrand48): Likewise.
52890         * stdlib/rand.c (rand): Likewise.
52891         * stdlib/random.c (__random): Likewise.
52892         * stdlib/setenv.c (clearenv): Likewise.
52893         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
52894         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
52895         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
52896         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
52897         (__get_nprocs): Likewise.
52898         (__get_phys_pages): Likewise.
52899         (__get_avphys_pages): Likewise.
52900         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
52901         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
52902         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
52903         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
52904         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
52905         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
52906         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
52907         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
52908         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
52909         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
52910         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
52911         * sysdeps/mach/hurd/sync.c (sync): Likewise.
52912         * sysdeps/posix/clock.c (clock): Likewise.
52913         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
52914         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
52915         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
52916         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
52917         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
52918         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
52919         (__get_nprocs_conf): Likewise.
52920         (__get_phys_pages): Likewise.
52921         (__get_avphys_pages): Likewise.
52922         * time/clock.c (clock): Likewise.
52923         * time/tzset.c (__tzname_max): Likewise.
52925 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
52927         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
52928         (__bswap_32): Do not use "register".
52929         * crypt/crypt.c (_ufc_doit_r): Likewise.
52930         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
52931         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
52932         * gmon/gmon.c (__monstartup): Likewise.
52933         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
52934         * hurd/hurdmalloc.c (more_memory): Likewise.
52935         (malloc): Likewise.
52936         (free): Likewise.
52937         (realloc): Likewise.
52938         (malloc_fork_prepare): Likewise.
52939         (malloc_fork_parent): Likewise.
52940         (malloc_fork_child): Likewise.
52941         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
52942         (_svcauth_des): Likewise.
52943         * inet/inet_lnaof.c (inet_lnaof): Likewise.
52944         * inet/inet_net.c (inet_network): Likewise.
52945         * inet/inet_netof.c (inet_netof): Likewise.
52946         * inet/rcmd.c (__validuser2_sa): Likewise.
52947         * io/fts.c (fts_open): Likewise.
52948         (fts_load): Likewise.
52949         (fts_close): Likewise.
52950         (fts_read): Likewise.
52951         (fts_children): Likewise.
52952         (fts_build): Likewise.
52953         (fts_stat): Likewise.
52954         (fts_sort): Likewise.
52955         (fts_alloc): Likewise.
52956         (fts_lfree): Likewise.
52957         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
52958         (_IO_file_xsgetn): Likewise.
52959         (_IO_file_xsgetn_mmap): Likewise.
52960         * libio/iofopncook.c (_IO_cookie_read): Likewise.
52961         (_IO_cookie_write): Likewise.
52962         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
52963         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
52964         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
52965         * malloc/obstack.c (_obstack_begin): Likewise.
52966         (_obstack_begin_1): Likewise.
52967         (_obstack_newchunk): Likewise.
52968         (_obstack_allocated_p): Likewise.
52969         (obstack_free): Likewise.
52970         (_obstack_memory_used): Likewise.
52971         * misc/getttyent.c (getttynam): Likewise.
52972         (getttyent): Likewise.
52973         (skip): Likewise.
52974         (value): Likewise.
52975         * misc/getusershell.c (initshells): Likewise.
52976         * misc/syslog.c (__vsyslog_chk): Likewise.
52977         * misc/ttyslot.c (ttyslot): Likewise.
52978         * nis/nis_hash.c (__nis_hash): Likewise.
52979         * posix/fnmatch_loop.c (FCT): Likewise.
52980         * posix/getconf.c (print_all): Likewise.
52981         (main): Likewise.
52982         * posix/getopt.c (exchange): Likewise.
52983         * posix/glob.c (globfree): Likewise.
52984         (prefix_array): Likewise.
52985         (__glob_pattern_type): Likewise.
52986         * resolv/arpa/nameser.h (NS_GET16): Likewise.
52987         (NS_GET32): Likewise.
52988         (NS_PUT16): Likewise.
52989         (NS_PUT32): Likewise.
52990         * resolv/gethnamaddr.c (getanswer): Likewise.
52991         (gethostbyname2): Likewise.
52992         (gethostbyaddr): Likewise.
52993         (_gethtent): Likewise.
52994         (_gethtbyname2): Likewise.
52995         (_gethtbyaddr): Likewise.
52996         * resolv/ns_print.c (dst_s_get_int16): Likewise.
52997         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
52998         * resolv/res_init.c (__res_vinit): Likewise.
52999         (net_mask): Likewise.
53000         * resolv/res_mkquery.c (outchar): Likewise.
53001         (PRINT): Likewise.
53002         * stdio-common/printf_fp.c (outchar): Likewise.
53003         (PRINT): Likewise.
53004         * stdio-common/printf_fphex.c (outchar): Likewise.
53005         (PRINT): Likewise.
53006         * stdio-common/printf_size.c (outchar): Likewise.
53007         (PRINT): Likewise.
53008         * stdio-common/test_rdwr.c (main): Likewise.
53009         * stdio-common/tfformat.c (matches): Likewise.
53010         * stdio-common/vfprintf.c (outchar): Likewise.
53011         (printf_unknown): Likewise.
53012         (buffered_vfprintf): Likewise.
53013         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
53014         * stdio-common/xbug.c (AppendToBuffer): Likewise.
53015         (ReadFile): Likewise.
53016         * stdlib/qsort.c (SWAP): Likewise.
53017         (_quicksort): Likewise.
53018         * stdlib/setenv.c (__add_to_environ): Likewise.
53019         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
53020         * stdlib/strtol_l.c (__strtol_l): Likewise.
53021         * stdlib/tst-strtod.c (main): Likewise.
53022         * stdlib/tst-strtol.c (main): Likewise.
53023         * stdlib/tst-strtoll.c (main): Likewise.
53024         * string/bits/string2.h (__strcmp_cc): Likewise.
53025         (__strcmp_cg): Likewise.
53026         (__strcspn_c1): Likewise.
53027         (__strcspn_c2): Likewise.
53028         (__strcspn_c3): Likewise.
53029         (__strspn_c1): Likewise.
53030         (__strspn_c2): Likewise.
53031         (__strspn_c3): Likewise.
53032         (__strsep_1c): Likewise.
53033         (__strsep_2c): Likewise.
53034         (__strsep_3c): Likewise.
53035         * string/memccpy.c (__memccpy): Likewise.
53036         * string/stpcpy.c (__stpcpy): Likewise.
53037         * string/strcmp.c (strcmp): Likewise.
53038         * string/strrchr.c (strrchr): Likewise.
53039         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
53040         Likewise.
53041         * sysdeps/mach/hurd/getcwd.c
53042         (_hurd_canonicalize_directory_name_internal): Likewise.
53043         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
53044         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
53045         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
53046         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
53047         Likewise, in both definitions.
53048         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
53049         definitions.
53050         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
53051         64] (__bswap_64): Likewise.
53052         * time/test_time.c (main): Likewise.
53053         * time/tzfile.c (__tzfile_read): Likewise.
53054         (__tzfile_compute): Likewise.
53055         * time/tzset.c (__tzset_parse_tz): Likewise.
53056         (tzset_internal): Likewise.
53057         (compute_change): Likewise.
53058         * wcsmbs/wcscat.c (__wcscat): Likewise.
53059         * wcsmbs/wcschr.c (wcschr): Likewise.
53060         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
53061         * wcsmbs/wcscspn.c (wcscspn): Likewise.
53062         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
53063         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
53064         * wcsmbs/wcsspn.c (wcsspn): Likewise.
53065         * wcsmbs/wcsstr.c (wcsstr): Likewise.
53066         * wcsmbs/wmemchr.c (wmemchr): Likewise.
53067         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
53068         * wcsmbs/wmemset.c (wmemset): Likewise.
53070 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
53072         * scripts/config.guess: Update to version 2013-05-16.
53073         * scripts/config.sub: Update to version 2013-04-24.
53074         * scripts/install-sh: Update to version 2011-11-20.07.
53075         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
53076         * scripts/move-if-change: Update to version 2012-01-06 07:23.
53078 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
53080         * debug/fgetws_u_chk.c: Fix leading whitespaces.
53081         * elf/sln.c: Likewise.
53082         * hurd/hurd/ioctl.h: Likewise.
53083         * hurd/hurdmalloc.c: Likewise.
53084         * hurd/xattr.c: Likewise.
53085         * include/shlib-compat.h: Likewise.
53086         * inet/ruserpass.c: Likewise.
53087         * libio/iofgets_u.c: Likewise.
53088         * libio/iofgetws_u.c: Likewise.
53089         * locale/programs/ld-identification.c: Likewise.
53090         * locale/programs/ld-time.c: Likewise.
53091         * mach/msg-destroy.c: Likewise.
53092         * nss/nss_files/files-netgrp.c: Likewise.
53093         * resolv/res_data.c: Likewise.
53094         * soft-fp/op-1.h: Likewise.
53095         * soft-fp/op-2.h: Likewise.
53096         * soft-fp/op-4.h: Likewise.
53097         * soft-fp/op-common.h: Likewise.
53098         * stdio-common/printf_fphex.c: Likewise.
53099         * stdlib/strtod_l.c: Likewise.
53100         * sunrpc/rpc/clnt.h: Likewise.
53101         * sysdeps/generic/framestate.c: Likewise.
53102         * sysdeps/i386/bsd-_setjmp.S: Likewise.
53103         * sysdeps/i386/bsd-setjmp.S: Likewise.
53104         * sysdeps/i386/__longjmp.S: Likewise.
53105         * sysdeps/i386/setjmp.S: Likewise.
53106         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53107         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53108         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53109         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
53110         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53111         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
53112         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53113         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53114         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53115         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
53116         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
53117         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
53118         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
53119         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
53120         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
53121         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53122         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
53123         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
53124         * sysdeps/ieee754/support.c: Likewise.
53125         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53126         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
53127         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
53128         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
53129         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
53130         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
53131         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
53132         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
53133         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
53134         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
53135         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
53136         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
53137         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
53138         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
53139         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
53140         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
53141         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
53142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
53144 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
53146         * posix/transbug.c: Remove executable mode.
53148 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
53150         * crypt/speeds.c: Remove trailing whitespace.
53151         * dlfcn/default.c: Likewise.
53152         * elf/ifuncdep2.c: Likewise.
53153         * elf/ifuncmain1.c: Likewise.
53154         * elf/ifuncmain1vis.c: Likewise.
53155         * elf/testobj.h: Likewise.
53156         * elf/tst-stackguard1.c: Likewise.
53157         * gmon/sys/gmon.h: Likewise.
53158         * hurd/hurdmsg.c: Likewise.
53159         * hurd/new-fd.c: Likewise.
53160         * hurd/ports-get.c: Likewise.
53161         * iconvdata/ibm1008_420.c: Likewise.
53162         * inet/tst-getni1.c: Likewise.
53163         * inet/tst-getni2.c: Likewise.
53164         * libio/ioungetc.c: Likewise.
53165         * libio/wfiledoalloc.c: Likewise.
53166         * manual/libm-err-tab.pl: Likewise.
53167         * math/w_dremf.c: Likewise.
53168         * misc/ftruncate.c: Likewise.
53169         * posix/bug-glob2.c: Likewise.
53170         * posix/tst-pcre.c: Likewise.
53171         * posix/wait4.c: Likewise.
53172         * resolv/README: Likewise.
53173         * resolv/res_debug.h: Likewise.
53174         * resolv/tst-inet_ntop.c: Likewise.
53175         * setjmp/bug269-setjmp.c: Likewise.
53176         * soft-fp/extended.h: Likewise.
53177         * soft-fp/op-1.h: Likewise.
53178         * soft-fp/op-2.h: Likewise.
53179         * soft-fp/op-4.h: Likewise.
53180         * soft-fp/op-8.h: Likewise.
53181         * soft-fp/testit.c: Likewise.
53182         * stdio-common/bug16.c: Likewise.
53183         * stdlib/random.c: Likewise.
53184         * sunrpc/rpcsvc/rquota.x: Likewise.
53185         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
53186         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53187         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53188         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53189         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53190         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53191         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53192         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53193         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53194         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53195         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53196         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
53197         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53198         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
53199         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53200         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
53201         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
53202         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53203         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
53204         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53205         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53206         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53207         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
53208         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
53209         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
53210         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
53211         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
53212         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
53213         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53214         * sysdeps/ieee754/s_lib_version.c: Likewise.
53215         * sysdeps/mach/hurd/check_fds.c: Likewise.
53216         * sysdeps/mach/hurd/getsockname.c: Likewise.
53217         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
53218         * sysdeps/mach/hurd/recvfrom.c: Likewise.
53219         * sysdeps/powerpc/bits/link.h: Likewise.
53220         * sysdeps/powerpc/dl-procinfo.c: Likewise.
53221         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
53222         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
53223         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
53224         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
53225         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
53226         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
53227         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
53228         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
53229         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
53230         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
53231         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
53232         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
53233         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
53234         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
53235         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
53236         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
53237         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
53238         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
53239         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53240         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53241         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
53242         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53243         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
53244         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
53245         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
53246         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
53247         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53248         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53249         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
53250         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
53251         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
53252         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53253         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53254         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
53255         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
53256         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
53257         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
53258         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
53259         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
53260         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
53261         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
53262         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
53263         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
53264         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
53265         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
53266         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
53267         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
53268         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
53269         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
53270         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53271         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53272         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
53273         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
53274         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
53275         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
53276         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
53277         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53278         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
53279         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
53280         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
53281         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
53282         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
53283         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
53284         * sysdeps/powerpc/sysdep.h: Likewise.
53285         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
53286         * sysdeps/s390/s390-64/sub_n.S: Likewise.
53287         * sysdeps/sh/dl-trampoline.S: Likewise.
53288         * sysdeps/sh/memset.S: Likewise.
53289         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
53290         * sysdeps/sh/strlen.S: Likewise.
53291         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
53292         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
53293         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
53294         * sysdeps/sparc/sparc32/rem.S: Likewise.
53295         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
53296         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
53297         * sysdeps/sparc/sparc32/strchr.S: Likewise.
53298         * sysdeps/sparc/sparc32/udiv.S: Likewise.
53299         * sysdeps/sparc/sparc32/urem.S: Likewise.
53300         * sysdeps/sparc/sparc64/add_n.S: Likewise.
53301         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
53302         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
53303         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
53304         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
53305         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
53306         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
53307         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
53308         * sysdeps/unix/bsd/times.c: Likewise.
53309         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
53310         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
53311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
53312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
53313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
53314         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
53315         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
53316         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
53317         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
53318         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
53319         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
53320         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
53321         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
53322         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53323         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
53324         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
53325         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
53326         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
53327         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
53328         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
53329         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
53330         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
53331         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53332         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
53333         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
53334         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
53335         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
53336         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53337         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
53338         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
53339         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
53340         * sysdeps/x86_64/strcspn.S: Likewise.
53342 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53344         * locale/C-translit.h: Revert #include <stdint.h> because this is a
53345         generated file.  Regenerate properly from gen-translit.pl.
53346         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
53347         locale/C-translit.h.
53349 2013-06-05  Andreas Schwab  <schwab@suse.de>
53351         [BZ #15100]
53352         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
53353         week as 6 instead of -1.
53354         * time/tst-strptime.c (day_tests): Add test case.
53356 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53358         * sysdeps/generic/math_private.h
53359         (libc_feholdexcept_setround_53bit): Replace with
53360         libc_feholdsetround_53bit.
53361         (libc_feupdateenv_53bit): Replace with
53362         libc_feresetround_53bit.
53363         (SET_RESTORE_ROUND_53BIT): Adjust.
53365 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53367         * string/test-strchrnul.c: Add copyright header.
53369         * posix/tst-getaddrinfo4.c: Increase test timeout.
53371 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
53373         [BZ #15536]
53374         * math/libm-test.inc (MAX_EXP): Remove
53375         (MIN_EXP): Define.
53376         (ulp): Use MIN_EXP - MANT_DIG.
53377         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
53379 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
53381         * po/be.po: Revert last change.
53382         * po/zh_CN.po: Likewise.
53383         * po/header.pot: Likewise.
53385 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
53387         * Makefile ($(common-objpfx)linkobj/libc.so): Define
53388         link-libc-deps to empty as target-specific variable.
53389         * Makerules (link-libc-args): New variable.
53390         (libc-for-link): Likewise.
53391         (link-libc-deps): Likewise.
53392         (lib%.so): Depend on $(link-libc-deps).  Link with
53393         $(link-libc-args).
53394         (build-module): Link with $(link-libc-args).
53395         (build-module-asneeded): Likewise.
53396         (build-module-helper-objlist): Filter out $(link-libc-deps) from
53397         list of objects.
53398         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
53399         target-specific variable.
53400         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
53401         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
53402         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
53403         libc.
53404         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
53405         libc and ld.so.
53406         ($(objpfx)libpcprofile.so): Likewise.
53407         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
53408         libc_nonshared.a.
53409         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
53410         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
53411         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
53412         $(link-libc-deps).
53413         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
53414         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
53415         * login/Makefile ($(objpfx)libutil.so): Likewise.
53416         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
53417         * math/Makefile ($(objpfx)libm.so): Likewise.
53418         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
53419         $(objpfx)libnsl.so): Define libc-for-link as target-specific
53420         variable instead of depending directly on libc.
53421         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
53422         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
53423         $(link-libc-deps).
53424         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
53425         libc.
53426         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
53427         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
53428         ($(objpfx)libanl.so): Likewise.
53429         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
53430         ld.so.
53431         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
53432         $(link-libc-deps).
53433         * sysdeps/i386/fpu/Makefile: Remove file.
53434         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
53435         ($(objpfx)libm.so): Remove dependency on ld.so.
53437 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
53439         [BZ # 15553]
53440         * nis/yp_xdr.c (XDRMAXNAME): Define.
53441         (XDRMAXRECORD): Define.
53442         (xdr_domainname): Use XDRMAXNAME.
53443         (xdr_mapname): Likewise.
53444         (xdr_peername): Likewise.
53445         (xdr_keydat): Use XDRMAXRECORD.
53446         (xdr_valdat): Likewise.
53448 2013-05-30  Jeff Law  <law@redhat.com>
53450         [BZ #14256]
53451         * manual/errno.texi (ESTALE): Update to account for more than
53452         just NFS file systems.
53453         * sysdeps/gnu/errlist.c: Regenerated.
53455 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53457         [BZ #15465]
53458         * elf/Makefile (tests): Add tst-null-argv.
53459         (modules-names):  Add tst-null-argv-lib.
53460         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
53461         (tst-null-argv-ENV): Set environment for tst-null-argv.
53462         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
53463         (RTLD_PROGNAME): New macro.
53464         * elf/tst-null-argv.c: New test case.
53465         * elf/tst-null-argv-lib.c: Library for test case.
53466         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
53467         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
53468         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
53469         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
53470         * elf/dl-init.c (call_init): Likewise.
53471         (_dl_init): Likewise.
53472         * elf/dl-load.c (print_search_path): Likewise.
53473         (_dl_map_object): Likewise.
53474         * elf/dl-lookup.c (do_lookup_x): Likewise.
53475         (add_dependency): Likewise.
53476         (_dl_lookup_symbol_x): Likewise.
53477         (_dl_debug_bindings): Likewise.
53478         * elf/dl-open.c (_dl_show_scope): Likewise.
53479         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
53480         * elf/dl-version.c (match_symbol): Likewise.
53481         (_dl_check_map_versions): Likewise.
53482         * elf/rtld.c (dl_main): Likewise.
53483         (print_unresolved): Use RTLD_PROGNAME.
53484         (print_missing_version): Likewise.
53485         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
53486         (elf_machine_rela): Likewise.
53487         * sysdeps/powerpc/powerpc32/dl-machine.c
53488         (__process_machine_rela): Likewise.
53489         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53490         Likewise.
53491         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
53492         Likewise.
53493         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
53494         Likewise.
53495         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53496         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
53497         Likewise.
53498         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
53499         Likewise.
53500         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53502 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
53504         * po/be.po: Add descriptive title.
53505         * po/zh_CN.po: Likewise.
53506         * po/header.pot: Likewise.
53508 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
53510         * locale/programs/locarchive.c (create_archive): Inlucde fname in
53511         error message.
53512         (enlarge_archive): Likewise.
53514 2013-05-28  Ben North  <ben@redfrontdoor.org>
53516         * manual/arith.texi (frexp): It is the magnitude of the return
53517         value which lies in [0.5, 1), not the return value itself.
53519 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53523 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
53525         * stdio-common/bug26.c (main): Correct fscanf template.
53527         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
53528         declare _dl_skip_args.
53530         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
53531         Don't declare.
53533         * manual/platform.texi: Add missing @end deftypefun.
53535 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
53537         [BZ #15529]
53538         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
53539         bit of mantissa of 2^16382.
53540         * math/libm-test.inc (hypot_test_data): Add more tests.
53542         * math/libm-test.inc: Add drem and pow10 to list of tested
53543         functions.
53544         (pow10_test): New function.
53545         (drem_test): Likewise.
53546         (drem_test_tonearest): Likewise.
53547         (drem_test_towardzero): Likewise.
53548         (drem_test_downward): Likewise.
53549         (drem_test_upward): Likewise.
53550         (main): Call the new functions.
53552         * math/libm-test.inc (finite_test_data): Remove.
53553         (finite_test): Run tests from isfinite_test_data.
53554         (gamma_test_data): Remove.
53555         (gamma_test): Run tests from lgamma_test_data.
53556         * sysdeps/i386/fpu/libm-test-ulps: Update.
53557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53559 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53561         * manual/platform.texi: Add PowerPC PPR function set documentation.
53562         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
53563         implementation.
53565 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
53567         * math/libm-test.inc (MAX_EXP): Define.
53568         (ULPDIFF): Define.
53569         (ulp): New function.
53570         (check_float_internal): Use ULPDIFF.
53571         (cpow_test): Disable failing test.
53572         (check_ulp): Test ulp() implemetnation.
53573         (main): Call check_ulp before starting tests.
53575 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
53577         * math/gen-libm-test.pl (generate_testfile): Do not handle
53578         START_DATA and END_DATA.
53579         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
53580         END_DATA.
53581         (acos_tonearest_test_data): Likewise.
53582         (acos_towardzero_test_data): Likewise.
53583         (acos_downward_test_data): Likewise.
53584         (acos_upward_test_data): Likewise.
53585         (acosh_test_data): Likewise.
53586         (asin_test_data): Likewise.
53587         (asin_tonearest_test_data): Likewise.
53588         (asin_towardzero_test_data): Likewise.
53589         (asin_downward_test_data): Likewise.
53590         (asin_upward_test_data): Likewise.
53591         (asinh_test_data): Likewise.
53592         (atan_test_data): Likewise.
53593         (atanh_test_data): Likewise.
53594         (atan2_test_data): Likewise.
53595         (cabs_test_data): Likewise.
53596         (cacos_test_data): Likewise.
53597         (cacosh_test_data): Likewise.
53598         (carg_test_data): Likewise.
53599         (casin_test_data): Likewise.
53600         (casinh_test_data): Likewise.
53601         (catan_test_data): Likewise.
53602         (catanh_test_data): Likewise.
53603         (cbrt_test_data): Likewise.
53604         (ccos_test_data): Likewise.
53605         (ccosh_test_data): Likewise.
53606         (ceil_test_data): Likewise.
53607         (cexp_test_data): Likewise.
53608         (cimag_test_data): Likewise.
53609         (clog_test_data): Likewise.
53610         (clog10_test_data): Likewise.
53611         (conj_test_data): Likewise.
53612         (copysign_test_data): Likewise.
53613         (cos_test_data): Likewise.
53614         (cos_tonearest_test_data): Likewise.
53615         (cos_towardzero_test_data): Likewise.
53616         (cos_downward_test_data): Likewise.
53617         (cos_upward_test_data): Likewise.
53618         (cosh_test_data): Likewise.
53619         (cosh_tonearest_test_data): Likewise.
53620         (cosh_towardzero_test_data): Likewise.
53621         (cosh_downward_test_data): Likewise.
53622         (cosh_upward_test_data): Likewise.
53623         (cpow_test_data): Likewise.
53624         (cproj_test_data): Likewise.
53625         (creal_test_data): Likewise.
53626         (csin_test_data): Likewise.
53627         (csinh_test_data): Likewise.
53628         (csqrt_test_data): Likewise.
53629         (ctan_test_data): Likewise.
53630         (ctan_tonearest_test_data): Likewise.
53631         (ctan_towardzero_test_data): Likewise.
53632         (ctan_downward_test_data): Likewise.
53633         (ctan_upward_test_data): Likewise.
53634         (ctanh_test_data): Likewise.
53635         (ctanh_tonearest_test_data): Likewise.
53636         (ctanh_towardzero_test_data): Likewise.
53637         (ctanh_downward_test_data): Likewise.
53638         (ctanh_upward_test_data): Likewise.
53639         (erf_test_data): Likewise.
53640         (erfc_test_data): Likewise.
53641         (exp_test_data): Likewise.
53642         (exp_tonearest_test_data): Likewise.
53643         (exp_towardzero_test_data): Likewise.
53644         (exp_downward_test_data): Likewise.
53645         (exp_upward_test_data): Likewise.
53646         (exp10_test_data): Likewise.
53647         (exp2_test_data): Likewise.
53648         (expm1_test_data): Likewise.
53649         (fabs_test_data): Likewise.
53650         (fdim_test_data): Likewise.
53651         (finite_test_data): Likewise.
53652         (floor_test_data): Likewise.
53653         (fma_test_data): Likewise.
53654         (fma_towardzero_test_data): Likewise.
53655         (fma_downward_test_data): Likewise.
53656         (fma_upward_test_data): Likewise.
53657         (fmax_test_data): Likewise.
53658         (fmin_test_data): Likewise.
53659         (fmod_test_data): Likewise.
53660         (fpclassify_test_data): Likewise.
53661         (frexp_test_data): Likewise.
53662         (gamma_test_data): Likewise.
53663         (hypot_test_data): Likewise.
53664         (ilogb_test_data): Likewise.
53665         (isfinite_test_data): Likewise.
53666         (isgreater_test_data): Likewise.
53667         (isgreaterequal_test_data): Likewise.
53668         (isinf_test_data): Likewise.
53669         (isless_test_data): Likewise.
53670         (islessequal_test_data): Likewise.
53671         (islessgreater_test_data): Likewise.
53672         (isnan_test_data): Likewise.
53673         (isnormal_test_data): Likewise.
53674         (issignaling_test_data): Likewise.
53675         (isunordered_test_data): Likewise.
53676         (j0_test_data): Likewise.
53677         (j1_test_data): Likewise.
53678         (jn_test_data): Likewise.
53679         (ldexp_test_data): Likewise.
53680         (lgamma_test_data): Likewise.
53681         (lrint_test_data): Likewise.
53682         (lrint_tonearest_test_data): Likewise.
53683         (lrint_towardzero_test_data): Likewise.
53684         (lrint_downward_test_data): Likewise.
53685         (lrint_upward_test_data): Likewise.
53686         (llrint_test_data): Likewise.
53687         (llrint_tonearest_test_data): Likewise.
53688         (llrint_towardzero_test_data): Likewise.
53689         (llrint_downward_test_data): Likewise.
53690         (llrint_upward_test_data): Likewise.
53691         (log_test_data): Likewise.
53692         (log10_test_data): Likewise.
53693         (log1p_test_data): Likewise.
53694         (log2_test_data): Likewise.
53695         (logb_test_data): Likewise.
53696         (logb_downward_test_data): Likewise.
53697         (lround_test_data): Likewise.
53698         (llround_test_data): Likewise.
53699         (modf_test_data): Likewise.
53700         (nearbyint_test_data): Likewise.
53701         (nextafter_test_data): Likewise.
53702         (nexttoward_test_data): Likewise.
53703         (pow_test_data): Likewise.
53704         (pow_tonearest_test_data): Likewise.
53705         (pow_towardzero_test_data): Likewise.
53706         (pow_downward_test_data): Likewise.
53707         (pow_upward_test_data): Likewise.
53708         (remainder_test_data): Likewise.
53709         (remainder_tonearest_test_data): Likewise.
53710         (remainder_towardzero_test_data): Likewise.
53711         (remainder_downward_test_data): Likewise.
53712         (remainder_upward_test_data): Likewise.
53713         (remquo_test_data): Likewise.
53714         (rint_test_data): Likewise.
53715         (rint_tonearest_test_data): Likewise.
53716         (rint_towardzero_test_data): Likewise.
53717         (rint_downward_test_data): Likewise.
53718         (rint_upward_test_data): Likewise.
53719         (round_test_data): Likewise.
53720         (scalb_test_data): Likewise.
53721         (scalbn_test_data): Likewise.
53722         (scalbln_test_data): Likewise.
53723         (signbit_test_data): Likewise.
53724         (sin_test_data): Likewise.
53725         (sin_tonearest_test_data): Likewise.
53726         (sin_towardzero_test_data): Likewise.
53727         (sin_downward_test_data): Likewise.
53728         (sin_upward_test_data): Likewise.
53729         (sincos_test_data): Likewise.
53730         (sinh_test_data): Likewise.
53731         (sinh_tonearest_test_data): Likewise.
53732         (sinh_towardzero_test_data): Likewise.
53733         (sinh_downward_test_data): Likewise.
53734         (sinh_upward_test_data): Likewise.
53735         (sqrt_test_data): Likewise.
53736         (tan_test_data): Likewise.
53737         (tan_tonearest_test_data): Likewise.
53738         (tan_towardzero_test_data): Likewise.
53739         (tan_downward_test_data): Likewise.
53740         (tan_upward_test_data): Likewise.
53741         (tanh_test_data): Likewise.
53742         (tgamma_test_data): Likewise.
53743         (trunc_test_data): Likewise.
53744         (y0_test_data): Likewise.
53745         (y1_test_data): Likewise.
53746         (yn_test_data): Likewise.
53747         (significand_test_data): Likewise.
53749         * math/gen-libm-test.pl (@functions): Remove variable.
53750         (generate_testfile): Don't handle START and END lines.
53751         * math/libm-test.inc (START): New macro.
53752         (END): Likewise.
53753         (END_COMPLEX): Likewise.
53754         (acos_test): Use END macro without arguments.
53755         (acos_test_tonearest): Likewise.
53756         (acos_test_towardzero): Likewise.
53757         (acos_test_downward): Likewise.
53758         (acos_test_upward): Likewise.
53759         (acosh_test): Likewise.
53760         (asin_test): Likewise.
53761         (asin_test_tonearest): Likewise.
53762         (asin_test_towardzero): Likewise.
53763         (asin_test_downward): Likewise.
53764         (asin_test_upward): Likewise.
53765         (asinh_test): Likewise.
53766         (atan_test): Likewise.
53767         (atanh_test): Likewise.
53768         (atan2_test): Likewise.
53769         (cabs_test): Likewise.
53770         (cacos_test): Use END_COMPLEX macro without arguments.
53771         (cacosh_test): Likewise.
53772         (carg_test): Use END macro without arguments.
53773         (casin_test): Use END_COMPLEX macro without arguments.
53774         (casinh_test): Likewise.
53775         (catan_test): Likewise.
53776         (catanh_test): Likewise.
53777         (cbrt_test): Use END macro without arguments.
53778         (ccos_test): Use END_COMPLEX macro without arguments.
53779         (ccosh_test): Likewise.
53780         (ceil_test): Use END macro without arguments.
53781         (cexp_test): Use END_COMPLEX macro without arguments.
53782         (cimag_test): Use END macro without arguments.
53783         (clog_test): Use END_COMPLEX macro without arguments.
53784         (clog10_test): Likewise.
53785         (conj_test): Likewise.
53786         (copysign_test): Use END macro without arguments.
53787         (cos_test): Likewise.
53788         (cos_test_tonearest): Likewise.
53789         (cos_test_towardzero): Likewise.
53790         (cos_test_downward): Likewise.
53791         (cos_test_upward): Likewise.
53792         (cosh_test): Likewise.
53793         (cosh_test_tonearest): Likewise.
53794         (cosh_test_towardzero): Likewise.
53795         (cosh_test_downward): Likewise.
53796         (cosh_test_upward): Likewise.
53797         (cpow_test): Use END_COMPLEX macro without arguments.
53798         (cproj_test): Likewise.
53799         (creal_test): Use END macro without arguments.
53800         (csin_test): Use END_COMPLEX macro without arguments.
53801         (csinh_test): Likewise.
53802         (csqrt_test): Likewise.
53803         (ctan_test): Likewise.
53804         (ctan_test_tonearest): Likewise.
53805         (ctan_test_towardzero): Likewise.
53806         (ctan_test_downward): Likewise.
53807         (ctan_test_upward): Likewise.
53808         (ctanh_test): Likewise.
53809         (ctanh_test_tonearest): Likewise.
53810         (ctanh_test_towardzero): Likewise.
53811         (ctanh_test_downward): Likewise.
53812         (ctanh_test_upward): Likewise.
53813         (erf_test): Use END macro without arguments.
53814         (erfc_test): Likewise.
53815         (exp_test): Likewise.
53816         (exp_test_tonearest): Likewise.
53817         (exp_test_towardzero): Likewise.
53818         (exp_test_downward): Likewise.
53819         (exp_test_upward): Likewise.
53820         (exp10_test): Likewise.
53821         (exp2_test): Likewise.
53822         (expm1_test): Likewise.
53823         (fabs_test): Likewise.
53824         (fdim_test): Likewise.
53825         (finite_test): Likewise.
53826         (floor_test): Likewise.
53827         (fma_test): Likewise.
53828         (fma_test_towardzero): Likewise.
53829         (fma_test_downward): Likewise.
53830         (fma_test_upward): Likewise.
53831         (fmax_test): Likewise.
53832         (fmin_test): Likewise.
53833         (fmod_test): Likewise.
53834         (fpclassify_test): Likewise.
53835         (frexp_test): Likewise.
53836         (gamma_test): Likewise.
53837         (hypot_test): Likewise.
53838         (ilogb_test): Likewise.
53839         (isfinite_test): Likewise.
53840         (isgreater_test): Likewise.
53841         (isgreaterequal_test): Likewise.
53842         (isinf_test): Likewise.
53843         (isless_test): Likewise.
53844         (islessequal_test): Likewise.
53845         (islessgreater_test): Likewise.
53846         (isnan_test): Likewise.
53847         (isnormal_test): Likewise.
53848         (issignaling_test): Likewise.
53849         (isunordered_test): Likewise.
53850         (j0_test): Likewise.
53851         (j1_test): Likewise.
53852         (jn_test): Likewise.
53853         (ldexp_test): Likewise.
53854         (lgamma_test): Likewise.
53855         (lrint_test): Likewise.
53856         (lrint_test_tonearest): Likewise.
53857         (lrint_test_towardzero): Likewise.
53858         (lrint_test_downward): Likewise.
53859         (lrint_test_upward): Likewise.
53860         (llrint_test): Likewise.
53861         (llrint_test_tonearest): Likewise.
53862         (llrint_test_towardzero): Likewise.
53863         (llrint_test_downward): Likewise.
53864         (llrint_test_upward): Likewise.
53865         (log_test): Likewise.
53866         (log10_test): Likewise.
53867         (log1p_test): Likewise.
53868         (log2_test): Likewise.
53869         (logb_test): Likewise.
53870         (logb_test_downward): Likewise.
53871         (lround_test): Likewise.
53872         (llround_test): Likewise.
53873         (modf_test): Likewise.
53874         (nearbyint_test): Likewise.
53875         (nextafter_test): Likewise.
53876         (nexttoward_test): Likewise.
53877         (pow_test): Likewise.
53878         (pow_test_tonearest): Likewise.
53879         (pow_test_towardzero): Likewise.
53880         (pow_test_downward): Likewise.
53881         (pow_test_upward): Likewise.
53882         (remainder_test): Likewise.
53883         (remainder_test_tonearest): Likewise.
53884         (remainder_test_towardzero): Likewise.
53885         (remainder_test_downward): Likewise.
53886         (remainder_test_upward): Likewise.
53887         (remquo_test): Likewise.
53888         (rint_test): Likewise.
53889         (rint_test_tonearest): Likewise.
53890         (rint_test_towardzero): Likewise.
53891         (rint_test_downward): Likewise.
53892         (rint_test_upward): Likewise.
53893         (round_test): Likewise.
53894         (scalb_test): Likewise.
53895         (scalbn_test): Likewise.
53896         (scalbln_test): Likewise.
53897         (signbit_test): Likewise.
53898         (sin_test): Likewise.
53899         (sin_test_tonearest): Likewise.
53900         (sin_test_towardzero): Likewise.
53901         (sin_test_downward): Likewise.
53902         (sin_test_upward): Likewise.
53903         (sincos_test): Likewise.
53904         (sinh_test): Likewise.
53905         (sinh_test_tonearest): Likewise.
53906         (sinh_test_towardzero): Likewise.
53907         (sinh_test_downward): Likewise.
53908         (sinh_test_upward): Likewise.
53909         (sqrt_test): Likewise.
53910         (tan_test): Likewise.
53911         (tan_test_tonearest): Likewise.
53912         (tan_test_towardzero): Likewise.
53913         (tan_test_downward): Likewise.
53914         (tan_test_upward): Likewise.
53915         (tanh_test): Likewise.
53916         (tgamma_test): Likewise.
53917         (trunc_test): Likewise.
53918         (y0_test): Likewise.
53919         (y1_test): Likewise.
53920         (yn_test): Likewise.
53921         (significand_test): Likewise.
53923 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
53925         [BZ #15381]
53926         * libio/genops.c (_IO_no_init): Initialize wide struct info.
53928 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
53930         [BZ #14894]
53931         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
53932         __ppc_mdoio and __ppc_mdoom.
53933         * manual/platform.texi: Document new functions __ppc_yield,
53934         __ppc_mdoio and __ppc_mdoom.
53936 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
53938         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
53939         (main): Mention "tls" pseudo-hwcap is legacy.
53940         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
53942 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
53944         * math/gen-libm-test.pl (parse_args): Output only string of
53945         arguments as text for test name, not full call or descriptions of
53946         tests for extra outputs.
53947         (generate_testfile): Do not pass function name to parse_args.
53948         Generate this_func variable from START.
53949         * math/libm-test.inc (struct test_f_f_data): Rename test_name
53950         field to arg_str.
53951         (struct test_ff_f_data): Likewise.
53952         (test_ff_f_data_nexttoward): Likewise.
53953         (struct test_fi_f_data): Likewise.
53954         (struct test_fl_f_data): Likewise.
53955         (struct test_if_f_data): Likewise.
53956         (struct test_fff_f_data): Likewise.
53957         (struct test_c_f_data): Likewise.
53958         (struct test_f_f1_data): Likewise.  Remove field extra_name.
53959         (struct test_fF_f1_data): Likewise.
53960         (struct test_ffI_f1_data): Likewise.
53961         (struct test_c_c_data): Rename test_name field to arg_str.
53962         (struct test_cc_c_data): Likewise.
53963         (struct test_f_i_data): Likewise.
53964         (struct test_ff_i_data): Likewise.
53965         (struct test_f_l_data): Likewise.
53966         (struct test_f_L_data): Likewise.
53967         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
53968         and extra2_name.
53969         (COMMON_TEST_SETUP): New macro.
53970         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
53971         (COMMON_TEST_CLEANUP): Likewise.
53972         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
53973         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
53974         macros.
53975         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
53976         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
53977         macros.
53978         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
53979         (RUN_TEST_fff_f): Take argument string.  Call new setup and
53980         cleanup macros.
53981         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
53982         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
53983         macros.
53984         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
53985         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
53986         macros.
53987         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
53988         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
53989         cleanup macros.
53990         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
53991         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
53992         cleanup macros.
53993         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
53994         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
53995         cleanup macros.
53996         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
53997         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
53998         macros.
53999         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
54000         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
54001         macros.
54002         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
54003         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
54004         macros.
54005         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
54006         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
54007         cleanup macros.
54008         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
54009         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
54010         cleanup macros.
54011         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
54012         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
54013         macros.
54014         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
54015         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
54016         cleanup macros.
54017         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
54018         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
54019         macros.
54020         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
54021         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
54022         macros.
54023         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
54024         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
54025         cleanup macros.
54026         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
54028 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
54030         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
54031         to _sifields.sigfault.
54032         (si_addr_lsb): Define new macro.
54033         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
54034         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54035         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
54037 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
54039         [BZ #15441]
54040         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
54041         returns -1.
54042         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
54043         null return -1.
54044         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
54045         loading the domain.
54047 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
54049         * math/gen-libm-test.pl (parse_args): Do not include expected
54050         result in test name.
54051         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
54052         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54053         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
54054         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54055         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
54056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54058 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
54060         * benchtests/Makefile: Sort function entries.
54062         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
54063         tanh, asinh, acosh, atanh.
54064         * benchtests/acos-inputs: New file.
54065         * benchtests/acosh-inputs: New file.
54066         * benchtests/asin-inputs: New file.
54067         * benchtests/asinh-inputs: New file.
54068         * benchtests/atanh-inputs: New file.
54069         * benchtests/cosh-inputs: New file.
54070         * benchtests/log-inputs: New file.
54071         * benchtests/sinh-inputs: New file.
54072         * benchtests/tanh-inputs: New file.
54074 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
54076         [BZ #15339]
54077         * posix/tst-getaddrinfo4.c: New test.
54078         * posix/Makefile (tests): Add it.
54080 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54082         [BZ #15339]
54083         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
54084         when no services were used.
54085         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
54086         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
54088 2013-05-21  Andreas Schwab  <schwab@suse.de>
54090         [BZ #15014]
54091         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
54092         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
54093         successful.
54094         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
54095         redundant variable declarations and reallocation of buffer when
54096         parsing as IPv6 address.  Always set NSS status when called from
54097         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
54098         buffer too small.  Correct computation of needed size.
54099         * nss/Makefile (tests): Add test-digits-dots.
54100         * nss/test-digits-dots.c: New test.
54102 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54104         * benchtests/Makefile: Remove instructions for adding
54105         benchmark tests.
54106         * benchtests/README: New file to explain how to execute and
54107         enhance the benchmark tests.
54109 2013-05-21  Andreas Schwab  <schwab@suse.de>
54111         [BZ #15493]
54112         * setjmp/Makefile (tests): Add tst-sigsetjmp.
54113         * setjmp/tst-sigsetjmp.c: New test.
54115 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
54117         * sysdeps/x86_64/memset.S (memset): New implementation.
54118         (__bzero): Likewise.
54119         (__memset_tail): New function.
54121 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
54123         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
54124         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
54125         __memcpy_sse2_unaligned ifunc selection.
54126         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
54127         Add memcpy-sse2-unaligned.S.
54128         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
54129         Add: __memcpy_sse2_unaligned.
54131 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
54133         [BZ #15490]
54134         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
54135         math_force_eval before restoring floating-point envrionment.
54136         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
54137         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
54138         Likewise.
54139         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
54140         <math_private.h>.
54141         (__nearbyintl): Use math_force_eval before restoring
54142         floating-point environment.
54143         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
54145         * math/gen-libm-test.pl (special_functions): Remove.
54146         (parse_args): Don't handle TEST_extra.  Handle functions with no
54147         return value.
54148         * math/libm-test.inc (struct test_sincos_data): Replace with
54149         struct test_fFF_11_data.
54150         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
54151         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
54152         (sincos_test_data): Change element type to struct
54153         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
54154         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
54155         RUN_TEST_LOOP_sincos.
54156         * math/README.libm-test: Don't mention special handling of
54157         individual functions.
54158         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
54159         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54160         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
54161         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54162         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
54163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54165         * math/gen-libm-test.pl (get_variable): Remove function.
54166         (parse_args): Don't show pointer parameters to call in test
54167         names.  Use "extra output N" in test names for extra outputs
54168         rather than naming variables.
54170 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
54172         [BZ #15488]
54173         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
54174         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
54175         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
54176         double tests.
54177         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
54178         disable.
54179         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
54180         check_long_double.
54182         * math/gen-libm-test.pl (@tests): Remove variable.
54183         ($count): Likewise.
54184         (new_test): Remove function.
54185         (show_exceptions): New function.
54186         (special_functions): Use show_exceptions instead of new_test.
54187         (parse_args): Likewise.
54188         (generate_testfile): Pass only function name in generated call to
54189         print_max_error or print_complex_max_error.
54190         (get_ulps): Do not handle complex tests specially.
54191         (output_test): Rename to ...
54192         (get_all_ulps_for_test): ... this.  Return a string rather than
54193         printing to a file.  Require ulps to be present.
54194         (output_ulps): Generate arrays rather than #defines.
54195         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
54196         (struct ulp_data): New type.
54197         (BUILD_COMPLEX_ULP): Remove macro.
54198         (compare_ulp_data): New function.
54199         (find_ulps): Likewise.
54200         (find_test_ulps): Likewise.
54201         (find_function_ulps): Likewise.
54202         (find_complex_function_ulps): Likewise.
54203         (print_max_error): Determine allowed ulps using
54204         find_function_ulps.
54205         (print_complex_max_error): Determine allowed ulps using
54206         find_complex_function_ulps.
54207         (check_float_internal): Determine max ulps using find_test_ulps.
54208         (check_float): Do not take max_ulp parameter.  Update call to
54209         check_float_internal.
54210         (check_complex): Likewise.
54211         (check_int): Do not take max_ulp parameter.
54212         (check_long): Likewise.
54213         (check_bool): Likewise.
54214         (check_longlong): Likewise.
54215         (struct test_f_f_data): Remove max_ulp field.
54216         (struct test_ff_f_data): Likewise.
54217         (struct test_ff_f_data_nexttoward): Likewise.
54218         (struct test_fi_f_data): Likewise.
54219         (struct test_fl_f_data): Likewise.
54220         (struct test_if_f_data): Likewise.
54221         (struct test_fff_f_data): Likewise.
54222         (struct test_c_f_data): Likewise.
54223         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
54224         (struct test_fF_f1_data): Likewise.
54225         (struct test_ffI_f1_data): Likewise.
54226         (struct test_c_c_data): Remove max_ulp field.
54227         (struct test_cc_c_data): Likewise.
54228         (struct test_f_i_data): Likewise.
54229         (struct test_ff_i_data): Likewise.
54230         (struct test_f_l_data): Likewise.
54231         (struct test_f_L_data): Likewise.
54232         (struct test_sincos_data): Likewise.
54233         (RUN_TEST_f_f): Do not handle ulps.
54234         (RUN_TEST_LOOP_f_f): Likewise.
54235         (RUN_TEST_2_f): Likewise.
54236         (RUN_TEST_LOOP_2_f): Likewise.
54237         (RUN_TEST_fff_f): Likewise.
54238         (RUN_TEST_LOOP_fff_f): Likewise.
54239         (RUN_TEST_c_f): Likewise.
54240         (RUN_TEST_LOOP_c_f): Likewise.
54241         (RUN_TEST_f_f1): Likewise.
54242         (RUN_TEST_LOOP_f_f1): Likewise.
54243         (RUN_TEST_fF_f1): Likewise.
54244         (RUN_TEST_LOOP_fF_f1): Likewise.
54245         (RUN_TEST_fI_f1): Likewise.
54246         (RUN_TEST_LOOP_fI_f1): Likewise.
54247         (RUN_TEST_ffI_f1): Likewise.
54248         (RUN_TEST_LOOP_ffI_f1): Likewise.
54249         (RUN_TEST_c_c): Likewise.
54250         (RUN_TEST_LOOP_c_c): Likewise.
54251         (RUN_TEST_cc_c): Likewise.
54252         (RUN_TEST_LOOP_cc_c): Likewise.
54253         (RUN_TEST_f_i): Likewise.
54254         (RUN_TEST_LOOP_f_i): Likewise.
54255         (RUN_TEST_f_i_tg): Likewise.
54256         (RUN_TEST_LOOP_f_i_tg): Likewise.
54257         (RUN_TEST_ff_i_tg): Likewise.
54258         (RUN_TEST_LOOP_ff_i_tg): Likewise.
54259         (RUN_TEST_f_b): Likewise.
54260         (RUN_TEST_LOOP_f_b): Likewise.
54261         (RUN_TEST_f_b_tg): Likewise.
54262         (RUN_TEST_LOOP_f_b_tg): Likewise.
54263         (RUN_TEST_f_l): Likewise.
54264         (RUN_TEST_LOOP_f_l): Likewise.
54265         (RUN_TEST_f_L): Likewise.
54266         (RUN_TEST_LOOP_f_L): Likewise.
54267         (RUN_TEST_sincos): Likewise.
54268         (RUN_TEST_LOOP_sincos): Likewise.
54270 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
54272         [BZ #15480]
54273         [BZ #15485]
54274         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
54275         main case of finite arguments, set rounding mode to FE_TONEAREST
54276         and discard exceptions.
54277         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
54278         exceptions.
54279         (remainder_tonearest_test_data): New variable.
54280         (remainder_test_tonearest): New function.
54281         (remainder_towardzero_test_data): New variable.
54282         (remainder_test_towardzero): New function.
54283         (remainder_downward_test_data): New variable.
54284         (remainder_test_downward): New function.
54285         (remainder_upward_test_data): New variable.
54286         (remainder_test_upward): New function.
54287         (main): Call the new test functions.
54289         * math/libm-test.inc (struct test_f_f1_data): Remove field
54290         extra_init.
54291         (struct test_fF_f1_data): Likewise.
54292         (struct test_ffI_f1_data): Likewise.
54293         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
54294         based on value of EXTRA_EXPECTED.
54295         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
54296         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
54297         EXTRA_VAR based on value of EXTRA_EXPECTED.
54298         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
54299         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
54300         EXTRA_VAR based on value of EXTRA_EXPECTED.
54301         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
54302         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
54303         EXTRA_VAR based on value of EXTRA_EXPECTED.
54304         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
54305         * math/gen-libm-test.pl (parse_args): Don't output initializers
54306         for extra output values.
54308         * math/libm-test.inc (check_int): Expect result to be exactly
54309         equal to expected value and do not handle ulps.
54310         (check_long): Likewise.
54311         (check_longlong): Likewise.
54313         * math/libm-test.inc (ceil_test_data): Test for "inexact"
54314         exceptions.
54315         (cimag_test_data): Likewise.
54316         (conj_test_data): Likewise.
54317         (copysign_test_data): Likewise.
54318         (cproj_test_data): Likewise.
54319         (creal_test_data): Likewise.
54320         (fabs_test_data): Likewise.
54321         (fdim_test_data): Likewise.
54322         (finite_test_data): Likewise.
54323         (floor_test_data): Likewise.
54324         (fmax_test_data): Likewise.
54325         (fmin_test_data): Likewise.
54326         (fmod_test_data): Likewise.
54327         (fpclassify_test_data): Likewise.
54328         (frexp_test_data): Likewise.
54329         (ilogb_test_data): Likewise.
54330         (isfinite_test_data): Likewise.
54331         (isgreater_test_data): Likewise.
54332         (isgreaterequal_test_data): Likewise.
54333         (isinf_test_data): Likewise.
54334         (isless_test_data): Likewise.
54335         (islessequal_test_data): Likewise.
54336         (islessgreater_test_data): Likewise.
54337         (isnan_test_data): Likewise.
54338         (isnormal_test_data): Likewise.
54339         (issignaling_test_data): Likewise.
54340         (isunordered_test_data): Likewise.
54341         (ldexp_test_data): Likewise.
54342         (lrint_test_data): Likewise.
54343         (lrint_test_data) [TEST_FLOAT]: Disable one test.
54344         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
54345         (lrint_tonearest_test_data): Test for "inexact" exceptions.
54346         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
54347         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
54348         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
54349         test input.
54350         (lrint_towardzero_test_data): Test for "inexact" exceptions.
54351         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
54352         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
54353         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
54354         that test input.
54355         (lrint_downward_test_data): Test for "inexact" exceptions.
54356         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
54357         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
54358         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
54359         test input.
54360         (lrint_upward_test_data): Test for "inexact" exceptions.
54361         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
54362         test input.
54363         (llrint_test_data): Test for "inexact" exceptions.
54364         (llrint_test_data) [TEST_FLOAT]: Disable one test.
54365         (llrint_tonearest_test_data): Test for "inexact" exceptions.
54366         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
54367         (llrint_towardzero_test_data): Test for "inexact" exceptions.
54368         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
54369         (llrint_downward_test_data): Test for "inexact" exceptions.
54370         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
54371         (llrint_upward_test_data): Test for "inexact" exceptions.
54372         (logb_test_data): Likewise.
54373         (logb_downward_test_data): Likewise.
54374         (nextafter_test_data): Likewise.
54375         (nexttoward_test_data): Likewise.
54376         (remainder_test_data): Likewise.
54377         (remquo_test_data): Likewise.
54378         (scalbn_test_data): Likewise.
54379         (scalbln_test_data): Likewise.
54380         (signbit_test_data): Likewise.
54381         (sqrt_test_data): Likewise.
54382         (significand_test_data): Likewise.
54384 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
54386         [BZ #15424]
54387         * benchtests/bench-modf.c (struct args): Mark arg0 as
54388         volatile.
54389         * scripts/bench.pl: Mark members of struct args as volatile.
54391 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54393         [BZ # 15497]
54394         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
54395         negative infinity on POWER6 or lower.
54396         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
54398 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
54400         [BZ #15442]
54401         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
54402         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
54403         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
54404         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
54405         (_FP_SETQNAN): New macro.
54406         (_FP_SETQNAN_SEMIRAW): Likewise.
54407         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
54408         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
54409         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
54410         (FP_EXTEND): Use _FP_FRAC_SNANP.
54411         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
54412         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
54413         into account.
54414         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
54415         New macro.
54416         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
54417         Likewise.
54419 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
54421         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
54422         with DIVIDE_BY_ZERO_EXCEPTION.
54423         (gamma_test_data): Likewise.
54424         (lgamma_test_data): Likewise.
54425         (log_test_data): Likewise.
54426         (log10_test_data): Likewise.
54427         (log2_test_data): Likewise.
54428         (tgamma_test_data): Likewise.
54430         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
54431         (acos_test_tonearest): Likewise.
54432         (acos_test_towardzero): Likewise.
54433         (acos_test_downward): Likewise.
54434         (acos_test_upward): Likewise.
54435         (acosh_test): Likewise.
54436         (asin_test): Likewise.
54437         (asin_test_tonearest): Likewise.
54438         (asin_test_towardzero): Likewise.
54439         (asin_test_downward): Likewise.
54440         (asin_test_upward): Likewise.
54441         (asinh_test): Likewise.
54442         (atan_test): Likewise.
54443         (atanh_test): Likewise.
54444         (atan2_test): Likewise.
54445         (cabs_test): Likewise.
54446         (cacos_test): Likewise.
54447         (cacosh_test): Likewise.
54448         (casin_test): Likewise.
54449         (casinh_test): Likewise.
54450         (catan_test): Likewise.
54451         (catanh_test): Likewise.
54452         (cbrt_test): Likewise.
54453         (ccos_test): Likewise.
54454         (ccosh_test): Likewise.
54455         (cexp_test): Likewise.
54456         (clog_test): Likewise.
54457         (clog10_test): Likewise.
54458         (cos_test): Likewise.
54459         (cos_test_tonearest): Likewise.
54460         (cos_test_towardzero): Likewise.
54461         (cos_test_downward): Likewise.
54462         (cos_test_upward): Likewise.
54463         (cosh_test): Likewise.
54464         (cosh_test_tonearest): Likewise.
54465         (cosh_test_towardzero): Likewise.
54466         (cosh_test_downward): Likewise.
54467         (cosh_test_upward): Likewise.
54468         (cpow_test): Likewise.
54469         (csin_test): Likewise.
54470         (csinh_test): Likewise.
54471         (csqrt_test): Likewise.
54472         (ctan_test): Likewise.
54473         (ctan_test_tonearest): Likewise.
54474         (ctan_test_towardzero): Likewise.
54475         (ctan_test_downward): Likewise.
54476         (ctan_test_upward): Likewise.
54477         (ctanh_test): Likewise.
54478         (ctanh_test_tonearest): Likewise.
54479         (ctanh_test_towardzero): Likewise.
54480         (ctanh_test_downward): Likewise.
54481         (ctanh_test_upward): Likewise.
54482         (erf_test): Likewise.
54483         (erfc_test): Likewise.
54484         (exp_test): Likewise.
54485         (exp_test_tonearest): Likewise.
54486         (exp_test_towardzero): Likewise.
54487         (exp_test_downward): Likewise.
54488         (exp_test_upward): Likewise.
54489         (exp10_test): Likewise.
54490         (exp2_test): Likewise.
54491         (expm1_test): Likewise.
54492         (fmod_test): Likewise.
54493         (gamma_test): Likewise.
54494         (hypot_test): Likewise.
54495         (j0_test): Likewise.
54496         (j1_test): Likewise.
54497         (jn_test): Likewise.
54498         (lgamma_test): Likewise.
54499         (log_test): Likewise.
54500         (log10_test): Likewise.
54501         (log1p_test): Likewise.
54502         (log2_test): Likewise.
54503         (logb_test_downward): Likewise.
54504         (pow_test): Likewise.
54505         (pow_test_tonearest): Likewise.
54506         (pow_test_towardzero): Likewise.
54507         (pow_test_downward): Likewise.
54508         (pow_test_upward): Likewise.
54509         (remainder_test): Likewise.
54510         (remquo_test): Likewise.
54511         (sin_test): Likewise.
54512         (sin_test_tonearest): Likewise.
54513         (sin_test_towardzero): Likewise.
54514         (sin_test_downward): Likewise.
54515         (sin_test_upward): Likewise.
54516         (sincos_test): Likewise.
54517         (sinh_test): Likewise.
54518         (sinh_test_tonearest): Likewise.
54519         (sinh_test_towardzero): Likewise.
54520         (sinh_test_downward): Likewise.
54521         (sinh_test_upward): Likewise.
54522         (sqrt_test): Likewise.
54523         (tan_test): Likewise.
54524         (tan_test_tonearest): Likewise.
54525         (tan_test_towardzero): Likewise.
54526         (tan_test_downward): Likewise.
54527         (tan_test_upward): Likewise.
54528         (tanh_test): Likewise.
54529         (tgamma_test): Likewise.
54530         (y0_test): Likewise.
54531         (y1_test): Likewise.
54532         (yn_test): Likewise.
54534         * math/gen-libm-test.pl (adjust_arg): Remove function.
54535         (special_function): Remove argument $in_func.  Only handle
54536         generating output for tables of tests, not inside functions.
54537         (parse_args): Likewise.
54538         (generate_testfile): Remove variable $in_func.  Update call to
54539         parse_args.
54540         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
54541         (MINUS_ZERO_INIT): Rename macro to minus_zero.
54542         (PLUS_INFTY_INIT): Rename macro to plus_infty.
54543         (MINUS_INFTY_INIT): Rename macro to minus_infty.
54544         (QNAN_VALUE_INIT): Rename macro to qnan_value.
54545         (MAX_VALUE_INIT): Rename macro to max_value.
54546         (MIN_VALUE_INIT): Rename macro to min_value.
54547         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
54548         (plus_zero): Remove variable.
54549         (minus_zero): Likewise.
54550         (plus_infty): Likewise.
54551         (minus_infty): Likewise.
54552         (qnan_value): Likewise.
54553         (max_value): Likewise.
54554         (min_value): Likewise.
54555         (min_subnorm_value): Likewise.
54557 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54559         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
54560         uint64_t or uint32_t usage.
54561         * crypt/sha256-block.c: Likewise.
54562         * crypt/sha256-crypt.c: Likewise.
54563         * crypt/sha256.c: Likewise.
54564         * crypt/sha512-block.c: Likewise.
54565         * crypt/sha512-crypt.c: Likewise.
54566         * crypt/sha512.c: Likewise.
54567         * debug/backtrace-tst.c: Likewise.
54568         * debug/pcprofiledump.c: Likewise.
54569         * elf/cache.c: Likewise.
54570         * elf/dl-cache.c: Likewise.
54571         * elf/dl-misc.c: Likewise.
54572         * elf/dl-profile.c: Likewise.
54573         * elf/dl-support.c: Likewise.
54574         * elf/ldconfig.c: Likewise.
54575         * elf/sprof.c: Likewise.
54576         * iconv/dummy-repertoire.c: Likewise.
54577         * iconv/iconv_charmap.c: Likewise.
54578         * iconv/skeleton.c: Likewise.
54579         * iconvdata/8bit-generic.c: Likewise.
54580         * iconvdata/cp737.h: Likewise.
54581         * iconvdata/cp775.h: Likewise.
54582         * iconvdata/ibm1008.h: Likewise.
54583         * iconvdata/ibm1025.h: Likewise.
54584         * iconvdata/ibm1046.h: Likewise.
54585         * iconvdata/ibm1097.h: Likewise.
54586         * iconvdata/ibm1112.h: Likewise.
54587         * iconvdata/ibm1122.h: Likewise.
54588         * iconvdata/ibm1123.h: Likewise.
54589         * iconvdata/ibm1124.h: Likewise.
54590         * iconvdata/ibm1129.h: Likewise.
54591         * iconvdata/ibm1130.h: Likewise.
54592         * iconvdata/ibm1132.h: Likewise.
54593         * iconvdata/ibm1133.h: Likewise.
54594         * iconvdata/ibm1137.h: Likewise.
54595         * iconvdata/ibm1140.h: Likewise.
54596         * iconvdata/ibm1141.h: Likewise.
54597         * iconvdata/ibm1142.h: Likewise.
54598         * iconvdata/ibm1143.h: Likewise.
54599         * iconvdata/ibm1144.h: Likewise.
54600         * iconvdata/ibm1145.h: Likewise.
54601         * iconvdata/ibm1146.h: Likewise.
54602         * iconvdata/ibm1147.h: Likewise.
54603         * iconvdata/ibm1148.h: Likewise.
54604         * iconvdata/ibm1149.h: Likewise.
54605         * iconvdata/ibm1153.h: Likewise.
54606         * iconvdata/ibm1154.h: Likewise.
54607         * iconvdata/ibm1155.h: Likewise.
54608         * iconvdata/ibm1156.h: Likewise.
54609         * iconvdata/ibm1157.h: Likewise.
54610         * iconvdata/ibm1158.h: Likewise.
54611         * iconvdata/ibm1160.h: Likewise.
54612         * iconvdata/ibm1161.h: Likewise.
54613         * iconvdata/ibm1162.h: Likewise.
54614         * iconvdata/ibm1163.h: Likewise.
54615         * iconvdata/ibm1164.h: Likewise.
54616         * iconvdata/ibm1166.h: Likewise.
54617         * iconvdata/ibm1167.h: Likewise.
54618         * iconvdata/ibm12712.h: Likewise.
54619         * iconvdata/ibm1390.h: Likewise.
54620         * iconvdata/ibm1399.h: Likewise.
54621         * iconvdata/ibm16804.h: Likewise.
54622         * iconvdata/ibm4517.h: Likewise.
54623         * iconvdata/ibm4899.h: Likewise.
54624         * iconvdata/ibm4909.h: Likewise.
54625         * iconvdata/ibm4971.h: Likewise.
54626         * iconvdata/ibm5347.h: Likewise.
54627         * iconvdata/ibm803.h: Likewise.
54628         * iconvdata/ibm856.h: Likewise.
54629         * iconvdata/ibm901.h: Likewise.
54630         * iconvdata/ibm902.h: Likewise.
54631         * iconvdata/ibm9030.h: Likewise.
54632         * iconvdata/ibm9066.h: Likewise.
54633         * iconvdata/ibm921.h: Likewise.
54634         * iconvdata/ibm922.h: Likewise.
54635         * iconvdata/ibm9448.h: Likewise.
54636         * iconvdata/isiri-3342.h: Likewise.
54637         * iconvdata/jis0201.h: Likewise.
54638         * include/link.h: Likewise.
54639         * include/netdb.h: Likewise.
54640         * inet/check_native.c: Likewise.
54641         * inet/check_pf.c: Likewise.
54642         * inet/getipv4sourcefilter.c: Likewise.
54643         * inet/getnameinfo.c: Likewise.
54644         * inet/getsourcefilter.c: Likewise.
54645         * inet/htonl.c: Likewise.
54646         * inet/setipv4sourcefilter.c: Likewise.
54647         * inet/setsourcefilter.c: Likewise.
54648         * inet/test-inet6_opt.c: Likewise.
54649         * inet/tst-network.c: Likewise.
54650         * locale/C-collate.c: Likewise.
54651         * locale/C-ctype.c: Likewise.
54652         * locale/C-time.c: Likewise.
54653         * locale/C-translit.h: Likewise.
54654         * locale/loadarchive.c: Likewise.
54655         * locale/programs/3level.h: Likewise.
54656         * locale/programs/charmap.c: Likewise.
54657         * locale/programs/charmap.h: Likewise.
54658         * locale/programs/ld-address.c: Likewise.
54659         * locale/programs/ld-collate.c: Likewise.
54660         * locale/programs/ld-ctype.c: Likewise.
54661         * locale/programs/ld-identification.c: Likewise.
54662         * locale/programs/ld-measurement.c: Likewise.
54663         * locale/programs/ld-messages.c: Likewise.
54664         * locale/programs/ld-monetary.c: Likewise.
54665         * locale/programs/ld-name.c: Likewise.
54666         * locale/programs/ld-numeric.c: Likewise.
54667         * locale/programs/ld-paper.c: Likewise.
54668         * locale/programs/ld-telephone.c: Likewise.
54669         * locale/programs/ld-time.c: Likewise.
54670         * locale/programs/linereader.c: Likewise.
54671         * locale/programs/locale.c: Likewise.
54672         * locale/programs/locarchive.c: Likewise.
54673         * locale/programs/locfile.h: Likewise.
54674         * locale/programs/repertoire.c: Likewise.
54675         * locale/programs/simple-hash.c: Likewise.
54676         * locale/programs/simple-hash.h: Likewise.
54677         * malloc/memusage.c: Likewise.
54678         * malloc/memusagestat.c: Likewise.
54679         * nis/nis_defaults.c: Likewise.
54680         * nis/nis_hash.c: Likewise.
54681         * nis/nis_print.c: Likewise.
54682         * nis/nis_xdr.c: Likewise.
54683         * nscd/connections.c: Likewise.
54684         * nscd/hstcache.c: Likewise.
54685         * nscd/nscd_gethst_r.c: Likewise.
54686         * nscd/nscd_getserv_r.c: Likewise.
54687         * nscd/nscd_helper.c: Likewise.
54688         * nscd/servicescache.c: Likewise.
54689         * nss/makedb.c: Likewise.
54690         * nss/nss_db/db-XXX.c: Likewise.
54691         * nss/nss_db/db-initgroups.c: Likewise.
54692         * nss/nss_db/db-netgrp.c: Likewise.
54693         * nss/nss_files/files-network.c: Likewise.
54694         * nss/nss_files/files-parse.c: Likewise.
54695         * posix/bug-regex5.c: Likewise.
54696         * posix/fnmatch_loop.c: Likewise.
54697         * posix/regcomp.c: Likewise.
54698         * posix/regexec.c: Likewise.
54699         * posix/tst-rfc3484-2.c: Likewise.
54700         * posix/tst-rfc3484-3.c: Likewise.
54701         * posix/tst-rfc3484.c: Likewise.
54702         * resolv/nss_dns/dns-canon.c: Likewise.
54703         * resolv/nss_dns/dns-network.c: Likewise.
54704         * resolv/res_init.c: Likewise.
54705         * resolv/res_mkquery.c: Likewise.
54706         * resolv/tst-aton.c: Likewise.
54707         * stdlib/cxa_atexit.c: Likewise.
54708         * stdlib/cxa_finalize.c: Likewise.
54709         * stdlib/gen-fpioconst.c: Likewise.
54710         * stdlib/strtol_l.c: Likewise.
54711         * string/tst-endian.c: Likewise.
54712         * sunrpc/auth_des.c: Likewise.
54713         * sunrpc/clnt_udp.c: Likewise.
54714         * sunrpc/rtime.c: Likewise.
54715         * sunrpc/svcauth_des.c: Likewise.
54716         * sunrpc/xdr.c: Likewise.
54717         * sunrpc/xdr_intXX_t.c: Likewise.
54718         * sunrpc/xdr_rec.c: Likewise.
54719         * sysdeps/generic/ldconfig.h: Likewise.
54720         * sysdeps/generic/ldsodefs.h: Likewise.
54721         * sysdeps/generic/memusage.h: Likewise.
54722         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54723         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
54724         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
54725         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54726         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54727         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54728         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54729         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54730         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54731         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
54732         * sysdeps/posix/getaddrinfo.c: Likewise.
54733         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54734         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54735         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
54736         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54737         * sysdeps/powerpc/test-gettimebase.c: Likewise.
54738         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
54739         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
54740         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
54741         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
54742         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
54743         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54744         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54745         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
54746         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
54747         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
54748         * sysdeps/x86_64/dl-tls.h: Likewise.
54749         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
54750         * time/alt_digit.c: Likewise.
54751         * time/era.c: Likewise.
54752         * wcsmbs/tst-c16c32-1.c: Likewise.
54754 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
54756         * math/libm-test.inc (struct test_sincos_data): New type.
54757         (RUN_TEST_LOOP_sincos): New macro.
54758         (sincos_test_data): New variable.
54759         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
54761 2013-05-16  Richard Henderson  <rth@redhat.com>
54763         * math/atest-exp2.c (LIMB64): New macro.
54764         (CONSTSZ): New macro.
54765         (mp_exp1, mp_exp_m1, mp_log2): New variables.
54766         (hexdig): Move ...
54767         (print_mpn_fp): ... to function scope.
54768         (read_mpn_hex): Remove.
54769         (get_log2): Remove.
54770         (exp2_mpn): Use mp_log2.
54771         (main): Use mp_exp1.
54773 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
54775         * math/libm-test.inc: Remove comment about not testing "inexact"
54776         exceptions.
54777         (INEXACT_EXCEPTION): New macro.
54778         (NO_INEXACT_EXCEPTION): Likewise.
54779         (INVALID_EXCEPTION_OK): Update value.
54780         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54781         (OVERFLOW_EXCEPTION_OK): Likewise.
54782         (UNDERFLOW_EXCEPTION_OK): Likewise.
54783         (IGNORE_ZERO_INF_SIGN): Likewise.
54784         (ERRNO_UNCHANGED): Likewise.
54785         (ERRNO_EDOM): Likewise.
54786         (ERRNO_ERANGE): Likewise.
54787         (test_exceptions): Handle testing "inexact" exceptions.
54788         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
54789         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
54790         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
54791         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
54792         INEXACT_EXCEPTION.
54793         (rint_towardzero_test_data): Likewise.
54794         (rint_downward_test_data): Likewise.
54795         (rint_upward_test_data): Likewise.
54797         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
54798         with OVERFLOW_EXCEPTION.
54799         (exp10_test_data): Likewise.
54800         (exp2_test_data): Likewise.
54801         (expm1_test_data): Likewise.
54802         (lgamma_test_data): Likewise.
54803         (pow_test_data): Likewise.
54804         (tgamma_test_data): Likewise.
54805         (yn_test_data): Remove duplicate test of overflow.
54807         * math/libm-test.inc (struct test_cc_c_data): New type.
54808         (RUN_TEST_LOOP_cc_c): New macro.
54809         (cpow_test_data): New variable.
54810         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
54812         * math/libm-test.inc (struct test_f_L_data): New type.
54813         (RUN_TEST_LOOP_f_L): New macro.
54814         (llrint_test_data): New variable.
54815         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
54816         (llrint_tonearest_test_data): New variable.
54817         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
54818         (llrint_towardzero_test_data): New variable.
54819         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
54820         (llrint_downward_test_data): New variable.
54821         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
54822         (llrint_upward_test_data): New variable.
54823         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
54824         (llround_test_data): New variable.
54825         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
54827 2013-05-13  Peter Collingbourne  <pcc@google.com>
54829         * math/atest-exp2.c (get_log2): Remove const attribute.
54831 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
54833         * math/libm-test.inc (struct test_f_l_data): New type.
54834         (RUN_TEST_LOOP_f_l): New macro.
54835         (lrint_test_data): New variable.
54836         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
54837         (lrint_tonearest_test_data): New variable.
54838         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
54839         (lrint_towardzero_test_data): New variable.
54840         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
54841         (lrint_downward_test_data): New variable.
54842         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
54843         (lrint_upward_test_data): New variable.
54844         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
54845         (lround_test_data): New variable.
54846         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
54848 2013-05-15  Peter Collingbourne  <pcc@google.com>
54850         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
54851         (EXTRACT_WORDS64) Use where appropriate.
54852         (INSERT_WORDS64) Likewise.
54854         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
54855         constraints with x constraints.
54856         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
54858         * malloc/obstack.c (_obstack_compat): Add initializer.
54860 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
54862         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
54863         si_trapno and add si_addr_lsb to _sifields.sigfault.
54864         (si_trapno): Remove macro.
54865         (si_addr_lsb): Define new macro.
54866         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
54868 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
54870         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
54871         instead of TEST_f_l.
54872         (llrint_test_tonearest): Likewise.
54873         (llrint_test_towardzero): Likewise.
54874         (llrint_test_downward): Likewise.
54875         (llrint_test_upward): Likewise.
54876         (llround_test): Likewise.
54878         * math/libm-test.inc (struct test_f_i_data): Add comment.
54879         (RUN_TEST_LOOP_f_b): New macro.
54880         (RUN_TEST_LOOP_f_b_tg): Likewise.
54881         (finite_test_data): New variable.
54882         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
54883         (isfinite_test_data): New variable.
54884         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54885         (isinf_test_data): New variable.
54886         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54887         (isnan_test_data): New variable.
54888         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54889         (isnormal_test_data): New variable.
54890         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54891         (issignaling_test_data): New variable.
54892         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54893         (signbit_test_data): New variable.
54894         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54896         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
54897         with INVALID_EXCEPTION.
54898         (acosh_test_data): Likewise.
54899         (asin_test_data): Likewise.
54900         (atanh_test_data): Likewise.
54901         (fmod_test_data): Likewise.
54902         (log_test_data): Likewise.
54903         (log10_test_data): Likewise.
54904         (log2_test_data): Likewise.
54905         (pow_test_data): Likewise.
54906         (sqrt_test_data): Likewise.
54907         (y0_test_data): Likewise.
54908         (y1_test_data): Likewise.
54909         (yn_test_data): Likewise.
54911         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
54912         function contents.
54914         * math/libm-test.inc (struct test_ff_i_data): New type.
54915         (RUN_TEST_LOOP_ff_i_tg): New macro.
54916         (isgreater_test_data): New variable.
54917         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54918         (isgreaterequal_test_data): New variable.
54919         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54920         (isless_test_data): New variable.
54921         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54922         (islessequal_test_data): New variable.
54923         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54924         (islessgreater_test_data): New variable.
54925         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54926         (isunordered_test_data): New variable.
54927         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54929 2013-05-14  David S. Miller  <davem@davemloft.net>
54931         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54933 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
54935         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
54937         * math/libm-test.inc (struct test_fF_f1_data): Change type of
54938         extra_test to int.
54939         (struct test_f_i_data): Change type of max_ulp to int.
54941         * math/libm-test.inc (test_ffI_f1_data): New type.
54942         (RUN_TEST_LOOP_ffI_f1): New macro.
54943         (remquo_test_data): New variable.
54944         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
54946         * setjmp/tst-setjmp-fp.c: New file.
54947         * setjmp/Makefile (tests): Add tst-setjmp-fp.
54948         (link-libm): New variable.
54949         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
54951         * math/libm-test.inc (struct test_f_i_data): New type.
54952         (RUN_TEST_LOOP_f_i): New macro.
54953         (RUN_TEST_LOOP_f_i_tg): Likewise.
54954         (fpclassify_test_data): New variable.
54955         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
54956         (ilogb_test_data): New variable.
54957         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
54959         * math/libm-test.inc (scalbln_test): Correct function name in END
54960         call.
54962         * math/libm-test.inc (struct test_f_f1_data): Add comment.
54963         (RUN_TEST_LOOP_fI_f1): New macro.
54964         (frexp_test_data): New variable.
54965         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
54967         * math/libm-test.inc (struct test_fF_f1_data): New type.
54968         (RUN_TEST_LOOP_fF_f1): New macro.
54969         (modf_test_data): New variable.
54970         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
54972         * math/libm-test.inc (struct test_f_f1_data): New type.
54973         (RUN_TEST_LOOP_f_f1): New macro.
54974         (gamma_test_data): New variable.
54975         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
54976         (lgamma_test_data): New variable.
54977         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
54979 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
54981         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
54982         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
54983         (main): Comment "tls" pseudo-hwcap.
54985 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
54987         * math/libm-test.inc (struct test_fl_f_data): New type.
54988         (RUN_TEST_LOOP_fl_f): New variable.
54989         (scalbln_test_data): New variable.
54990         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
54992         * math/libm-test.inc (struct test_fi_f_data): New type.
54993         (RUN_TEST_LOOP_fi_f): New macro.
54994         (ldexp_test_data): New variable.
54995         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
54996         (scalbn_test_data): New variable.
54997         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
54999         * math/libm-test.inc (struct test_c_f_data): New type.
55000         (RUN_TEST_LOOP_c_f): New macro.
55001         (cabs_test_data): New variable.
55002         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
55003         (carg_test_data): New variable.
55004         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
55005         (cimag_test_data): New variable.
55006         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
55007         (creal_test_data): New variable.
55008         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
55010         * math/libm-test.inc (struct test_if_f_data): New type.
55011         (RUN_TEST_LOOP_if_f): New macro.
55012         (jn_test_data): New variable.
55013         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
55014         (yn_test_data): New variable.
55015         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
55017         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
55019 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55021         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
55022         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
55024 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
55026         * benchtests/Makefile (CPPFLAGS-nonlib): Add
55027         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
55028         (bench-deps): Add bench-timing.h.
55029         * benchtests-bench-skeleton.c: Include bench-timing.h.
55030         (main): Use TIMING_* macros instead of clock_gettime.
55031         * benchtests/bench-timing.h: New file.
55033         [BZ #14582]
55034         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
55035         Renamed from _LIB_VERSION.
55036         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
55038 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
55040         * math/libm-test.inc (struct test_fff_f_data): New type.
55041         (RUN_TEST_LOOP_fff_f): New macro.
55042         (fma_test_data): New variable.
55043         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
55044         (fma_towardzero_test_data): New variable.
55045         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
55046         (fma_downward_test_data): New variable.
55047         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
55048         (fma_upward_test_data): New variable.
55049         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
55051         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
55052         (struct test_c_c_data): New type.
55053         (RUN_TEST_LOOP_c_c): New macro.
55054         (cacos_test_data): New variable.
55055         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
55056         (cacosh_test_data): New variable.
55057         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
55058         (casin_test_data): New variable.
55059         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
55060         (casinh_test_data): New variable.
55061         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
55062         (catan_test_data): New variable.
55063         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
55064         (catanh_test_data): New variable.
55065         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
55066         (ccos_test_data): New variable.
55067         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
55068         (ccosh_test_data): New variable.
55069         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
55070         (cexp_test_data): New variable.
55071         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
55072         (clog_test_data): New variable.
55073         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
55074         (clog10_test_data): New variable.
55075         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
55076         (conj_test_data): New variable.
55077         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
55078         (cproj_test_data): New variable.
55079         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
55080         (csin_test_data): New variable.
55081         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
55082         (csinh_test_data): New variable.
55083         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
55084         (csqrt_test_data): New variable.
55085         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
55086         (ctan_test_data): New variable.
55087         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
55088         (ctan_tonearest_test_data): New variable.
55089         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
55090         (ctan_towardzero_test_data): New variable.
55091         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
55092         (ctan_downward_test_data): New variable.
55093         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
55094         (ctan_upward_test_data): New variable.
55095         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
55096         (ctanh_test_data): New variable.
55097         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
55098         (ctanh_tonearest_test_data): New variable.
55099         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
55100         (ctanh_towardzero_test_data): New variable.
55101         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
55102         (ctanh_downward_test_data): New variable.
55103         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
55104         (ctanh_upward_test_data): New variable.
55105         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
55106         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
55107         of BUILD_COMPLEX.
55109         * math/libm-test.inc (struct test_ff_f_data): New type.
55110         (struct test_ff_f_data_nexttoward): Likewise.
55111         (RUN_TEST_LOOP_2_f): New macro.
55112         (RUN_TEST_LOOP_ff_f): Likewise.
55113         (atan2_test_data): New variable.
55114         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
55115         (copysign_test_data): New variable.
55116         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
55117         (fdim_test_data): New variable.
55118         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
55119         (fmax_test_data): New variable.
55120         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
55121         (fmin_test_data): New variable.
55122         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
55123         (fmod_test_data): New variable.
55124         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
55125         (hypot_test_data): New variable.
55126         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
55127         (nextafter_test_data): New variable.
55128         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
55129         (nexttoward_test_data): New variable.
55130         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
55131         (pow_test_data): New variable.
55132         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
55133         (pow_tonearest_test_data): New variable.
55134         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
55135         (pow_towardzero_test_data): New variable.
55136         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
55137         (pow_downward_test_data): New variable.
55138         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
55139         (pow_upward_test_data): New variable.
55140         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
55141         (remainder_test_data): New variable.
55142         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
55143         (scalb_test_data): New variable.
55144         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
55145         * sysdeps/i386/fpu/libm-test-ulps: Update.
55147 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
55149         * math/libm-test.inc (fma_test): Use max_value instead of local
55150         variable fltmax.
55151         (nextafter_test): Likewise.
55153         * math/libm-test.inc (acos_towardzero_test_data): New variable.
55154         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55155         (acos_downward_test_data): New variable.
55156         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55157         (acos_upward_test_data): New variable.
55158         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55159         (acosh_test_data): New variable.
55160         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
55161         (asin_test_data): New variable.
55162         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
55163         (asin_tonearest_test_data): New variable.
55164         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55165         (asin_towardzero_test_data): New variable.
55166         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55167         (asin_downward_test_data): New variable.
55168         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55169         (asin_upward_test_data): New variable.
55170         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55171         (asinh_test_data): New variable.
55172         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
55173         (atan_test_data): New variable.
55174         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
55175         (atanh_test_data): New variable.
55176         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
55177         (cbrt_test_data): New variable.
55178         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
55179         (ceil_test_data): New variable.
55180         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
55181         (cos_test_data): New variable.
55182         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
55183         (cos_tonearest_test_data): New variable.
55184         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55185         (cos_towardzero_test_data): New variable.
55186         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55187         (cos_downward_test_data): New variable.
55188         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55189         (cos_upward_test_data): New variable.
55190         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55191         (cosh_test_data): New variable.
55192         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
55193         (cosh_tonearest_test_data): New variable.
55194         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55195         (cosh_towardzero_test_data): New variable.
55196         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55197         (cosh_downward_test_data): New variable.
55198         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55199         (cosh_upward_test_data): New variable.
55200         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55201         (erf_test_data): New variable.
55202         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
55203         (erfc_test_data): New variable.
55204         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
55205         (exp_test_data): New variable.
55206         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
55207         (exp_tonearest_test_data): New variable.
55208         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55209         (exp_towardzero_test_data): New variable.
55210         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55211         (exp_downward_test_data): New variable.
55212         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55213         (exp_upward_test_data): New variable.
55214         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55215         (exp10_test_data): New variable.
55216         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
55217         (exp2_test_data): New variable.
55218         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
55219         (expm1_test_data): New variable.
55220         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
55221         (fabs_test_data): New variable.
55222         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
55223         (floor_test_data): New variable.
55224         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
55225         (j0_test_data): New variable.
55226         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
55227         (j1_test_data): New variable.
55228         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
55229         (log_test_data): New variable.
55230         (log_test): Run tests with RUN_TEST_LOOP_f_f.
55231         (log10_test_data): New variable.
55232         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
55233         (log1p_test_data): New variable.
55234         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
55235         (log2_test_data): New variable.
55236         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
55237         (logb_test_data): New variable.
55238         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
55239         (logb_downward_test_data): New variable.
55240         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55241         (nearbyint_test_data): New variable.
55242         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
55243         (rint_test_data): New variable.
55244         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
55245         (rint_tonearest_test_data): New variable.
55246         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55247         (rint_towardzero_test_data): New variable.
55248         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55249         (rint_downward_test_data): New variable.
55250         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55251         (rint_upward_test_data): New variable.
55252         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55253         (round_test_data): New variable.
55254         (round_test): Run tests with RUN_TEST_LOOP_f_f.
55255         (sin_test_data): New variable.
55256         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
55257         (sin_tonearest_test_data): New variable.
55258         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55259         (sin_towardzero_test_data): New variable.
55260         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55261         (sin_downward_test_data): New variable.
55262         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55263         (sin_upward_test_data): New variable.
55264         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55265         (sinh_test_data): New variable.
55266         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
55267         (sinh_tonearest_test_data): New variable.
55268         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55269         (sinh_towardzero_test_data): New variable.
55270         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55271         (sinh_downward_test_data): New variable.
55272         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55273         (sinh_upward_test_data): New variable.
55274         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55275         (sqrt_test_data): New variable.
55276         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
55277         (tan_test_data): New variable.
55278         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
55279         (tan_tonearest_test_data): New variable.
55280         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55281         (tan_towardzero_test_data): New variable.
55282         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55283         (tan_downward_test_data): New variable.
55284         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55285         (tan_upward_test_data): New variable.
55286         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55287         (tanh_test_data): New variable.
55288         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
55289         (tgamma_test_data): New variable.
55290         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
55291         (trunc_test_data): New variable.
55292         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
55293         (y0_test_data): New variable.
55294         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
55295         (y1_test_data): New variable.
55296         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
55297         (significand_test_data): New variable.
55298         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
55300 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
55302         [BZ #12387]
55303         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
55305 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
55307         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
55309 2013-05-10  Andreas Jaeger  <aj@suse.de>
55311         [BZ #15448]
55312         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
55313         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
55315 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
55317         * math/gen-libm-test.pl (adjust_arg): New function.
55318         (special_functions): Handle generating output in both functions
55319         and arrays.
55320         (parse_args): Likewise.
55321         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
55322         $in_func argument to parse_args.
55323         * math/libm-test.inc (struct test_f_f_data): New type.
55324         (IF_ROUND_INIT_): New macro.
55325         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
55326         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
55327         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
55328         (IF_ROUND_INIT_FE_UPWARD): Likewise.
55329         (ROUND_RESTORE_): Likewise.
55330         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
55331         (ROUND_RESTORE_FE_TONEAREST): Likewise.
55332         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
55333         (ROUND_RESTORE_FE_UPWARD): Likewise.
55334         (RUN_TEST_LOOP_f_f): New macro.
55335         (acos_test_data): New variable.
55336         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
55337         (acos_tonearest_test_data): New variable.
55338         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55340 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55342         * benchtests/bench-skeleton.c (startup): Fix coding style.
55344 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
55346         [BZ #6809]
55347         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
55348         negative infinity argument.
55349         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
55350         negative infinity argument.
55351         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
55352         negative infinity argument.
55353         * math/libm-test.inc (tgamma_test): Expect errno to be set for
55354         domain errors.
55356 2013-05-10  Florian Weimer  <fweimer@redhat.com>
55358         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
55359         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
55360         * iconv/iconv_prog.c (main): Likewise.
55361         * locale/programs/charmap-dir.c (charmap_readdir)
55362         (fopen_uncompressed): Likewise.
55363         * locale/programs/locfile.c (siblings_uncached)
55364         (write_locale_data): Use lstat64 instead of lstat.
55365         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
55366         stat.
55368 2013-05-10  Andreas Jaeger  <aj@suse.de>
55370         [BZ #15395]
55371         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
55372         localization.
55373         Include <locale.h>.
55375 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
55377         * elf/dl-close.c (_dl_close_worker): Add comments.
55379 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
55381         [BZ #15359]
55382         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
55383         high part of pi/2.
55384         (__ieee754_rem_pio2l): Update comments.
55386         [BZ #15429]
55387         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
55388         high part of pi/2.
55389         (__ieee754_rem_pio2l): Update comments.
55391         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
55392         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
55394         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
55395         M_PI_4l.
55397         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
55398         (M_PI_34_LOG10El): Likewise.
55399         (M_PI2_LOG10El): Likewise.
55400         (M_PI4_LOG10El): Likewise.
55401         (M_PI_LOG10El): Likewise.
55403 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55407 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
55409         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
55410         (MINUS_ZERO_INIT): Likewise.
55411         (PLUS_INFTY_INIT): Likewise.
55412         (MINUS_INFTY_INIT): Likewise.
55413         (QNAN_VALUE_INIT): Likewise.
55414         (MAX_VALUE_INIT): Likewise.
55415         (MIN_VALUE_INIT): Likewise.
55416         (MIN_SUBNORM_VALUE_INIT): Likewise.
55417         (plus_zero): Initialize with PLUS_ZERO_INIT.
55418         (minus_zero): Initialize with MINUS_ZERO_INIT.
55419         (plus_infty): Initialize with PLUS_INFTY_INIT.
55420         (minus_infty): Initialize with MINUS_INFTY_INIT.
55421         (qnan_value): Initialize with QNAN_VALUE_INIT.
55422         (max_value): Initialize with MAX_VALUE_INIT.
55423         (min_value): Initialize with MIN_VALUE_INIT.
55424         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
55426         * math/libm-test.inc (RUN_TEST_if_f): New macro.
55427         (jn_test): Use TEST_if_f instead of TEST_ff_f.
55428         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
55429         (yn_test): Use TEST_if_f instead of TEST_ff_f.
55431         * math/libm-test.inc (RUN_TEST_f_f): New macro.
55432         (RUN_TEST_2_f): Likewise.
55433         (RUN_TEST_ff_f): Likewise.
55434         (RUN_TEST_fi_f): Likewise.
55435         (RUN_TEST_fl_f): Likewise.
55436         (RUN_TEST_fff_f): Likewise.
55437         (RUN_TEST_c_f): Likewise.
55438         (RUN_TEST_f_f1): Likewise.
55439         (RUN_TEST_fF_f1): Likewise.
55440         (RUN_TEST_fI_f1): Likewise.
55441         (RUN_TEST_ffI_f1): Likewise.
55442         (RUN_TEST_c_c): Likewise.
55443         (RUN_TEST_cc_c): Likewise.
55444         (RUN_TEST_f_i): Likewise.
55445         (RUN_TEST_f_i_tg): Likewise.
55446         (RUN_TEST_ff_i_tg): Likewise.
55447         (RUN_TEST_f_b): Likewise.
55448         (RUN_TEST_f_b_tg): Likewise.
55449         (RUN_TEST_f_l): Likewise.
55450         (RUN_TEST_f_L): Likewise.
55451         (RUN_TEST_sincos): Likewise.
55452         * math/gen-libm-test.pl (new_test): Take new argument to indicate
55453         whether to show exceptions.  Do not include ");\n" in return
55454         value.
55455         (special_functions): Output call to RUN_TEST_sincos instead of
55456         check_float calls.  Update calls to new_test.
55457         (parse_args): Output call to single RUN_TEST_* macro instead of
55458         check_* calls and other assignments.  Update calls to new_test.
55460         [BZ #2546]
55461         [BZ #2560]
55462         [BZ #5159]
55463         [BZ #15426]
55464         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
55465         input to result for tgamma overflow.
55466         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
55467         (gamma_coeff): New variable.
55468         (NCOEFF): New macro.
55469         (gamma_positive): New function.
55470         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
55471         underflow here.  Use gamma_positive instead of exp (lgamma) for
55472         other arguments.
55473         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
55474         (gamma_coeff): New variable.
55475         (NCOEFF): New macro.
55476         (gammaf_positive): New function.
55477         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
55478         underflow here.  Use gamma_positive instead of exp (lgamma) for
55479         other arguments.
55480         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
55481         (gamma_coeff): New variable.
55482         (NCOEFF): New macro.
55483         (gammal_positive): New function.
55484         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
55485         underflow here.  Use gamma_positive instead of exp (lgamma) for
55486         other arguments.
55487         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
55488         (gamma_coeff): New variable.
55489         (NCOEFF): New macro.
55490         (gammal_positive): New function.
55491         (__ieee754_gammal_r): Handle positive infinity, overflow and
55492         underflow here.  Handle NaN the same as positive infinity.  Remove
55493         check x < 0xffffffff for negative integers.  Use gamma_positive
55494         instead of exp (lgamma) for other arguments.
55495         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
55496         (gamma_coeff): New variable.
55497         (NCOEFF): New macro.
55498         (gammal_positive): New function.
55499         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
55500         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
55501         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
55502         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
55503         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
55504         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
55505         * sysdeps/generic/math_private.h (__gamma_productf): New
55506         prototype.
55507         (__gamma_product): Likewise.
55508         (__gamma_productl): Likewise.
55509         * math/Makefile (libm-calls): Add gamma_product.
55510         * math/libm-test.inc (tgamma_test): Add more tests.
55511         * sysdeps/i386/fpu/libm-test-ulps: Update.
55512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55514 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
55516         * benchtests/bench-skeleton.c (main): Preheat CPU.
55518 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
55520         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
55522 2013-05-07  Roland McGrath  <roland@hack.frob.com>
55524         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
55525         and _dl_skip_args_internal.
55527 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
55529         * manual/message.texi (Message Translation): Talk about users.
55530         Message to key mapping impacts design.
55532 2013-05-06  Roland McGrath  <roland@hack.frob.com>
55534         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
55536         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
55538         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
55539         * sysdeps/wordsize-64/glob64.c: ... here.
55541         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
55542         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
55543         New macros.
55545         * debug/getlogin_r_chk.c: Moved to ...
55546         * login/getlogin_r_chk.c: ... here.
55547         * debug/Makefile (routines): Move getlogin_r_chk to ...
55548         * login/Makefile (routines): ... here.
55549         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
55550         * login/Versions (libc: GLIBC_2.4): ... here.
55552         * io/poll.c (__poll): Renamed from poll.
55553         Add libc_hidden_def.
55554         (poll): Define as weak alias.
55556         * debug/ptsname_r_chk.c: Moved to ...
55557         * login/ptsname_r_chk.c: ... here.
55558         * debug/Makefile (routines): Move ptsname_r_chk to ...
55559         * login/Makefile (routines): ... here.
55560         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
55561         * login/Versions (libc: GLIBC_2.4): ... here.
55563         * posix/getlogin.c: Moved to ...
55564         * login/getlogin.c: ... here.
55565         * posix/getlogin_r.c: Moved to ...
55566         * login/getlogin_r.c: ... here.
55567         * posix/getlogin_r.c: Moved to ...
55568         * login/getlogin_r.c: ... here.
55569         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
55570         * login/Makefile (routines): ... here.
55571         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
55572         * login/Versions (libc: GLIBC_2.0): ... here.
55574         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
55575         (setrlimit): Define as weak alias.
55577         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
55578         Call __ names for open, ftruncate, and close.
55579         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
55580         (truncate): Define as weak alias.
55582 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
55584         * math/gen-libm-test.pl (parse_args): Initialize x before each
55585         test of frexp, modf and remquo.
55587         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
55588         test signgam value.
55590 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55592         [BZ #15418]
55593         [BZ #15419]
55594         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
55595         internal tests.
55596         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55598 2013-05-06  Roland McGrath  <roland@hack.frob.com>
55600         * elf/dl-writev.h: New file.
55601         * elf/dl-misc.c: Include it.
55602         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
55603         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
55605 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
55607         * math/libm-test.inc (noXFails): Remove variable.
55608         (noXPasses): Likewise.
55609         (BUILD_COMPLEX_INT): Remove macro.
55610         (print_screen): Remove xfail argument.
55611         (print_screen_max_error): Likewise.
55612         (update_stats): Likewise.
55613         (print_max_error): Likewise.  Update calls to other affected
55614         functions.
55615         (print_complex_max_error): Likewise.
55616         (test_single_exception): Update calls to print_screen.
55617         (test_single_errno): Likewise.
55618         (check_float_internal): Remove xfail argument.  Update calls to
55619         other affected functions.
55620         (check_float): Likewise.
55621         (check_complex): Likewise.
55622         (check_int): Likewise.
55623         (check_long): Likewise.
55624         (check_bool): Likewise.
55625         (check_longlong): Likewise.
55626         (main): Don't print noXFails and noXPasses.
55627         * math/gen-libm-test.pl (top level): Don't mention expected
55628         failure handling in comment.
55629         (new_test): Don't handle expected failures.
55630         (parse_args): Don't mention expected failure handling in comment.
55631         (generate_testfile): Don't handle expected failures.
55632         (parse_ulps): Likewise.
55633         (print_ulps_file): Likewise.
55634         (get_failure): Remove function.
55635         (output_test): Don't handle expected failures.
55636         * make/README.libm-test: Don't mention expected failure handling.
55638         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
55639         (minus_zero): Likewise.
55640         (plus_infty): Likewise.
55641         (minus_infty): Likewise.
55642         (qnan_value): Likewise.
55643         (max_value): Likewise.
55644         (min_value): Likewise.
55645         (min_subnorm_value): Likewise.
55646         (initialize): Do not initialize those variables dynamically.
55648 2013-05-03  Roland McGrath  <roland@hack.frob.com>
55650         * io/open.c (__open_2): Moved to ...
55651         * io/open_2.c: ... this new file.
55652         * io/open64.c (__open64_2): Moved to ...
55653         * io/open64_2.c: ... this new file.
55654         * io/openat.c (__openat_2): Moved to ...
55655         * io/openat_2.c: ... this new file.
55656         * io/openat64.c (__openat64_2): Moved to ...
55657         * io/openat64_2.c: ... this new file.
55658         * io/Makefile (routines): Add them.
55659         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
55660         * sysdeps/unix/sysv/linux/open_2.c: File removed.
55661         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
55662         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
55663         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
55664         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
55665         (__openat64): Add hidden_ver.
55666         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
55667         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
55669         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
55670         Separately conditionalize setting of GLRO(dl_sysinfo) so
55671         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
55672         as well, but the actual setting is only under [NEED_DL_SYSINFO].
55674 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55676         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
55677         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
55678         definition.
55679         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
55680         * sysdeps/unix/sysv/linux/powerpc/init-first.c
55681         (_libc_vdso_platform_setup): Add __vdso_time initialization.
55682         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
55683         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
55685 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
55687         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
55688         test signgam value.
55690         * math/libm-test.inc (hypot_test): Do not use
55691         IGNORE_ZERO_INF_SIGN.
55693 2013-05-03  Andreas Jaeger  <aj@suse.de>
55695         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
55696         Linux 3.9.
55697         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
55698         (PF_MAX): Adjust for VSOCK change.
55700 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55702         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55704 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
55706         [BZ #15264]
55707         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
55708         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
55709         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
55711 2013-05-02  David S. Miller  <davem@davemloft.net>
55713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55715 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
55717         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
55719 2013-05-01  Roland McGrath  <roland@hack.frob.com>
55721         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
55723 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
55725         [BZ #14952]
55726         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
55727         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
55728         Use __attribute__ ((__gnu_inline__)).
55729         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
55730         Don't use __attribute__ ((__gnu_inline__)).
55732 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
55734         [BZ #15423]
55735         * math/s_catan.c (__catan): Handle small real or imaginary part of
55736         input specially to avoid spurious underflow.
55737         * math/s_catanf.c (__catanf): Likewise.
55738         * math/s_catanh.c (__catanh): Likewise.
55739         * math/s_catanhf.c (__catanhf): Likewise.
55740         * math/s_catanhl.c (__catanhl): Likewise.
55741         * math/s_catanl.c (__catanl): Likewise.
55742         * math/libm-test.inc (catan_test): Add more tests.
55743         (catanh_test): Likewise.
55744         * sysdeps/i386/fpu/libm-test-ulps: Update.
55745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55747 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55749         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55751 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
55753         [BZ #15416]
55754         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
55755         accurately for denominator in atan2.
55756         * math/s_catanf.c (__catanf): Likewise.
55757         * math/s_catanh.c (__catanh): Likewise.
55758         * math/s_catanhf.c (__catanhf): Likewise.
55759         * math/s_catanhl.c (__catanhl): Likewise.
55760         * math/s_catanl.c (__catanl): Likewise.
55761         * math/libm-test.inc (catan_test): Add more tests.
55762         (catanh_test): Likewise.
55763         * sysdeps/i386/fpu/libm-test-ulps: Update.
55764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55766 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55768         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
55770         * benchtests/Makefile (bench): Remove slow benchmarks.
55771         * benchtests/atan-inputs: Add slow benchmark inputs.
55772         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
55773         (BENCH_FUNC): Accept variant offset.
55774         (VARIANT): Define.
55775         * benchtests/bench-skeleton.c (main): Run benchmark for each
55776         variant.
55777         * benchtests/cos-inputs: Add slow benchmark inputs.
55778         * benchtests/exp-inputs: Likewise.
55779         * benchtests/pow-inputs: Likewise.
55780         * benchtests/sin-inputs: Likewise.
55781         * benchtests/slowatan-inputs: Remove.
55782         * benchtests/slowatan.c: Remove.
55783         * benchtests/slowcos-inputs: Remove.
55784         * benchtests/slowcos.c: Remove.
55785         * benchtests/slowexp-inputs: Remove.
55786         * benchtests/slowexp.c: Remove.
55787         * benchtests/slowpow-inputs: Remove.
55788         * benchtests/slowpow.c: Remove.
55789         * benchtests/slowsin-inputs: Remove.
55790         * benchtests/slowsin.c: Remove.
55791         * benchtests/slowtan-inputs: Remove.
55792         * benchtests/slowtan.c: Remove.
55793         * benchtests/tan-inputs: Add slow benchmark inputs.
55794         * scripts/bench.pl: Parse comments and directives.
55796         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
55797         in CPPFLAGS.
55798         ($(objpfx)bench-%.c): Remove *-ITER.
55799         * benchtests/bench-modf.c: Remove definition of ITER.
55800         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
55801         (main): Loop for DURATION seconds instead of fixed number of
55802         iterations.
55803         * scripts/bench.pl: Don't expect iterations in parameters.
55805 2013-04-29  Roland McGrath  <roland@hack.frob.com>
55807         * io/fchdir.c (__fchdir): Renamed from fchdir.
55808         (fchdir): Define as weak alias.
55810 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
55812         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
55813         (ERRNO_EDOM): Likewise.
55814         (ERRNO_ERANGE): Likewise.
55815         (noErrnoTests): New variable.
55816         (init_max_error): Set errno to 0.
55817         (test_single_errno): New function.
55818         (test_errno): Likewise.
55819         (check_float_internal): Call test_errno.  Set errno to 0.
55820         (check_complex): Refer to errno tests in comment.
55821         (check_int): Call test_errno.  Set errno to 0.
55822         (check_long): Likewise.
55823         (check_bool): Likewise.
55824         (check_longlong): Likewise.
55825         (cos_test): Use ERRNO_* flags for errno tests instead of
55826         check_int.
55827         (expm1_test): Likewise.
55828         (fmod_test): Likewise.
55829         (ilogb_test): Likewise.
55830         (lgamma_test): Likewise.
55831         (pow_test): Likewise.
55832         (remainder_test): Likewise.
55833         (sin_test): Likewise.
55834         (tan_test): Likewise.
55835         (yn_test): Likewise.
55836         (initialize): Set errno to 0.
55837         (main): Print number of errno tests.
55838         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
55840 2013-04-29  Andreas Jaeger  <aj@suse.de>
55842         [BZ #15084]
55843         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
55844         and RES_USEVC.
55846         [BZ #15085]
55847         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
55848         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
55849         unimplemented.
55851         [BZ #15380]
55852         * stdlib/random.c (__initstate): Return NULL if
55853         __initstate fails.
55855         [BZ #15086]
55856         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
55857         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
55858         RES_SNGLKUPREOP.
55860 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55862         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55864 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
55866         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
55867         of individual tests.
55868         (casin_test): Likewise.
55869         (casinh_test): Likewise.
55871 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
55873         [BZ #15409]
55874         * math/s_catan.c (__catan): Handle arguments with large real or
55875         imaginary part separately without squaring.
55876         * math/s_catanf.c (__catanf): Likewise.
55877         * math/s_catanh.c (__catanh): Likewise.
55878         * math/s_catanhf.c (__catanhf): Likewise.
55879         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
55880         and redefine.
55881         (__catanhl): Handle arguments with large real or imaginary part
55882         separately without squaring.
55883         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
55884         and redefine.
55885         (__catanl): Handle arguments with large real or imaginary part
55886         separately without squaring.
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-27  Andreas Jaeger  <aj@suse.de>
55894         [BZ #15007]
55895         * stdlib/stdlib.h: Update guards for qecvt.
55896         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
55897         <stdlib.h>.
55899 2013-04-27  Allan McRae  <allan@archlinux.org>
55901         * sysdeps/i386/fpu/libm-test-ulps: Update.
55903 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
55905         [BZ #15406]
55906         * math/s_catan.c: Include <float.h>.
55907         (__catan): Ensure underflow exception occurs for underflowed
55908         result.
55909         * math/s_catanf.c: Include <float.h>.
55910         (__catanf): Ensure underflow exception occurs for underflowed
55911         result.
55912         * math/s_catanh.c: Include <float.h>.
55913         (__catanh): Ensure underflow exception occurs for underflowed
55914         result.
55915         * math/s_catanhf.c: Include <float.h>.
55916         (__catanhf): Ensure underflow exception occurs for underflowed
55917         result.
55918         * math/s_catanhl.c: Include <float.h>.
55919         (__catanhl): Ensure underflow exception occurs for underflowed
55920         result.
55921         * math/s_catanl.c: Include <float.h>.
55922         (__catanl): Ensure underflow exception occurs for underflowed
55923         result.
55924         * math/libm-test.inc (catan_test): Add more tests.
55925         (catanh_test): Likewise.
55927         [BZ #15405]
55928         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
55929         underflowed result.
55930         * math/s_ccoshf.c (__ccoshf): Likewise.
55931         * math/s_ccoshl.c (__ccoshl): Likewise.
55932         * math/s_csin.c (__csin): Likewise.
55933         * math/s_csinf.c (__csinf): Likewise.
55934         * math/s_csinh.c (__csinh): Likewise.
55935         * math/s_csinhf.c (__csinhf): Likewise.
55936         * math/s_csinhl.c (__csinhl): Likewise.
55937         * math/s_csinl.c (__csinl): Likewise.
55938         * math/libm-test.inc (ccos_test): Add more tests.
55939         (ccosh_test): Likewise.
55940         (csin_test): Likewise.
55941         (csinh_test): Likewise.
55943 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55945         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
55946         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
55947         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
55948         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
55949         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
55950         powerpc/power5+/fpu folders.
55951         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
55954 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
55956         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55958 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
55960         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
55961         additions to variable.
55962         [$(config-machine) = x86_64] (modules-names): Likewise.
55963         ($(objpfx)tst-audit3): Remove dependency.
55964         ($(objpfx)tst-audit3.out): Likewise.
55965         ($(objpfx)tst-audit4): Likewise.
55966         ($(objpfx)tst-audit4.out): Likewise.
55967         ($(objpfx)tst-audit5): Likewise.
55968         ($(objpfx)tst-audit5.out): Likewise.
55969         ($(objpfx)tst-audit6): Likewise.
55970         ($(objpfx)tst-audit6.out): Likewise.
55971         ($(objpfx)tst-audit7): Likewise.
55972         ($(objpfx)tst-audit7.out): Likewise.
55973         (tst-audit3-ENV): Remove variable.
55974         (tst-audit4-ENV): Likewise.
55975         (tst-audit5-ENV): Likewise.
55976         (tst-audit6-ENV): Likewise.
55977         (tst-audit7-ENV): Likewise.
55978         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
55979         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
55980         addition to variable.
55981         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
55982         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
55983         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
55984         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
55985         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
55986         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
55987         tst-audit3, tst-audit4 and tst-audit5.
55988         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
55989         tst-audit6 and tst-audit7.
55990         [$(subdir) = elf] (modules-names): Add audit modules for those
55991         tests.
55992         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
55993         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
55994         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
55995         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
55996         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
55997         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
55998         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
55999         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
56000         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
56001         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
56002         [$(subdir) = elf] (tst-audit3-ENV): New variable.
56003         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
56004         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
56005         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
56006         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
56007         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
56008         Likewise.
56009         [$(subdir) = elf && $(config-cflags-avx) = yes]
56010         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
56011         [$(subdir) = elf && $(config-cflags-avx) = yes]
56012         (CFLAGS-tst-auditmod4a.c): Likewise.
56013         [$(subdir) = elf && $(config-cflags-avx) = yes]
56014         (CFLAGS-tst-auditmod4b.c): Likewise.
56015         [$(subdir) = elf && $(config-cflags-avx) = yes]
56016         (CFLAGS-tst-auditmod6b.c): Likewise.
56017         [$(subdir) = elf && $(config-cflags-avx) = yes]
56018         (CFLAGS-tst-auditmod6c.c): Likewise.
56019         [$(subdir) = elf && $(config-cflags-avx) = yes]
56020         (CFLAGS-tst-auditmod7b.c): Likewise.
56021         * elf/tst-audit3.c: Move to ...
56022         * sysdeps/x86_64/tst-audit3.c: ... here.
56023         * elf/tst-audit4.c: Move to ...
56024         * sysdeps/x86_64/tst-audit4.c: ... here.
56025         * elf/tst-audit5.c: Move to ...
56026         * sysdeps/x86_64/tst-audit5.c: ... here.
56027         * elf/tst-audit6.c: Move to ...
56028         * sysdeps/x86_64/tst-audit6.c: ... here.
56029         * elf/tst-audit7.c: Move to ...
56030         * sysdeps/x86_64/tst-audit7.c: ... here.
56031         * elf/tst-auditmod3a.c: Move to ...
56032         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
56033         * elf/tst-auditmod3b.c: Move to ...
56034         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
56035         * elf/tst-auditmod4a.c: Move to ...
56036         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
56037         * elf/tst-auditmod4b.c: Move to ...
56038         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
56039         * elf/tst-auditmod5a.c: Move to ...
56040         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
56041         * elf/tst-auditmod5b.c: Move to ...
56042         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
56043         * elf/tst-auditmod6a.c: Move to ...
56044         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
56045         * elf/tst-auditmod6b.c: Move to ...
56046         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
56047         * elf/tst-auditmod6c.c: Move to ...
56048         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
56049         * elf/tst-auditmod7a.c: Move to ...
56050         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
56051         * elf/tst-auditmod7b.c: Move to ...
56052         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
56054 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
56056         [BZ #15366]
56057         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
56058         define unconditionally.
56059         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
56060         define unconditionally.
56061         (INT8_C, INT16_C, etc.): Likewise.
56063 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
56065         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
56066         __ehdr_start with hidden visibility.
56068         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
56070 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
56072         * math/libm-test.inc (cos_test): Use accurate hex constants.
56073         (sincost_test): Likewise.
56075 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
56077         * math/libm-test.inc (catan_test): Add more tests.
56078         (catanh_test): Likewise.
56080         * math/s_catanf.c (__catanf): Use suffixed floating-point
56081         constants.
56082         * math/s_catanhf.c (__catanhf): Likewise.
56083         * math/s_catanhl.c (__catanhl): Likewise.
56084         * math/s_catanl.c (__catanl): Likewise.
56086         [BZ #15394]
56087         * math/s_catan.c (__catan): Calculate imaginary part of result
56088         with log1p not log unless computing log of number close to 0.
56089         * math/s_catanf.c (__catanf): Likewise.
56090         * math/s_catanl.c (__catanl): Likewise.
56091         * math/s_catanh.c (__catanh): Calculate real part of result with
56092         log1p not log unless computing log of number close to 0.
56093         * math/s_catanhf.c (__catanhf): Likewise.
56094         * math/s_catanhl.c (__catanhl): Likewise.
56095         * math/libm-test.inc (catan_test): Add more tests.
56096         (catanh_test): Likewise.
56097         * sysdeps/i386/fpu/libm-test-ulps: Update.
56098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56100 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
56102         * benchtests/Makefile: Mention files in which fast and slow
56103         paths of math functions are implemented.
56105 2013-04-23  Roland McGrath  <roland@hack.frob.com>
56107         * sysdeps/posix/timespec_get.c: New file.
56109 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56111         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
56112         POWER.
56113         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
56114         for POWER.
56115         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
56116         powerpc/power5/fpu folders.
56117         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
56118         * benchtests/Makefile: Add modf testcase.
56119         * benchtests/bench-modf.c: New file: Benchmark test for mo
56121 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
56123         [BZ #14888]
56124         * time/Makefile (tests): Add tst-strptime-whitespace.
56125         * time/strptime_l.c (get_number): Use ISSPACE.
56126         (__strptime_internal): Likewise.
56127         * time/tst-strptime-whitespace.c: New test case.
56129 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
56131         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
56132         member.
56133         (_nss_files_init): Set it here.
56135 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
56137         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
56138         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
56139         unsigned.
56141 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
56143         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
56145 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
56147         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
56148         size just once.
56150 2013-04-21  David S. Miller  <davem@davemloft.net>
56152         * po/ru.po: Update Russion translation from translation project.
56154 2013-04-17  Adam Conrad  <adconrad@0c3.net>
56156         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
56157         and setfsgid.
56159 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
56161         * configure.in: Remove i386 configure warning. Remove i386 case.
56162         * configure: Regenerate.
56163         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
56164         Add example to error message.
56165         * sysdeps/i386/configure: Regenerate.
56167 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
56169         * benchtests/Makefile (bench): Add cos, tan, slowcos and
56170         slowtan.
56171         * benchtests/cos-inputs: New file.
56172         * benchtests/slowcos-inputs: New file.
56173         * benchtests/slowcos.c: New file.
56174         * benchtests/slowtan-inputs: New file.
56175         * benchtests/slowtan.c: New file.
56176         * benchtests/tan-inputs: New file.
56178 2013-04-16  Roland McGrath  <roland@hack.frob.com>
56180         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
56181         considered kosher.
56183 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56185         * benchtests/Makefile: Include cppflags-iterator.mk to add
56186         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
56188         * Makefile.in (bench-clean): New target.
56189         * benchtests/Makefile (bench-clean): Likewise.
56191 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
56193         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
56195 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
56197         * stdio-common/tstdiomisc.c: Fix coding-style violation.
56199 2013-04-15  Andreas Schwab  <schwab@suse.de>
56201         * nscd/grpcache.c (cache_addgr): Properly check for short write.
56202         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56203         * nscd/pwdcache.c (cache_addpw): Likewise.
56204         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
56205         more than recsize.
56207 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56209         * benchtests/Makefile (bench): Write all output to
56210         bench-out.tmp together.
56212 2013-04-15  Andreas Schwab  <schwab@suse.de>
56214         * nscd/nscd.c (main): Don't fork again after closing files.
56216 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56218         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
56220         * benchtests/Rules (bench-deps): Collect dependencies into a
56221         single variable.  Add Makefile to dependencies.
56222         ($(objpfx)bench-%.c): Depend on bench-deps.
56224 2013-04-12  Roland McGrath  <roland@hack.frob.com>
56225             Xavier Roche  <roche+kml2@exalead.com>
56227         [BZ #15361]
56228         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
56229         just that it's a file descriptor.
56230         * manual/llio.texi (Synchronizing AIO Operations): Update description
56231         for EBADF error from aio_fsync.
56233 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
56235         * Rules (bench): Move target definition...
56236         * benchtests/Makefile: ... here.
56238 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
56240         * math/libm-test.inc (cos_test): Fix PI/2 test.
56241         (sincos_test): Likewise.
56242         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
56243         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
56245 2013-04-11  Andreas Schwab  <schwab@suse.de>
56247         [BZ #13988]
56248         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
56249         accept exponent character only when digits were seen.
56250         * stdio-common/Makefile (tests): Add bug26.
56251         * stdio-common/bug26.c: New file.
56253         [BZ #14293]
56254         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
56255         non-freeable.
56257 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56259         * Makeconfig (rtld-prefix): Define built linker prefix.
56260         * Rules (run-bench): Use it.
56261         * math/Makefile (run-regen-ulps): Likewise.
56263         * Rules (bench): Remove eval.
56265 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56266             Roland McGrath  <roland@hack.frob.com>
56267             Ondrej Bilka  <neleai@seznam.cz>
56269         [BZ #15346]
56270         * time/getdate.c: Include ctype.h and alloca.h.
56271         (__getdate_r): Trim leading and trailing spaces of input.
56272         * time/tst-getdate.c (tests): Add tests with leading and
56273         trailing spaces.
56275 2013-04-08  Roland McGrath  <roland@hack.frob.com>
56277         [BZ #14280]
56278         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
56279         when computing value.
56281 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
56283         * math/README.libm-test (How can I generate "libm-test-ulps"?):
56284         Use testrun.sh to run libm tests.
56286         [BZ #15309]
56287         * elf/dl-open.c (dl_open_worker): memset all of seen array.
56289 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
56291         [BZ #15264]
56292         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
56294 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
56296         * Makefile.in (regen-ulps): New target.
56297         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
56298         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
56299         [ifneq (no,$(PERL)] (regen-ulps): New target.
56300         [ifeq (no,$(PERL)] (regen-ulps): New target.
56301         * math/libm-test.inc (ulps_file_name): Define.
56302         (output_dir): New variable.
56303         (options): Add "output-dir" option.
56304         (parse_opt): Handle 'o' case.
56305         (main): If output_dir is non-NULL use it as a prefix
56306         otherwise use "".
56307         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
56309 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
56311         [BZ #10060, #10062]
56312         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
56313         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
56314         fail configure if __sync_val_compare_and_swap is not inlined.
56315         * sysdeps/i386/configure: Regenerate.
56316         * configure.in: Build for i686 when configured for i386.
56317         * configure: Regenerate.
56318         * README: Remove i386 reference.
56320 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
56322         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
56323         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56325 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
56327         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
56328         (lmsnanval): New variables.
56329         (F): Add conversion tests.
56330         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
56331         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
56333         * stdio-common/tstdiomisc.c (F): Properly collect individual
56334         tests' results.
56336         [BZ #14686, #15336]
56337         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
56338         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
56339         Instead, use input NaN values or generate a qNaN by arithmetic
56340         operation.  Also fix bugs to comply with the standard.
56341         * math/libm-test.inc (remainder_test): Add more tests.
56343         [BZ #15335, #15342]
56344         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
56345         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
56346         input NaN values or generate a qNaN by arithmetic operation.
56348         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
56349         unreachable code.
56351         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
56352         definitions.
56354 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
56356         [BZ #14478]
56357         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
56358         underflowed result.
56359         * math/s_cexpf.c (__cexpf): Likewise.
56360         * math/s_cexpl.c (__cexpl): Likewise.
56361         * math/libm-test.inc (cexp_test): Add more tests.
56363 2013-04-03  Andreas Schwab  <schwab@suse.de>
56365         [BZ #15330]
56366         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
56367         order arrays from heap if bigger than alloca cutoff.
56369 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
56371         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
56372         (SNAN_TESTS_double): Refer to GCC PR56831.
56373         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
56374         GCC PR56828.
56376 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
56378         * Rules (bench): Move bench.out after the run is complete.
56380         * Rules (bench): Echo currently running benchmark.
56382         * benchtests/Makefile (bench): Add atan and slowatan.
56383         * benchtests/atan-inputs: New file.
56384         * benchtests/slowatan-inputs: New file.
56385         * benchtests/slowatan.c: New file.
56387         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
56388         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
56389         its value.
56391         [BZ #15305]
56392         * sysdeps/unix/sysv/linux/kernel-features.h
56393         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
56394         __ASSUME_XFS_RESTRICTED_CHOWN.
56395         * sysdeps/unix/sysv/linux/pathconf.c
56396         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
56397         Save and restore errno.
56399 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
56401         [BZ #15327]
56402         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
56403         arguments using __kernel_casinh.
56404         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
56405         arguments using __kernel_casinhf.
56406         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
56407         arguments using __kernel_casinhl.
56408         * math/libm-test.inc (cacosh_test): Add more tests.
56409         * sysdeps/i386/fpu/libm-test-ulps: Update.
56410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56412 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56414         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
56415         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
56417         * bench/Makefile (bench): Add sin and slowsin.
56418         * benchtests/sin-inputs: New file.
56419         * benchtests/slowsin-inputs: New file.
56420         * benchtests/slowsin.c: New file.
56422         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
56423         (bench): Add slowexp and slowpow.
56424         (exp-ITER): Increase iterations.
56425         (pow-ITER): Likewise.
56426         * benchtests/exp-inputs: Change input.
56427         * benchtests/pow-inputs: Likewise.
56428         * benchtests/slowexp-inputs: New file.
56429         * benchtests/slowexp.c: New file.
56430         * benchtests/slowpow-inputs: New file.
56431         * benchtests/slowpow.c: New file.
56433 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56435         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
56436         instructions.
56437         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
56438         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
56439         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
56440         * benchtests/Makefile: Add rint benchtest.
56441         * benchtests/rint-inputs: Input for rint benchtest.
56443 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
56445         * Versions.def (libm): Add GLIBC_2.18.
56446         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
56447         hidden libm prototypes.
56448         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
56449         * math/Makefile (libm-calls): Add s_issignaling.
56450         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
56451         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
56452         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
56453         declaration.
56454         * math/math.h [__USE_GNU] (issignaling): New macro.
56455         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
56456         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
56457         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
56458         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
56459         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
56460         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
56461         * manual/arith.texi (issignaling): New section.
56462         * manual/libm-err-tab.pl (@all_functions): Update comment.
56463         * math/gen-libm-test.pl (parse_args): Apply special handling for
56464         issignaling.
56465         * math/libm-test.inc (print_float, issignaling_test): New
56466         functions.
56467         (check_float_internal): Add issignaling checks.
56468         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
56469         default definition.
56470         * sysdeps/powerpc/math-tests.h: New file.
56471         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
56472         tests.
56473         * math/test-snan.c (TEST_FUNC): Likewise.
56475 2013-03-30  David S. Miller  <davem@davemloft.net>
56477         * po/de.po: Update from translation team.
56479 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
56481         [BZ #10357]
56482         * math/k_casinh.c (__kernel_casinh): Handle arguments with
56483         imaginary part less than 1.0 and real part less than 0.5
56484         specially.
56485         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56486         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56487         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
56488         (cacos_test): Add more tests.
56489         (casin_test): Likewise.
56490         (casinh_test): Likewise.
56491         * sysdeps/i386/fpu/libm-test-ulps: Update.
56492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56494 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56496         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
56497         ONE with its value.
56499         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
56500         (__pow_mp): Replace ONE and MONE with their values.
56501         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56502         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
56503         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56504         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
56505         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
56506         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56508         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
56510         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
56511         (__pow_mp): Replace ZERO and MZERO with their values.
56512         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
56513         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56514         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56515         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
56516         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
56517         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
56518         (__sqr): Likewise.
56520         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
56522         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
56524 2013-03-28  Roland McGrath  <roland@hack.frob.com>
56526         * include/stdlib.h [!SHARED] (__call_tls_dtors):
56527         Declare with __attribute__ ((weak)).
56528         * stdlib/exit.c (__libc_atexit) [!SHARED]:
56529         Call __call_tls_dtors only if it's not NULL.
56531 2013-03-28  Roland McGrath  <roland@hack.frob.com>
56533         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
56534         didn't do it already, then set _dl_phdr and _dl_phnum based on the
56535         magic __ehdr_start linker symbol if it's defined.
56536         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
56537         them up here if it was already done.
56539         * elf/dl-support.c (_dl_phdr): Make pointer to const.
56540         (_dl_aux_init): Use const in cast when setting it.
56541         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
56542         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
56543         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
56545         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
56546         Declare them here.
56547         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
56548         * csu/libc-tls.c: Nor here.
56549         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
56551         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
56552         (__libc_message): Never call vsyslog.
56554 2013-03-28  Alan Modra  <amodra@gmail.com>
56556         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
56557         Define as empty.
56558         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
56559         Likewise.
56561 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56563         [BZ #15214]
56564         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
56565         underflow.
56566         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56568 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56570         [BZ #15304]
56571         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
56572         Don't add gid passed as argument.
56574         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
56576 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
56578         [BZ #15307]
56579         * math/k_casinh.c (__kernel_casinh): Handle arguments with
56580         imaginary part between 1.0 and 1.5 and real part less than 0.5
56581         specially.
56582         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56583         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56584         * math/libm-test.inc (cacos_test): Add more tests.
56585         (casin_test): Likewise.
56586         (casinh_test): Likewise.
56587         * sysdeps/i386/fpu/libm-test-ulps: Update.
56588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56590 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56592         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
56593         constants.
56594         (norm): Likewise.
56595         (denorm): Likewise.
56596         (__dbl_mp): Likewise.
56597         (add_magnitudes): Likewise.
56598         (sub_magnitudes): Likewise.
56599         (__add): Likewise.
56600         (__sub): Likewise.
56601         (__mul): Likewise.
56602         (__sqr): Likewise.
56603         (__inv): Likewise.
56604         (__dvd): Likewise.
56606         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
56607         commented code.
56608         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
56609         (__dubcos): Likewise.
56610         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
56611         (__ieee754_acos): Likewise.
56612         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
56613         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
56614         (__exp1): Likewise.
56615         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56616         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
56617         (log1): Likewise.
56618         (my_log2): Likewise.
56619         (checkint): Likewise.
56620         * sysdeps/ieee754/dbl-64/e_remainder.c
56621         (__ieee754_remainder): Likewise.
56622         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
56623         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
56624         (bsloww): Likewise.
56625         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56627         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
56628         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
56629         MANTISSA_STORE_T to store computations on mantissa.  Use
56630         macros for rounding and division.
56631         (denorm): Likewise.
56632         (__dbl_mp): Likewise.
56633         (add_magnitudes): Likewise.
56634         (sub_magnitudes): Likewise.
56635         (__mul): Likewise.
56636         (__sqr): Likewise.
56637         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
56638         powers of two in terms of TWOPOW macro.
56639         (mp_no): Make type of mantissa as MANTISSA_T.
56640         [!RADIXI]: Define RADIXI.
56641         [!TWO52]: Define TWO52.
56642         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
56644 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56646         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
56647         llroundl symbol when building for PPC32.
56649 2013-03-24  Mark H Weaver  <mhw@netris.org>
56651         * manual/arith.texi (Normalization Functions): Fix prototypes for
56652         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
56654 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56656         [BZ #13889]
56657         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
56658         high value to check if expl overflow.
56659         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
56660         to check for underflow and overflow.
56661         * math/libm-test.inc: Add exp test.
56663 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
56665         [BZ #11120]
56666         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
56667         with NOT_IN_libc.
56669 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56671         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
56672         symbol.
56674 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
56676         * math/gen-libm-test.pl (parse_args, special_functions): Properly
56677         wrap blocks consisting of several statements.
56679         * sysdeps/generic/math-tests.h: New file.
56680         * sysdeps/i386/fpu/math-tests.h: Likewise.
56681         * math/test-snan.c: Include it.
56682         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
56684 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
56686         [BZ #15285]
56687         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
56688         (__ieee754_j0l): Do not improve calculations using cos of twice
56689         input for inputs above LDBL_MAX / 2.0L.
56690         (__ieee754_y0l): Likewise.
56691         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
56692         (__ieee754_j1l): Do not improve calculations using cos of twice
56693         input for inputs above LDBL_MAX / 2.0L.
56694         (__ieee754_y1l): Likewise.
56695         * math/libm-test.inc (j0_test): Add another test.
56696         (j1_test): Likewise.
56697         (y0_test): Likewise.
56698         (y1_test): Likewise.
56699         * sysdeps/i386/fpu/libm-test-ulps: Update.
56701 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56703         * Rules ($(objpfx)bench-%.c): Include code from a C source
56704         file.
56706 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
56708         [BZ #15287]
56709         * math/k_casinh.c (__kernel_casinh): Handle arguments with
56710         imaginary part 1.0 and real part less than 0.5 specially.
56711         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56712         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56713         * math/libm-test.inc (cacos_test): Add more tests.
56714         (casin_test): Likewise.
56715         (casinh_test): Likewise.
56716         * sysdeps/i386/fpu/libm-test-ulps: Update.
56717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56719 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56721         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
56722         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
56724 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
56726         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
56727         * config.make.in (config-cflags-sse4): Remove variable.
56728         (config-cflags-avx): Likewise.
56729         (config-cflags-sse2avx): Likewise.
56730         (config-cflags-novzeroupper): Likewise.
56731         (config-asflags-i686): Likewise.
56732         (have-mfma4): Likewise.
56733         (have-as-vis3): Likewise.
56734         (MIG): Likewise.
56735         * configure.in (MIG): Do not AC_SUBST.
56736         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
56737         (libc_cv_cc_sse4): Do not AC_SUBST.
56738         (libc_cv_cc_avx): Likewise.
56739         (libc_cv_cc_sse2avx): Likewise.
56740         (libc_cv_cc_novzeroupper): Likewise.
56741         (libc_cv_cc_fma4): Likewise.
56742         (libc_cv_as_i686): Likewise.
56743         (libc_cv_sparc_as_vis3): Likewise.
56744         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
56745         LIBC_CONFIG_VAR.
56746         (config-asflags-i686): Likewise.
56747         (config-cflags-avx): Likewise.
56748         (config-cflags-sse2avx): Likewise.
56749         (have-mfma4): Likewise.
56750         (config-cflags-novzeroupper): Likewise.
56751         * sysdeps/mach/configure.in (MIG): Likewise.
56752         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
56753         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
56754         LIBC_CONFIG_VAR.
56755         (config-cflags-avx): Likewise.
56756         (config-cflags-sse2avx): Likewise.
56757         (have-mfma4): Likewise.
56758         (config-cflags-novzeroupper): Likewise.
56759         * configure: Regenerated.
56760         * sysdeps/i386/configure: Likewise.
56761         * sysdeps/mach/configure: Likewise.
56762         * sysdeps/sparc/configure: Likewise.
56763         * sysdeps/x86_64/configure: Likewise.
56765 2013-03-20  Roland McGrath  <roland@hack.frob.com>
56767         [BZ #14812]
56768         * locale/programs/localedef.c (options): Put N_ translation marker
56769         on argument names, not just descriptions.
56771 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56773         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
56775 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
56777         [BZ #14176]
56778         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
56780 2013-03-19  Roland McGrath  <roland@hack.frob.com>
56782         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
56783         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
56784         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
56785         [!BEFORE_ABORT] (before_abort): New function.
56786         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
56787         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
56788         (writev_for_fatal): New function.
56789         (WRITEV_FOR_FATAL): New macro; call that.
56790         (backtrace_and_maps): New function.
56791         (BEFORE_ABORT): New macro; call that.
56792         (struct str_list): Type removed.
56793         (__libc_message, __libc_fatal): Functions removed.
56794         Include <sysdeps/posix/libc_fatal.c> instead.
56796 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
56798         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
56799         constants.
56800         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
56801         double constants.
56803 2013-03-19  Andreas Schwab  <schwab@suse.de>
56805         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
56806         * sysdeps/gnu/configure: Regenerate.
56808         * configure.in: Substitute libc_cv_rtlddir.
56809         * configure: Regenerate.
56810         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
56811         * Makeconfig (rtlddir, inst_rtlddir): New variables.
56812         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
56813         * elf/Makefile (install-others, CFLAGS-interp.c)
56814         (ldso_install, common-ldd-rewrite): Likewise.
56815         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
56816         $(inst_slibdir)/$(rtld-installed-name).
56817         * scripts/rellns-sh: Add -p option.
56818         * Makerules (make-shlib-link): Use rellns-sh to get relative name
56819         for source.
56821 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56823         * manual/nptl.texi: Renamed to ...
56824         * manual/threads.texi: ... this.
56825         * manual/Makefile (chapters): Update.
56827 2013-03-18  Roland McGrath  <roland@hack.frob.com>
56829         [BZ #14812]
56830         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
56831         on argument names, not just descriptions.
56832         * malloc/memusagestat.c (options): Likewise.
56833         * nss/getent.c (options): Likewise.
56835 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
56837         [BZ #14812]
56838         * iconv/iconv_prog.c (options): Put N_ translation marker
56839         on argument names, not just descriptions.
56840         * iconv/iconvconfig.c (options): Likewise.
56842 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
56844         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
56845         implementation which is faster on all x86_64 architectures.
56846         Tested on AMD, Intel Nehalem, SNB, IVB.
56847         * sysdeps/x86_64/strnlen.S: Likewise.
56849         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56850         Remove all multiarch strlen and strnlen versions.
56851         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
56852         Remove strlen and strnlen related parts.
56854         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
56855         Inline strlen part.
56856         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
56858         * sysdeps/x86_64/multiarch/strlen.S: Remove.
56859         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
56860         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
56861         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
56862         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
56863         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
56865 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
56867         * manual/memory.texi (Malloc Tunable Parameters):
56868         Sort parameters alphabetically. Add comments for missing entries.
56870 2013-03-17  David S. Miller  <davem@davemloft.net>
56872         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56874 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
56876         [BZ #15283]
56877         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
56878         for arguments at most half maximum finite value.
56879         * math/libm-test.inc (j0_test): Add more tests.
56880         (j1_test): Likewise.
56881         (y0_test): Likewise.
56882         (y1_test): Likewise.
56883         * sysdeps/i386/fpu/libm-test-ulps: Update.
56884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56886         [BZ #14155]
56887         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
56888         1 / x and functions P and Q for arguments above 0x1p256L.
56889         (__ieee754_y0l): Likewise.
56890         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
56891         (__ieee754_y1l): Likewise.
56892         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
56893         (j1_test): Likewise.
56894         (y0_test): Likewise.
56895         (y1_test): Likewise.
56897 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
56899         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
56900         variable.
56902 2013-03-15  Roland McGrath  <roland@hack.frob.com>
56904         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
56905         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
56906         zero since it's initialized to EXEC_PAGESIZE.
56908         * sysdeps/unix/sysv/linux/ldsodefs.h
56909         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
56910         * sysdeps/generic/ldsodefs.h: ... here.
56912 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
56914         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
56916         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
56917         math/test-snan.c.
56918         * math/test-snan.c: Renamed from
56919         sysdeps/powerpc/fpu/test-powerpc-snan.c.
56920         * math/Makefile (tests): Add test-snan.
56921         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
56922         test-powerpc-snan.
56924         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
56925         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
56926         functions.
56927         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
56928         __builtin_nan family of functions.
56929         * math/libm-test.inc (initialize): Initialize qnan_value with
56930         __builtin_nan family of functions.
56931         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
56932         Remove variables.
56933         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
56934         Remove functions.
56935         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
56936         storage class.  Initialize qNaN_var and sNaN_var with
56937         __builtin_nan and __builtin_nans families of functions,
56938         respectively.
56940         * math/libm-test.inc (acosh_test): Also test with qNaN input.
56941         (sqrt_test): Remove duplicate test with qNaN input.
56942         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
56943         (round_test, signbit_test, significand_test): Note missing +/-Inf
56944         as well as qNaN tests.
56946         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
56947         qNaN_var.  Fix a few strings, too.
56948         * math/libm-test.inc (nan_value): Rename to qnan_value.
56949         * math/gen-libm-test.pl (%beautify): Adjust to that.
56950         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
56951         * math/test-misc.c (main): Likewise.
56952         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
56953         to __qnan_bytes, and __qnan_union, respectively.
56954         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
56955         Likewise.
56956         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
56957         and lqnanval, respectively.
56958         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
56959         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
56960         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
56961         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
56963         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
56964         * math/test-misc.c (main) [__x86_64__]: Enable test for long
56965         doubles.
56967         * math/test-misc.c (main): Fix copy'n'pastos.
56968         * misc/tst-efgcvt.c (special): Likewise.
56970         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
56971         Remove declarations.
56973 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56975         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
56976         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
56977         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
56978         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
56980 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56982         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
56983         macro to return vdso values correctly in IFUNC implementations.
56984         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
56985         Optimization by using IFUNC.
56987 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56988             Richard Henderson  <rth@redhat.com>
56989             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56991         * Makefile.in (bench): New target.
56992         * NEWS: Mention the benchmark framework.
56993         * Rules (bench): Likewise.
56994         (binaries-bench): Generate binaries for functions to
56995         benchmark.
56996         * benchtests/Makefile: New makefile for benchmark tests.
56997         * benchtests/bench-skeleton.c: New skeleton file for benchmark
56998         programs.
56999         * benchtests/exp-inputs: New input file for EXP function.
57000         * benchtests/pow-inputs: New input file for POW function.
57001         * scripts/bench.pl: New script to generate source files for
57002         benchmark programs.
57004 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57006         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
57007         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
57008         computations on mantissa.  Use macros for rounding and
57009         division.
57010         (denorm): Likewise.
57011         (__dbl_mp): Likewise.
57012         (add_magnitudes): Likewise.
57013         (sub_magnitudes): Likewise.
57014         (__mul): Likewise.
57015         (__sqr): Likewise.
57016         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
57017         powers of two in terms of TWOPOW macro.
57018         (mp_no): Make type of mantissa as MANTISSA_T.
57019         [!RADIXI]: Define RADIXI.
57020         [!TWO52]: Define TWO52.
57021         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
57023         * manual/nptl.texi (cindex): Modify threads to pthreads.
57025 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
57027         * sysdeps/x86_64/preconfigure: Regenerated.
57029 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
57031         [BZ #14155]
57032         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
57033         0x1p28 and above.
57034         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
57035         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
57036         0x1p28 and above.
57037         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
57038         * math/libm-test.inc (j0_test): Do not allow one spurious
57039         underflow exception.
57040         (y1_test): Likewise.
57042 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
57044         * manual/Makefile (chapters): Add nptl.
57045         * manual/debug.texi (Debugging Support): Add link to Threads
57046         chapter.
57047         * manual/nptl.texi: New file.
57049         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
57051 2013-03-14  Petr Baudis  <pasky@ucw.cz>
57053         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
57054         for non-NULL pointer before the memory validity test. Pointed
57055         out by Holger Brunck <holger.brunck@keymile.com>.
57057 2013-03-13  Andreas Schwab  <schwab@suse.de>
57059         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
57060         instead of .os.
57062 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
57064         * timezone/zic.c: Update from tzcode 2013b.
57066 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
57068         * manual/install.texi (Configuring and compiling):
57069         Mention i686 and i586.
57070         * INSTALL: Regenerate.
57072 2013-03-12  Roland McGrath  <roland@hack.frob.com>
57074         * sysdeps/init_array/elf-init.c: New file.
57075         * csu/elf-init.c
57076         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
57077         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
57079         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
57080         __gmon_start__ as global, but as static with a .preinit_array pointer.
57081         * sysdeps/init_array/gmon-start.c: New file.  Use that.
57082         * sysdeps/init_array/crti.S: New file, empty except for comments.
57083         * sysdeps/init_array/crtn.S: Likewise.
57085 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
57087         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
57088         definining bcopy.
57089         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57090         Remove Prefer_SSE_for_memop.
57091         * sysdeps/x86_64/multiarch/init-arch.h: Remove
57092         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
57093         HAS_PREFER_SSE_FOR_MEMOP.
57094         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
57095         memset-x86-64.
57096         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
57097         Remove bzero, memset ifunc support.
57098         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
57099         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
57100         * sysdeps/x86_64/multiarch/memset.S: Likewise.
57101         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
57103 2013-03-11  Andreas Schwab  <schwab@suse.de>
57105         [BZ #15234]
57106         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
57107         by SHLIB_COMPAT.
57108         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
57109         (GLIBC_2.16): Remove pthread_atfork.
57111 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
57113         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
57114         (ptestcases.h): Likewise.
57116 2013-03-08  Roland McGrath  <roland@hack.frob.com>
57118         * Makeconfig ($(common-objpfx)config.status): Depend on
57119         sysdeps/*/preconfigure{,.in} too.
57121 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
57123         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
57124         (__free_hook): Use void * instead of __malloc_ptr_t.
57125         (__malloc_hook): Likewise.
57126         (__realloc_hook): Likewise.
57127         (__memalign_hook): Likewise.
57128         (__after_morecore_hook): Likewise.
57129         * malloc/arena.c (save_malloc_hook): Likewise.
57130         (save_free_hook): Likewise.
57131         * malloc/hooks.c (malloc_hook_ini): Likewise.
57132         (realloc_hook_ini): Likewise.
57133         (memalign_hook_ini): Likewise.
57134         * malloc/malloc.c (malloc_hook_ini): Likewise.
57135         (realloc_hook_ini): Likewise.
57136         (memalign_hook_ini): Likewise.
57137         (__free_hook): Likewise.
57138         (__malloc_hook): Likewise.
57139         (__realloc_hook): Likewise.
57140         (__memalign_hook): Likewise.
57141         (__libc_malloc): Likewise.
57142         (__libc_free): Likewise.
57143         (__libc_realloc): Likewise.
57144         (__libc_memalign): Likewise.
57145         (__libc_valloc): Likewise.
57146         (__libc_pvalloc): Likewise.
57147         (__libc_calloc): Likewise.
57148         (__posix_memalign): Likewise.
57149         * malloc/morecore.c (__sbrk): Likewise.
57150         (__default_morecore): Likewise.
57152         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
57154         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
57155         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
57156         __malloc_ptrdiff_t.
57158         * malloc/malloc.h (__malloc_size_t): Remove macro.
57159         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
57160         __malloc_size_t.
57161         (old_memalign_hook): Likewise.
57162         (old_realloc_hook): Likewise.
57163         (struct hdr): Likewise.
57164         (flood): Likewise.
57165         (mallochook): Likewise.
57166         (memalignhook): Likewise.
57167         (reallochook): Likewise.
57168         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
57169         (tr_old_realloc_hook): Likewise.
57170         (tr_old_memalign_hook): Likewise.
57171         (tr_mallochook): Likewise.
57172         (tr_reallochook): Likewise.
57173         (tr_memalignhook): Likewise.
57175 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57177         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
57178         default_ldbl_pack and using as default implementation.
57179         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
57180         implementation.
57181         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
57182         redundant definition.
57183         (ldbl_insert_mantissa): Likewise.
57184         (ldbl_canonicalize): Likewise.
57185         (ldbl_nearbyint): Likewise.
57186         (ldbl_pack): Rename to ldbl_pack_ppc.
57187         (ldbl_unpack): Rename to ldbl_unpack_ppc.
57188         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
57189         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
57191 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
57193         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
57194         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
57195         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
57196         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
57197         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
57198         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
57199         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
57200         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
57202 2013-03-07  Andreas Jaeger  <aj@suse.de>
57204         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57205         bits/mman-linux.h.
57207 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
57209         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
57210         Include mpa.h and declare __MPEXP.
57211         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
57212         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
57213         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
57214         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
57215         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
57216         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
57217         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
57219         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
57220         (__slowpow): Use long double EXPL and LOGL functions to
57221         compute POW.
57222         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
57223         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
57224         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
57225         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
57226         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
57227         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
57229         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
57230         intermediate variable to calculate exponent.
57231         (__sqr): Likewise.
57232         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
57233         Likewise.
57234         (__sqr): Likewise.
57236         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
57237         [!NO__SQR]: Define __sqr.
57238         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
57239         and NO__SQR.  Remove all code except __mul and __sqr.  Include
57240         sysdeps/ieee754/dbl-64/mpa.c.
57241         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57243         [BZ #12723]
57244         * posix/Makefile (tests): Add tst-pathconf.
57245         * posix/tst-pathconf.c: New test case.
57246         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
57247         _PC_PIPE_BUF.
57248         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
57250 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
57252         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
57254 2013-03-06  Andreas Jaeger  <aj@suse.de>
57256         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
57257         definition via __MAP_ANONYMOUS.
57259         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
57260         it's not part of Linux headers.
57262         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
57263         (MAP_HUGE_MASK): Define.
57265         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
57266         Define.
57267         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
57268         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
57269         Define.
57270         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
57271         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
57272         Define.
57273         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
57274         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
57275         Define.
57276         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
57278         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
57279         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
57280         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
57281         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
57282         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
57283         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
57285         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57286         Handle f2fs.
57288         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57289         Handle f2fs and efivarfs.
57291         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
57292         f2fs.
57294         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
57295         (EFIVARFS_MAGIC): Add.
57296         (F2FS_LINK_MAX): Add.
57298 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
57300         * stdio-common/vfprintf.c: Replace __builtin_expect with
57301         __glibc_unlikely.
57303 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
57305         [BZ #13550]
57306         * sysdeps/generic/bp-sym.h: Remove file.
57307         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
57308         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
57309         <bp-sym.h> and <bp-asm.h>.
57310         (__longjmp): Don't use BP_SYM.
57311         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
57312         and <bp-asm.h>.
57313         (memcpy): Don't use BP_SYM.
57314         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
57315         <bp-sym.h> and <bp-asm.h>.
57316         (memcpy): Don't use BP_SYM.
57317         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
57318         <bp-asm.h>.
57319         (memcpy): Don't use BP_SYM.
57320         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
57321         <bp-asm.h>.
57322         (memset): Don't use BP_SYM.
57323         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
57324         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
57325         (__bzero): Don't use BP_SYM.
57326         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
57327         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
57328         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
57329         <bp-sym.h> and <bp-asm.h>.
57330         (memcmp): Don't use BP_SYM.  Remove comment about bounded
57331         pointers.
57332         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
57333         <bp-sym.h> and <bp-asm.h>.
57334         (memcpy): Don't use BP_SYM.
57335         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
57336         <bp-sym.h> and <bp-asm.h>.
57337         (memset): Don't use BP_SYM.
57338         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
57339         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
57340         (__bzero): Don't use BP_SYM.
57341         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
57342         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
57343         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
57344         <bp-sym.h> and <bp-asm.h>.
57345         (strncmp): Don't use BP_SYM.  Remove comment about bounded
57346         pointers.
57347         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
57348         <bp-sym.h> and <bp-asm.h>.
57349         (memcpy): Don't use BP_SYM.
57350         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
57351         <bp-sym.h> and <bp-asm.h>.
57352         (memset): Don't use BP_SYM.
57353         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
57354         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
57355         (__bzero): Don't use BP_SYM.
57356         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
57357         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
57358         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
57359         <bp-sym.h> and <bp-asm.h>.
57360         (__memchr): Don't use BP_SYM.
57361         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
57362         <bp-sym.h> and <bp-asm.h>.
57363         (memcmp): Don't use BP_SYM.  Remove comment about bounded
57364         pointers.
57365         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
57366         <bp-sym.h> and <bp-asm.h>.
57367         (memcpy): Don't use BP_SYM.
57368         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
57369         <bp-sym.h> and <bp-asm.h>.
57370         (__mempcpy): Don't use BP_SYM.
57371         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
57372         <bp-sym.h> and <bp-asm.h>.
57373         (__memrchr): Don't use BP_SYM.
57374         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
57375         <bp-sym.h> and <bp-asm.h>.
57376         (memset): Don't use BP_SYM.
57377         (__bzero): Likewise.
57378         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
57379         <bp-sym.h> and <bp-asm.h>.
57380         (__rawmemchr): Don't use BP_SYM.
57381         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
57382         <bp-sym.h> and <bp-asm.h>.
57383         (__STRCMP): Don't use BP_SYM.
57384         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
57385         <bp-sym.h> and <bp-asm.h>.
57386         (strchr): Don't use BP_SYM.
57387         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
57388         <bp-sym.h> and <bp-asm.h>.
57389         (__strchrnul): Don't use BP_SYM.
57390         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
57391         <bp-sym.h> and <bp-asm.h>.
57392         (strlen): Don't use BP_SYM.
57393         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
57394         <bp-sym.h> and <bp-asm.h>.
57395         (strncmp): Don't use BP_SYM.  Remove comment about bounded
57396         pointers.
57397         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
57398         <bp-sym.h> and <bp-asm.h>.
57399         (__strnlen): Don't use BP_SYM.
57400         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
57401         <bp-sym.h> and <bp-asm.h>.
57402         (__GI__setjmp): Don't use BP_SYM.
57403         (_setjmp): Likewise.
57404         (__sigsetjmp): Likewise.
57405         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
57406         (L(start_addresses)): Don't use BP_SYM.
57407         (_start): Likewise.
57408         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
57409         <bp-asm.h>.
57410         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
57411         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
57412         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57413         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
57414         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
57415         <bp-asm.h>.
57416         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
57417         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
57418         about bounded pointers.
57419         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
57420         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57421         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
57422         <bp-asm.h>.
57423         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
57424         about bounded pointers.  Remove GKM FIXME comments.
57425         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
57426         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
57427         <bp-asm.h>.
57428         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
57429         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
57430         Remove GKM FIXME comments.
57431         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57432         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
57433         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
57434         <bp-asm.h>.
57435         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
57436         about bounded pointers.  Remove GKM FIXME comment.
57437         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
57438         and <bp-asm.h>.
57439         (strncmp): Don't use BP_SYM.  Remove comment about bounded
57440         pointers.
57441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
57442         <bp-sym.h> and <bp-asm.h>.
57443         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
57444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
57445         <bp-sym.h> and <bp-asm.h>.
57446         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
57447         comment.
57449 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
57451         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
57452         call free(NULL).
57454 2013-03-05  David S. Miller  <davem@davemloft.net>
57456         * po/es.po: Update from translation team.
57458 2013-03-05  Andreas Jaeger  <aj@suse.de>
57460         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
57461         <bits/mman-linux.h>.
57462         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
57463         is fine.
57464         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
57465         <bits/mman-linux.h> to end of file.
57466         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
57467         is fine.
57468         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
57469         <bits/mman-linux.h> to end of file.
57470         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
57471         is fine.
57472         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
57473         <bits/mman-linux.h> to end of file.
57475         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
57476         (MCL_CURRENT, MCL_FUTURE): Define here.
57478 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57480         [BZ #15232]
57481         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
57482         attribute_hidden.
57483         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
57485 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57487         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
57488         fourth parameter needed for rt_sigprocmask syscall.
57489         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
57490         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
57491         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
57492         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
57493         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
57494         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
57496 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
57498         [BZ #13550]
57499         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
57500         comment about bounded pointers.
57501         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
57502         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
57504 2013-03-04  Andreas Jaeger  <aj@suse.de>
57506         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
57507         common definitions.
57509         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
57510         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
57511         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
57512         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
57513         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
57514         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
57516 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57518         [BZ #15055]
57519         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
57520         __ieee754_sqrl instead of __sqrl.
57522 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
57524         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
57525         * sysdeps/powerpc/fpu_control.h: ... here.
57526         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
57527         * sysdeps/powerpc/bits/fenvinline.h: ... here.
57528         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
57529         * sysdeps/powerpc/bits/mathinline.h: ... here.
57531 2013-03-01  Roland McGrath  <roland@hack.frob.com>
57533         * elf/dl-hwcaps.c (_dl_important_hwcaps):
57534         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
57535         to just [NEED_DL_SYSINFO_DSO].
57536         * elf/dl-support.c: Likewise.
57537         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
57538         * elf/rtld.c (dl_main): Likewise.
57539         * elf/setup-vdso.h (setup_vdso): Likewise.
57540         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
57541         * sysdeps/unix/sysv/linux/dl-sysdep.c
57542         (_dl_discover_osversion): Likewise.
57544 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
57546         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
57547         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
57549 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
57551         * NEWS: Mention libm performance improvements and non-x86 PI
57552         futex support.
57554         * csu/libc-start.c (__pthread_initialize_minimal): Change
57555         function arguments.
57556         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
57558 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
57560         [BZ #13550]
57561         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
57562         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
57563         <bp-sym.h> and <bp-asm.h>.
57564         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
57565         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
57566         and <bp-asm.h>.
57567         (memcpy): Don't use BP_SYM.
57568         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
57569         <bp-asm.h>.
57570         (__mpn_add_n): Don't use BP_SYM.
57571         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
57572         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
57573         and <bp-asm.h>.
57574         (__mpn_addmul_1): Don't use BP_SYM.
57575         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57576         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
57577         <bp-sym.h>.
57578         (_setjmp): Don't use BP_SYM.
57579         (__novmx_setjmp): Likewise.
57580         (__GI__setjmp): Likewise.
57581         (__vmx_setjmp): Likewise.
57582         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
57583         <bp-sym.h>.
57584         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
57585         (__bzero): Don't use BP_SYM.
57586         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
57587         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
57588         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
57589         <bp-sym.h> and <bp-asm.h>.
57590         (memcpy): Don't use BP_SYM.
57591         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
57592         <bp-sym.h> and <bp-asm.h>.
57593         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
57594         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
57595         <bp-sym.h> and <bp-asm.h>.
57596         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
57597         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
57598         <bp-asm.h>.
57599         (__mpn_lshift): Don't use BP_SYM.
57600         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57601         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
57602         <bp-asm.h>.
57603         (memset): Don't use BP_SYM.
57604         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
57605         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
57606         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
57607         <bp-asm.h>.
57608         (__mpn_mul_1): Don't use BP_SYM.
57609         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57610         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
57611         <bp-sym.h> and <bp-asm.h>.
57612         (memcmp): Don't use BP_SYM.
57613         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
57614         <bp-sym.h> and <bp-asm.h>.
57615         (memcpy): Don't use BP_SYM.
57616         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
57617         <bp-sym.h> and <bp-asm.h>.
57618         (memset): Don't use BP_SYM.
57619         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
57620         <bp-sym.h> and <bp-asm.h>.
57621         (strncmp): Don't use BP_SYM.
57622         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
57623         <bp-sym.h> and <bp-asm.h>.
57624         (memcpy): Don't use BP_SYM.
57625         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
57626         <bp-sym.h> and <bp-asm.h>.
57627         (memset): Don't use BP_SYM.
57628         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
57629         <bp-sym.h> and <bp-asm.h>.
57630         (__memchr): Don't use BP_SYM.
57631         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
57632         <bp-sym.h> and <bp-asm.h>.
57633         (memcmp): Don't use BP_SYM.
57634         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
57635         <bp-sym.h> and <bp-asm.h>.
57636         (memcpy): Don't use BP_SYM.
57637         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
57638         <bp-sym.h> and <bp-asm.h>.
57639         (__mempcpy): Don't use BP_SYM.
57640         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
57641         <bp-sym.h> and <bp-asm.h>.
57642         (__memrchr): Don't use BP_SYM.
57643         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
57644         <bp-sym.h> and <bp-asm.h>.
57645         (memset): Don't use BP_SYM.
57646         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
57647         <bp-sym.h> and <bp-asm.h>.
57648         (__rawmemchr): Don't use BP_SYM.
57649         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
57650         <bp-sym.h> and <bp-asm.h>.
57651         (__STRCMP): Don't use BP_SYM.
57652         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
57653         <bp-sym.h> and <bp-asm.h>.
57654         (strchr): Don't use BP_SYM.
57655         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
57656         <bp-sym.h> and <bp-asm.h>.
57657         (__strchrnul): Don't use BP_SYM.
57658         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
57659         <bp-sym.h> and <bp-asm.h>.
57660         (strlen): Don't use BP_SYM.
57661         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
57662         <bp-sym.h> and <bp-asm.h>.
57663         (strncmp): Don't use BP_SYM.
57664         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
57665         <bp-sym.h> and <bp-asm.h>.
57666         (__strnlen): Don't use BP_SYM.
57667         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
57668         <bp-asm.h>.
57669         (__mpn_rshift): Don't use BP_SYM.
57670         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57671         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
57672         <bp-sym.h> and <bp-asm.h>.
57673         (__sigsetjmp): Don't use BP_SYM.
57674         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
57675         (L(start_addresses)): Don't use BP_SYM.
57676         (_start): Likewise.
57677         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
57678         <bp-asm.h>.
57679         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
57680         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57681         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
57682         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
57683         <bp-asm.h>.
57684         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
57685         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
57686         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57687         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
57688         <bp-asm.h>.
57689         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
57690         comments.
57691         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
57692         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
57693         <bp-asm.h>.
57694         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
57695         FIXME comments.
57696         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57697         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
57698         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
57699         <bp-asm.h>.
57700         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
57701         comment.
57702         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
57703         and <bp-asm.h>.
57704         (strncmp): Don't use BP_SYM,
57705         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
57706         <bp-asm.h>.
57707         (__mpn_sub_n): Don't use BP_SYM.
57708         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57709         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
57710         and <bp-asm.h>.
57711         (__mpn_submul_1): Don't use BP_SYM.
57712         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
57714         <bp-sym.h> and <bp-asm.h>.
57715         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
57716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
57717         <bp-sym.h> and <bp-asm.h>.
57718         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
57719         comment.
57721 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57723         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
57724         Use ZK to minimize writes to Z.
57725         (sub_magnitudes): Simplify code a bit.
57726         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
57727         Use ZK to minimize writes to Z.
57728         (sub_magnitudes): Simplify code a bit.
57730 2013-02-27  Roland McGrath  <roland@hack.frob.com>
57732         * csu/gmon-start.c: Add special exception to license text.
57734 2013-02-27  Richard Henderson  <rth@redhat.com>
57736         * scripts/config.guess: Update from config.git.
57737         * scripts/config.sub: Likewise.
57739 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57741         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
57743         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
57745         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
57747         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
57749         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
57751 2013-02-26  Roland McGrath  <roland@hack.frob.com>
57753         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
57754         [$(build-shared = yes].
57756 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57758         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
57759         (__mul): Reduce iterations for calculating mantissa.
57761         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
57762         MPTWO.
57763         (__mpranred): Likewise.
57765         [BZ #15160]
57766         * malloc/memusagestat.c (main): Draw graphs for heap and stack
57767         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
57769 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
57771         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
57772         Define __attribute__.
57774 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57776         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
57777         unused.
57778         * posix/regex_internal.h (__attribute): Remove.
57779         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
57780         (re_string_context_at): Likewise.
57781         (bitset_not): Use __attribute__ and mark function as possibly
57782         unused.
57783         (bitset_merge): Likewise.
57784         (bitset_mask): Likewise.
57785         (re_string_char_size_at): Likewise.
57786         (re_string_wchar_at): Likewise.
57787         (re_string_elem_size_at): Likewise.
57789 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57791         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
57792         code.
57793         (cc32): Likewise.
57795         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
57796         (__acr): Likewise.
57797         (__cpy): Likewise.
57798         (norm): Likewise.
57799         (denorm): Likewise.
57800         (__dbl_mp): Likewise.
57801         (add_magnitudes): Likewise.
57802         (sub_magnitudes): Likewise.
57803         (__mul): Likewise.
57804         (__inv): Likewise.
57806         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
57807         style.
57809         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
57810         style.
57812         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
57813         code.
57815         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
57816         up changes with default code.
57817         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
57818         Likewise.
57820 2013-02-24  Allan McRae  <allan@archlinux.org>
57822         * manual/socket.texi (The Internet Namespace): Order menu items
57823         to match that in the file.
57825         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
57826         node listing of the info page menu.
57828 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
57830         [BZ #13550]
57831         * sysdeps/i386/bp-asm.h: Remove file.
57832         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
57833         (PARMS): Do not use macros from bp-asm.h.
57834         (S1): Likewise.
57835         (S2): Likewise.
57836         (SIZE): Likewise.
57837         (__mpn_add_n): Do not use BP_SYM
57838         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
57839         "bp-asm.h".
57840         (PARMS): Do not use macros from bp-asm.h.
57841         (S1): Likewise.
57842         (SIZE): Likewise.
57843         (__mpn_addmul_1): Do not use BP_SYM
57844         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
57845         "bp-asm.h".
57846         (PARMS): Do not use macros from bp-asm.h.
57847         (SIGMSK): Likewise.
57848         (_setjmp): Likewise.  Do not use BP_SYM.
57849         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
57850         "bp-asm.h".
57851         (PARMS): Do not use macros from bp-asm.h.
57852         (SIGMSK): Likewise.
57853         (setjmp): Likewise.  Do not use BP_SYM.
57854         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
57855         "bp-asm.h".
57856         (PARMS): Do not use macros from bp-asm.h.
57857         (__frexp): Do not use BP_SYM.
57858         (frexp): Likewise.
57859         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
57860         "bp-asm.h".
57861         (PARMS): Do not use macros from bp-asm.h.
57862         (__frexpf): Do not use BP_SYM.
57863         (frexpf): Likewise.
57864         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
57865         "bp-asm.h".
57866         (PARMS): Do not use macros from bp-asm.h.
57867         (__frexpl): Do not use BP_SYM.
57868         (frexpl): Likewise.
57869         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
57870         "bp-asm.h".
57871         (PARMS): Do not use macros from bp-asm.h.
57872         (__remquo): Do not use BP_SYM.
57873         (remquo): Likewise.
57874         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
57875         "bp-asm.h".
57876         (PARMS): Do not use macros from bp-asm.h.
57877         (__remquof): Do not use BP_SYM.
57878         (remquof): Likewise.
57879         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
57880         "bp-asm.h".
57881         (PARMS): Do not use macros from bp-asm.h.
57882         (__remquol): Do not use BP_SYM.
57883         (remquol): Likewise.
57884         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
57885         "bp-asm.h".
57886         (PARMS): Do not use macros from bp-asm.h.
57887         (DEST): Likewise.
57888         (SRC): Likewise.
57889         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
57890         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
57891         "bp-asm.h".
57892         (PARMS): Do not use macros from bp-asm.h.
57893         (strlen): Do not use BP_SYM.
57894         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
57895         "bp-asm.h".
57896         (PARMS): Do not use macros from bp-asm.h.
57897         (S1): Likewise.
57898         (S2): Likewise.
57899         (SIZE): Likewise.
57900         (__mpn_add_n): Do not use BP_SYM.
57901         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
57902         "bp-asm.h".
57903         (PARMS): Do not use macros from bp-asm.h.
57904         (S1): Likewise.
57905         (SIZE): Likewise.
57906         (__mpn_addmul_1): Do not use BP_SYM.
57907         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
57908         weak_alias.
57909         (bzero): Likewise.
57910         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
57911         "bp-asm.h".
57912         (PARMS): Do not use macros from bp-asm.h.
57913         (S): Likewise.
57914         (SIZE): Likewise.
57915         (__mpn_lshift): Do not use BP_SYM.
57916         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
57917         "bp-asm.h".
57918         (PARMS): Do not use macros from bp-asm.h.
57919         (DEST): Likewise.
57920         (SRC): Likewise.
57921         (LEN): Likewise.
57922         (memcpy): Likewise.  Do not use BP_SYM.
57923         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
57924         libc_hidden_def and weak_alias.
57925         (mempcpy): Do not use BP_SYM in weak_alias.
57926         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
57927         "bp-asm.h".
57928         (PARMS): Do not use macros from bp-asm.h.
57929         (DEST): Likewise.
57930         (LEN): Likewise.
57931         [!BZERO_P] (CHR): Likewise.
57932         (memset): Likewise.  Do not use BP_SYM.
57933         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
57934         "bp-asm.h".
57935         (PARMS): Do not use macros from bp-asm.h.
57936         (S1): Likewise.
57937         (SIZE): Likewise.
57938         (__mpn_mul_1): Do not use BP_SYM.
57939         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
57940         "bp-asm.h".
57941         (PARMS): Do not use macros from bp-asm.h.
57942         (S): Likewise.
57943         (SIZE): Likewise.
57944         (__mpn_rshift): Do not use BP_SYM.
57945         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
57946         "bp-asm.h".
57947         (PARMS): Do not use macros from bp-asm.h.
57948         (STR): Likewise.
57949         (CHR): Likewise.
57950         (strchr): Likewise.  Do not use BP_SYM.
57951         (index): Do not use BP_SYM in weak_alias.
57952         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
57953         "bp-asm.h".
57954         (PARMS): Do not use macros from bp-asm.h.
57955         (DEST): Likewise.
57956         (SRC): Likewise.
57957         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
57958         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
57959         "bp-asm.h".
57960         (PARMS): Do not use macros from bp-asm.h.
57961         (strlen): Do not use BP_SYM.
57962         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
57963         "bp-asm.h".
57964         (PARMS): Do not use macros from bp-asm.h.
57965         (S1): Likewise.
57966         (S2): Likewise.
57967         (SIZE): Likewise.
57968         (__mpn_sub_n): Do not use BP_SYM.
57969         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
57970         "bp-asm.h".
57971         (PARMS): Do not use macros from bp-asm.h.
57972         (S1): Likewise.
57973         (SIZE): Likewise.
57974         (__mpn_submul_1): Do not use BP_SYM.
57975         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
57976         "bp-asm.h".
57977         (PARMS): Do not use macros from bp-asm.h.
57978         (S1): Likewise.
57979         (S2): Likewise.
57980         (SIZE): Likewise.
57981         (__mpn_add_n): Do not use BP_SYM.
57982         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
57983         weak_alias.
57984         (bzero): Likewise.
57985         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
57986         "bp-asm.h".
57987         (PARMS): Do not use macros from bp-asm.h.
57988         (BLK2): Likewise.
57989         (LEN): Likewise.
57990         (memcmp): Do not use BP_SYM.
57991         (bcmp): Do not use BP_SYM in weak_alias.
57992         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
57993         "bp-asm.h".
57994         (PARMS): Do not use macros from bp-asm.h.
57995         (DEST): Likewise.
57996         (SRC): Likewise.
57997         (LEN): Likewise.
57998         (memcpy): Likewise.  Do not use BP_SYM.
57999         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
58000         "bp-asm.h".
58001         (PARMS): Do not use macros from bp-asm.h.
58002         (DEST): Likewise.
58003         (SRC): Likewise.
58004         (LEN): Likewise.
58005         (memmove): Likewise.  Do not use BP_SYM.
58006         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
58007         "bp-asm.h".
58008         (PARMS): Do not use macros from bp-asm.h.
58009         (DEST): Likewise.
58010         (SRC): Likewise.
58011         (LEN): Likewise.
58012         (__mempcpy): Likewise.  Do not use BP_SYM.
58013         (mempcpy): Do not use BP_SYM in weak_alias.
58014         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
58015         "bp-asm.h".
58016         (PARMS): Do not use macros from bp-asm.h.
58017         (DEST): Likewise.
58018         (LEN): Likewise.
58019         [!BZERO_P] (CHR): Likewise.
58020         (memset): Likewise.  Do not use BP_SYM.
58021         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
58022         "bp-asm.h".
58023         (PARMS): Do not use macros from bp-asm.h.
58024         (STR2): Likewise.
58025         (strcmp): Do not use BP_SYM.
58026         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
58027         "bp-asm.h".
58028         (PARMS): Do not use macros from bp-asm.h.
58029         (STR): Likewise.
58030         (DELIM): Likewise.
58031         [USE_AS_STRTOK_R] (SAVE): Likewise.
58032         (FUNCTION): Likewise.  Do not use BP_SYM.
58033         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
58034         aliases.
58035         (strtok_r): Likewise.
58036         (__GI___strtok_r): Likewise.
58037         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
58038         (PARMS): Do not use macros from bp-asm.h.
58039         (S): Likewise.
58040         (SIZE): Likewise.
58041         (__mpn_lshift): Do not use BP_SYM.
58042         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
58043         (PARMS): Do not use macros from bp-asm.h.
58044         (STR): Likewise.
58045         (CHR): Likewise.
58046         (__memchr): Do not use BP_SYM.
58047         (memchr): Do not use BP_SYM in weak_alias.
58048         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
58049         (PARMS): Do not use macros from bp-asm.h.
58050         (BLK2): Likewise.
58051         (LEN): Likewise.
58052         (memcmp): Do not use BP_SYM.
58053         (bcmp): Do not use BP_SYM in weak_alias.
58054         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
58055         (PARMS): Do not use macros from bp-asm.h.
58056         (S1): Likewise.
58057         (SIZE): Likewise.
58058         (__mpn_mul_1): Do not use BP_SYM.
58059         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
58060         "bp-asm.h".
58061         (PARMS): Do not use macros from bp-asm.h.
58062         (STR): Likewise.
58063         (CHR): Likewise.
58064         (__rawmemchr): Do not use BP_SYM.
58065         (rawmemchr): Do not use BP_SYM in weak_alias.
58066         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
58067         (PARMS): Do not use macros from bp-asm.h.
58068         (S): Likewise.
58069         (SIZE): Likewise.
58070         (__mpn_rshift): Do not use BP_SYM.
58071         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
58072         (PARMS): Do not use macros from bp-asm.h.
58073         (SIGMSK): Likewise.
58074         (__sigsetjmp): Likewise.  Do not use BP_SYM.
58075         * sysdeps/i386/start.S: Do not include "bp-sym.h".
58076         (_start): Do not use BP_SYM.
58077         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
58078         (PARMS): Do not use macros from bp-asm.h.
58079         (DEST): Likewise.
58080         (SRC): Likewise.
58081         (__stpcpy): Likewise.  Do not use BP_SYM.
58082         (stpcpy): Do not use BP_SYM in weak_alias.
58083         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
58084         "bp-asm.h".
58085         (PARMS): Do not use macros from bp-asm.h.
58086         (DEST): Likewise.
58087         (SRC): Likewise.
58088         (LEN): Likewise.
58089         (__stpncpy): Likewise.  Do not use BP_SYM.
58090         (stpncpy): Do not use BP_SYM in weak_alias.
58091         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
58092         (PARMS): Do not use macros from bp-asm.h.
58093         (STR): Likewise.
58094         (CHR): Likewise.
58095         (strchr): Likewise.  Do not use BP_SYM.
58096         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
58097         "bp-asm.h".
58098         (PARMS): Do not use macros from bp-asm.h.
58099         (STR): Likewise.
58100         (CHR): Likewise.
58101         (__strchrnul): Likewise.  Do not use BP_SYM.
58102         (strchrnul): Do not use BP_SYM in weak_alias.
58103         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
58104         "bp-asm.h".
58105         (PARMS): Do not use macros from bp-asm.h.
58106         (STOP): Likewise.
58107         (strcspn): Do not use BP_SYM.
58108         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
58109         "bp-asm.h".
58110         (PARMS): Do not use macros from bp-asm.h.
58111         (STR): Likewise.
58112         (STOP): Likewise.
58113         (strpbrk): Likewise.  Do not use BP_SYM.
58114         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
58115         "bp-asm.h".
58116         (PARMS): Do not use macros from bp-asm.h.
58117         (STR): Likewise.
58118         (CHR): Likewise.
58119         (strrchr): Likewise.  Do not use BP_SYM.
58120         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
58121         (PARMS): Do not use macros from bp-asm.h.
58122         (SKIP): Likewise.
58123         (strspn): Do not use BP_SYM.
58124         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
58125         (PARMS): Do not use macros from bp-asm.h.
58126         (STR): Likewise.
58127         (DELIM): Likewise.
58128         (SAVE): Likewise.
58129         (FUNCTION): Likewise.  Do not use BP_SYM.
58130         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
58131         aliases.
58132         (strtok_r): Likewise.
58133         (__GI___strtok_r): Likewise.
58134         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
58135         (PARMS): Do not use macros from bp-asm.h.
58136         (S1): Likewise.
58137         (S2): Likewise.
58138         (SIZE): Likewise.
58139         (__mpn_sub_n): Do not use BP_SYM.
58140         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
58141         "bp-asm.h".
58142         (PARMS): Do not use macros from bp-asm.h.
58143         (S1): Likewise.
58144         (SIZE): Likewise.
58145         (__mpn_submul_1): Do not use BP_SYM.
58146         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
58147         <bp-sym.h>.
58148         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
58149         and <bp-asm.h>.
58150         (PARMS): Do not use macros from bp-asm.h.
58151         (FLAGS): Likewise.
58152         (PTID): Likewise.
58153         (TLS): Likewise.
58154         (CTID): Likewise.
58155         (__clone): Do not use BP_SYM.
58156         (clone): Do not use BP_SYM in weak_alias.
58157         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
58158         and <bp-asm.h>.
58159         (PARMS): Do not use macros from bp-asm.h.
58160         (LEN): Likewise.
58161         (__mmap64): Do not use BP_SYM.
58162         (mmap64): Do not use BP_SYM in weak_alias.
58163         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
58164         <bp-sym.h> and <bp-asm.h>.
58165         (PARMS): Do not use macros from bp-asm.h.
58166         (__posix_fadvise64_l64): Do not use BP_SYM.
58167         * sysdeps/unix/sysv/linux/i386/semtimedop.S
58168         (PARMS): Do not use macros from bp-asm.h.
58169         (NSOPS): Likewise.
58170         (semtimedop): Do not use BP_SYM.
58171         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
58172         and <bp-asm.h>.
58174 2013-02-21  Allan McRae  <allan@archlinux.org>
58176         * manual/message.texi (Charset conversion in gettext):
58177         Move @end statement to beginning of line.
58179 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58181         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
58182         static.
58183         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
58184         Likewise.
58186         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
58187         (denorm): Likewise.
58188         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
58189         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
58191 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58193         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
58194         tail-call to the resolved function if pltexit isn't needed.
58196 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58198         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
58199         or Y being zero as being unlikely.
58200         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
58201         Likewise.
58203 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
58205         * manual/nss.texi (System Databases and Name Service Switch):
58206         Remove frobnicate @pxref.
58208 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
58210         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
58211         __attribute__ ((unused)) to __attribute__ ((__unused__)).
58213 2013-02-20  Petr Machata  <pmachata@redhat.com>
58215         * elf/elf.h (R_ARM_TARGET1): New macro.
58216         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
58217         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
58218         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
58219         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
58220         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
58221         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
58222         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
58223         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
58224         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
58225         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
58226         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
58227         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
58228         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
58229         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
58230         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
58231         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
58232         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
58233         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
58234         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
58235         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
58236         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
58237         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
58238         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
58239         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
58240         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
58241         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
58242         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
58243         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
58244         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
58245         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
58246         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
58247         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
58248         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
58249         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
58250         (R_ARM_THM_GOT_BREL12): Likewise.
58251         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
58252         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
58253         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
58254         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
58255         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
58256         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
58257         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
58258         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
58259         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
58261 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
58263         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
58264         __attribute_used__ to __attribute__ ((unused)).
58266 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58268         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
58269         powerpc mpa.c.
58270         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
58271         comment formatting.
58272         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
58274 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
58276         [BZ #13550]
58277         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
58278         Remove macro.
58279         (ENTER): Remove both macro definitions.
58280         (LEAVE): Likewise.
58281         (CHECK_BOUNDS_LOW): Likewise.
58282         (CHECK_BOUNDS_HIGH): Likewise.
58283         (CHECK_BOUNDS_BOTH): Likewise.
58284         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
58285         (RETURN_BOUNDED_POINTER): Likewise.
58286         (RETURN_NULL_BOUNDED_POINTER): Likewise.
58287         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
58288         (POP_ERRNO_LOCATION_RETURN): Likewise.
58289         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
58290         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58291         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
58292         macros.
58293         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58294         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
58295         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
58296         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
58297         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
58298         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
58299         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
58300         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
58301         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
58302         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
58303         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
58304         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
58305         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58306         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
58307         removed macros.
58308         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58309         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
58310         macros.
58311         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58312         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
58313         * sysdeps/i386/i586/memset.S (memset): Likewise.
58314         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
58315         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58316         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
58317         macros.
58318         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58319         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
58320         Change uses of L(2) to L(out).
58321         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
58322         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
58323         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
58324         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58325         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
58326         removed macros.
58327         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58328         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
58329         macros.
58330         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58331         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
58332         (RETURN): Do not use macro LEAVE.
58333         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
58334         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
58335         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
58336         * sysdeps/i386/i686/memset.S (memset): Likewise.
58337         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
58338         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
58339         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
58340         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
58341         Likewise.
58342         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
58343         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
58344         L(1_2) and L(1_3) into L(1).
58345         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
58346         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
58347         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58348         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
58349         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
58350         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
58351         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
58352         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58353         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
58354         macros.
58355         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
58356         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58357         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
58358         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
58359         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
58360         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58361         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
58362         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
58363         * sysdeps/i386/strcspn.S (strcspn): Likewise.
58364         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
58365         * sysdeps/i386/strrchr.S (strrchr): Likewise.
58366         * sysdeps/i386/strspn.S (strspn): Likewise.
58367         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
58368         conditional code.
58369         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
58370         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
58371         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
58372         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
58373         L(1_3) into L(1_1).
58374         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
58375         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58376         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
58377         macros.
58378         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58380 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
58382         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
58383         macro.
58385 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58387         * math/atest-exp.c (exp_mpn): Remove ROUND.
58388         * math/atest-exp2.c (exp_mpn): Likewise.
58389         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
58391         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
58392         * stdlib/tst-tls-atexit-lib.c: Likewise.
58393         * stdlib/tst-tls-atexit.c: Likewise.
58395 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
58397         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
58398         and __attribute_alloc_size__.
58400 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
58402         * include/programs/xmalloc.h: Change __attribute_alloc_size to
58403         __attribute_alloc_size__.
58404         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
58405         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
58407 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
58409         * include/programs/xmalloc.h: New file.
58410         * catgets/gencat.c: Include it.
58411         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
58412         * elf/pldd.c: Likewise.
58413         * iconv/iconv_charmap.c: Likewise.
58414         * iconv/iconvconfig.c: Likewise.
58415         * iconv/strtab.c: Likewise.
58416         * locale/programs/locale.c: Likewise.
58417         * locale/programs/localedef.h: Likewise.
58418         * locale/programs/simple-hash.c: Likewise.
58419         * nscd/nscd.h: Likewise.
58420         * nss/makedb.c: Likewise.
58421         * sysdeps/generic/ldconfig.h: Likewise.
58423 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58425         * Versions.def: Add GLIBC_2.18.
58426         * include/link.h (struct link_map): New member l_tls_dtor_count.
58427         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
58428         (__call_tls_dtors): Likewise.
58429         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
58430         __cxa_thread_atexit_impl.
58431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58432         Likewise.
58433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58434         Likewise.
58435         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58436         Likewise.
58437         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58438         Likewise.
58439         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
58440         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
58441         Likewise.
58442         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
58443         Likewise.
58444         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
58445         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
58446         Likewise.
58447         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
58448         (tests): Add test case tst-tls-atexit.
58449         (modules-names): Add shared library for tst-tls-atexit.
58450         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
58451         (GLIBC_PRIVATE): Add __call_tls_dtors.
58452         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
58453         for libstdc++.
58454         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
58455         * stdlib/tst-tls-atexit.c: New test case.
58456         * stdlib/tst-tls-atexit-lib.c: New test case.
58458         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
58460         * elf/Versions (ld): Add _dl_find_dso_for_object.
58461         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
58462         * elf/dl-open.c (_dl_find_dso_for_object): New function.
58463         (dl_open_worker): Use _dl_find_dso_for_object.
58464         * elf/dl-sym.c (do_sym): Likewise.
58465         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
58467 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58469         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
58470         Syntactic changes only.
58471         (_dl_runtime_profile): Do a tail-call to the resolved function.
58473 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
58475         [BZ #13550]
58476         * sysdeps/x86_64/bp-asm.h: Remove file.
58477         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
58478         <bp-sym.h> and <bp-asm.h>.
58479         (__clone): Do not use BP_SYM.
58480         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
58481         <bp-sym.h> and <bp-asm.h>.
58482         * sysdeps/unix/x86_64/sysdep.S: Likewise.
58483         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
58484         "bp-asm.h".
58485         (_setjmp): Do not use BP_SYM.
58486         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
58487         "bp-asm.h".
58488         (setjmp): Do not use BP_SYM.
58489         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
58490         libc_hidden_def.
58491         (mempcpy): Do not use BP_SYM in weak_alias.
58492         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
58493         "bp-asm.h".
58494         (strchr): Do not use BP_SYM.
58495         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
58496         "bp-asm.h".
58497         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
58498         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
58499         (_start): Do not use BP_SYM.
58500         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
58501         "bp-asm.h".
58502         (strcat): Do not use BP_SYM.
58503         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
58504         "bp-asm.h".
58505         (STRCMP): Do not use BP_SYM.
58506         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
58507         "bp-asm.h".
58508         (STRCPY): Do not use BP_SYM.
58509         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
58510         "bp-asm.h".
58511         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
58512         "bp-asm.h".
58513         (FUNCTION): Do not use BP_SYM.
58514         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
58515         weak_alias.
58516         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
58518 2013-02-17  Andreas Jaeger  <aj@suse.de>
58520         * time/Versions: Sort entries.
58521         * string/Versions: Likewise.
58522         * resolv/Versions: Likewise.
58523         * posix/Versions: Likewise.
58524         * iconv/Versions: Likewise.
58525         * elf/Versions: Likewise.
58526         * wcsmbs/Versions: Likewise.
58528 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58530         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
58531         loop termination condition.
58533         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
58534         variable to calculate EZ.
58535         (__sqr): Likewise.
58537         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
58538         the lower precision input.
58540 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
58542         [BZ #13550]
58543         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
58544         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
58545         (run-via-rtld-prefix): Do not handle %-bp tests.
58546         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
58547         (all-object-suffixes): Remove .ob.
58548         (bppfx): Remove variable.
58549         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
58550         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
58551         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
58552         [$(build-bounded) = yes] (libtype.ob): Likewise.
58553         * Makerules (elide-routines.ob): Remove variable.
58554         (do-tests-clean): Do not handle *-bp.out.
58555         (common-mostlyclean): Do not handle *-bp and *-bp.out.
58556         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
58557         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
58558         (tests): Do not include $(tests-bp.out).
58559         (xtests): Do not include $(xtests-bp.out).
58560         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
58561         [$(build-bounded) = yes] ($(addprefix
58562         $(objpfx),$(binaries-bounded))): Remove rule.
58563         ($(objpfx)%-bp.out): Remove rule.
58564         * config.make.in (build-bounded): Remove variable.
58565         * crypt/Makefile [$(build-bounded) = yes]
58566         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
58567         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
58568         append to variable.
58569         [$(build-bounded) = yes] (install-lib): Likewise.
58570         [$(build-bounded) = yes] (generated): Likewise.
58571         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
58572         Remove rule.
58573         * intl/Makefile [$(build-bounded) = yes]
58574         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
58575         * math/Makefile [$(build-bounded) = yes]
58576         ($(tests:%=$(objpfx)%-bp): Likewise.
58577         * misc/Makefile [$(build-bounded) = yes]
58578         ($(objpfx)tst-tsearch-bp): Likewise.
58579         * nptl/Makeconfig (bounded-thread-library): Remove variable.
58580         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
58581         Remove dependency.
58582         * string/Makefile (o-objects.ob): Remove variable.
58583         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
58584         (CFLAGS-.ob): Remove variable.
58585         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
58586         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
58587         both definitions of variable.
58588         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
58589         (ASFLAGS-.ob): Remove variable.
58591 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
58593         [BZ #13550]
58594         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
58595         Remove __BOUNDED_POINTERS__ from condition.
58596         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
58597         * string/bits/string2.h [!__NO_STRING_INLINES &&
58598         !__BOUNDED_POINTERS__]: Likewise.
58599         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
58600         Likewise.
58601         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
58602         Remove conditional code.
58603         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
58604         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
58605         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
58606         condition.
58608         [BZ #13550]
58609         * csu/libc-start.c: Do not include <bp-sym.h>.
58610         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
58611         * elf/dl-open.c: Do not include <bp-sym.h>.
58612         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
58613         * math/fegetenv.c: Do not include <bp-sym.h>.
58614         (fegetenv): Do not use BP_SYM in versioned symbols.
58615         * nptl/sysdeps/pthread/bits/libc-lockP.h
58616         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
58617         <bp-sym.h>.
58618         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58619         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
58620         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58621         (__pthread_mutex_destroy): Likewise.
58622         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58623         (__pthread_mutex_lock): Likewise.
58624         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58625         (__pthread_mutex_trylock): Likewise.
58626         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58627         (__pthread_mutex_unlock): Likewise.
58628         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58629         (__pthread_mutexattr_init): Likewise.
58630         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58631         (__pthread_mutexattr_destroy): Likewise.
58632         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58633         (__pthread_mutexattr_settype): Likewise.
58634         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58635         (__pthread_rwlock_init): Likewise.
58636         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58637         (__pthread_rwlock_destroy): Likewise.
58638         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58639         (__pthread_rwlock_rdlock): Likewise.
58640         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58641         (__pthread_rwlock_tryrdlock): Likewise.
58642         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58643         (__pthread_rwlock_wrlock): Likewise.
58644         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58645         (__pthread_rwlock_trywrlock): Likewise.
58646         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58647         (__pthread_rwlock_unlock): Likewise.
58648         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58649         (__pthread_key_create): Likewise.
58650         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58651         (__pthread_setspecific): Likewise.
58652         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58653         (__pthread_getspecific): Likewise.
58654         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
58655         Likewise.
58656         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58657         (_pthread_cleanup_push_defer): Likewise.
58658         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58659         (_pthread_cleanup_pop_restore): Likewise.
58660         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58661         (pthread_setcancelstate): Likewise.
58662         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
58663         <bp-sym.h>.
58664         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
58665         (memchr): Do not use BP_SYM in weak_alias.
58666         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
58667         (fegetenv): Do not use BP_SYM in versioned symbols.
58668         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
58669         (fesetenv): Do not use BP_SYM in versioned symbols.
58670         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
58671         (feupdateenv): Do not use BP_SYM in versioned symbols.
58672         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
58673         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
58674         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
58675         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
58676         (open64): Do not use BP_SYM in weak_alias.
58677         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
58678         (fegetenv): Do not use BP_SYM in versioned symbols.
58679         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
58680         (fesetenv): Do not use BP_SYM in versioned symbols.
58681         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
58682         (feupdateenv): Do not use BP_SYM in versioned symbols.
58683         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
58684         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
58685         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
58686         (feraiseexcept): Do not use BP_SYM in versioned symbols.
58687         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
58688         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
58689         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
58690         <bp-sym.h>.
58691         (__libc_start_main): Do not use BP_SYM.
58693 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58695         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
58696         redundant return line.
58697         (norm): Likewise.
58698         (denorm): Likewise.
58699         (dbl_mp): Likewise.
58700         (sub_magnitudes): Likewise.
58701         (__add): Likewise.
58702         (__sub): Likewise.
58703         (__mul): Likewise.
58704         (__inv): Likewise.
58705         (__dvd): Likewise.
58706         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
58707         (norm): Likewise.
58708         (denorm): Likewise.
58709         (dbl_mp): Likewise.
58710         (sub_magnitudes): Likewise.
58711         (__add): Likewise.
58712         (__sub): Likewise.
58713         (__mul): Likewise.
58714         (__inv): Likewise.
58715         (__dvd): Likewise.
58717         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
58718         instead of __mul.
58719         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
58720         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
58721         (cc32): Likewise.
58723         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
58724         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
58725         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
58726         of __mul for squares.
58727         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
58728         function
58729         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
58730         Likewise.
58731         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
58732         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58734 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
58736         [BZ #13550]
58737         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
58738         code.
58739         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
58740         prototype or function definition.  Rename ubp_* variables and
58741         parameters.  Remove argv definitions conditional on
58742         [__BOUNDED_POINTERS__].
58743         * debug/backtrace.c (__backtrace): Do not use __unbounded.
58744         * elf/dl-runtime.c (_dl_fixup): Likewise.
58745         * include/set-hooks.h (RUN_HOOK): Likewise.
58746         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
58747         definition.
58748         * string/strcpy.c (strcpy): Do not use __unbounded.
58749         * sysdeps/generic/frame.h (struct layout): Likewise.
58750         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
58751         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
58752         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
58753         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
58754         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
58755         (__backtrace): Likewise.
58756         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
58757         use __ptrvalue.
58758         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
58759         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
58760         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
58761         Likewise.
58762         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
58763         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
58764         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
58765         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
58766         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
58767         Do not use __unbounded.
58768         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
58769         Rename __unboundedrlimits parameter to rlimits in prototype.
58770         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
58771         Do not use __unbounded.
58772         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
58773         not use __ptrvalue.
58774         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
58775         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
58776         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
58777         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
58778         __ptrvalue or __unbounded.
58779         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
58780         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
58781         use __unbounded.
58782         (__new_msgctl): Do not use __ptrvalue.
58783         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
58784         __unbounded.
58785         (__libc_msgrcv): Do not use __ptrvalue.
58786         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
58787         startup_info): Do not use __unbounded.
58788         (__libc_start_main): Likewise.  Rename ubp_* variables and
58789         parameters.  Remove argv definitions conditional on
58790         [__BOUNDED_POINTERS__].
58791         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
58792         __ptrvalue.
58793         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
58794         use __unbounded.
58795         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
58796         or __ptrvalue.
58797         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
58798         use __unbounded.
58799         (__new_shmctl): Do not use __ptrvalue.
58800         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
58801         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
58802         Likewise.
58803         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
58804         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
58805         (__libc_sigaction): Likewise.
58806         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
58807         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
58808         Likewise.
58809         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
58811 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
58813         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
58815         * string/mempcpy.c: Implement by calling memcpy.
58817 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58819         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
58821         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
58822         evaluation.
58824         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
58825         values in the mantissa.
58827         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
58828         minimize writes to Z.
58829         (sub_magnitudes): Simplify code a bit.
58831 2013-02-12  Roland McGrath  <roland@hack.frob.com>
58833         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
58834         from the message.  The linker prefixes all warnings with that already.
58836 2013-02-12  Andreas Schwab  <schwab@suse.de>
58838         [BZ #15078]
58839         * posix/regexec.c (extend_buffers): Add parameter min_len.
58840         (check_matching): Pass minimum needed length.
58841         (clean_state_log_if_needed): Likewise.
58842         (get_subexp): Likewise.
58843         * posix/Makefile (tests): Add bug-regex34.
58844         (bug-regex34-ENV): Define.
58845         * posix/bug-regex34.c: New file.
58847         [BZ #11561]
58848         * posix/regcomp.c (parse_bracket_exp): When looking up collating
58849         elements compare against the byte sequence of it, not its name.
58850         * posix/Makefile (tests): Add bug-regex35.
58851         (bug-regex35-ENV): Define.
58852         * posix/bug-regex35.c: New file.
58854 2013-02-11  Tom de Vries  <tom@codesourcery.com>
58856         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
58857         comment.
58858         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
58859         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
58860         (CHECK_EOL): Add undef.
58862 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
58864         * bits/stdlib-bsearch.h: New file.
58865         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
58866         * stdlib/stdlib.h: Likewise.
58868 2013-02-11  Roland McGrath  <roland@hack.frob.com>
58870         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
58871         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
58872         declaration.
58873         * manual/search.texi (Array Search Function): Add missing const in
58874         lfind prototype.
58875         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
58876         declaration to use rlim_t.
58877         (Basic Scheduling Functions): Remove erroneous const from
58878         sched_getparam prototype.  Remove erroneous * from
58879         sched_get_priority_max and sched_get_priority_min prototypes.
58880         (Resource Usage): Fix summary @comment on vtimes to refer to
58881         sys/vtimes.h rather than vtimes.h.
58882         Add missing *s in vtimes prototype.
58883         (Limits on Resources): Fix ulimit prototype to return long int.
58884         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
58885         prototypes to use long int rather than double.
58886         (BSD Random): Fix initstate and setstate to use char *, not void *.
58887         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
58888         prototype to make second argument 'struct aiocb64 *const[]'.
58889         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
58890         (Status of AIO Operations): Remove erroneous const in aio_return and
58891         aio_return64 prototypes.
58892         (Synchronizing I/O): Fix sync prototype to return void.
58893         * manual/startup.texi (Suboptions): Remove an erroneous const in
58894         getsubopt prototype.
58895         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
58896         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
58897         use size_t rather than int.
58898         (Scanning All Users): Likewise for getpwent_r.
58899         (Setting Groups): Add missing const to setgroups prototype.
58900         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
58901         * manual/socket.texi (Host Names): Fix gethostbyaddr and
58902         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
58903         'const void *' rather than 'const char *'.
58904         (Host Address Functions): Likewise for inet_ntop.
58905         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
58906         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
58907         ssize_t for return value.
58908         (Sending Data): Likewise for send, sendto, sendmsg.
58909         (Socket Option Functions): Add a missing const in setsockopt prototype.
58910         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
58911         use wchar_t for the argument.
58912         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
58913         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
58914         take no arguments.
58915         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
58916         double/float/long double for second argument.
58917         Fix return types of significand, significandf, significandl.
58918         * manual/filesys.texi (Setting Permissions): Use mode_t for second
58919         argument in fchmod prototype.
58920         (File Owner): Use uid_t and gid_t in fchown prototype.
58921         (File Times): Add const to utimes, futimes, and lutimes prototypes.
58922         (Making Special Files): Use mode_t and dev_t in mknod prototype.
58923         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
58924         use 'const struct dirent **' as argument types to CMP function pointer
58925         argument.
58926         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
58927         (File Times): Fix summary magic @comment for struct utimbuf and utime
58928         to refer to utime.h, not time.h.
58929         * manual/string.texi (Argz Functions): Add missing const in
58930         argz_extract and argz_next prototypes.
58931         (Finding Tokens in a String): Likewise for basename.
58932         (String/Array Comparison): Fix typo in wcscasecmp prototype.
58933         (Copying and Concatenation): Fix typo in wmemmove prototype.
58934         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
58935         (Signal Stack): Remove erroneous const in sigstack prototype.
58936         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
58937         prototype.
58938         (Simple Calendar Time): Likewise for stime.
58939         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
58940         prototype.
58941         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
58942         say sys/sysctl.h instead.
58943         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
58944         and vsyslog prototypes.
58946 2013-02-11  Tom de Vries  <tom@codesourcery.com>
58948         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
58949         Remove.
58951 2013-02-11  Roland McGrath  <roland@hack.frob.com>
58953         * misc/sys/mman.h: Fix typo in mremap comment.
58955 2013-02-08  Roland McGrath  <roland@hack.frob.com>
58957         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
58958         the '\0' terminator.
58960 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
58962         [BZ #13550]
58963         * debug/segfault.c: Don't include <bp-checks.h>.
58964         * sysdeps/generic/bp-checks.h: Remove file.
58965         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
58966         (__GETDENTS): Don't use CHECK_N.
58967         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
58968         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
58969         (__getgroups): Don't use CHECK_N.
58970         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
58971         (setgroups): Don't use CHECK_N.
58972         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
58973         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
58974         (__libc_msgrcv): Don't use CHECK_N.
58975         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
58976         (__libc_msgsnd): Don't use CHECK_N.
58977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
58978         <bp-checks.h>.
58979         (__libc_pread): Don't use CHECK_N.
58980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
58981         include <bp-checks.h>.
58982         (__libc_pread64): Don't use CHECK_N.
58983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
58984         include <bp-checks.h>.
58985         (__libc_pwrite): Don't use CHECK_N.
58986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
58987         include <bp-checks.h>.
58988         (__libc_pwrite64): Don't use CHECK_N.
58989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
58990         <bp-checks.h>.
58991         (__libc_pread): Don't use CHECK_N.
58992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
58993         include <bp-checks.h>.
58994         (__libc_pread64): Don't use CHECK_N.
58995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
58996         include <bp-checks.h>.
58997         (__libc_pwrite): Don't use CHECK_N.
58998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
58999         include <bp-checks.h>.
59000         (__libc_pwrite64): Don't use CHECK_N.
59001         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
59002         (do_pread): Don't use CHECK_N.
59003         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
59004         (do_pread64): Don't use CHECK_N.
59005         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
59006         (do_pwrite): Don't use CHECK_N.
59007         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
59008         (do_pwrite64): Don't use CHECK_N.
59009         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
59010         (__libc_readv): Don't use CHECK_N.
59011         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
59012         (semop): Don't use CHECK_N.
59013         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
59014         <bp-checks.h>.
59015         (semtimedop): Don't use CHECK_N.
59016         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
59017         (__libc_pread): Don't use CHECK_N.
59018         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
59019         <bp-checks.h>.
59020         (__libc_pread64): Don't use CHECK_N.
59021         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
59022         <bp-checks.h>.
59023         (__libc_pwrite): Don't use CHECK_N.
59024         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
59025         <bp-checks.h>.
59026         (__libc_pwrite64): Don't use CHECK_N.
59027         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
59028         <bp-checks.h>.
59029         (__libc_msgrcv): Don't use CHECK_N.
59030         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
59031         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
59032         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
59033         (__libc_writev): Don't use CHECK_N.
59035 2013-02-08  Roland McGrath  <roland@hack.frob.com>
59037         * string/strcpy.c: Removed unused variable.
59039         * Makeconfig (+sysdep-includes): Define with := rather than =.
59040         Use an existing include/ subdir of each sysdeps dir before it.
59042 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
59044         * nscd/connection.c (register_traced_file): Comment function.
59045         [HAVE_INOTIFY] (union __inev): Define.
59046         [HAVE_INOTIFY] (inotify_check_files): New function.
59047         [HAVE_INOTIFY] (clear_db_cache): Likewise.
59048         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
59049         clear_db_cache.
59050         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
59052 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
59054         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
59055         loaded if not already and that a failure is permanent.
59057 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
59059         [BZ #15006]
59060         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
59061         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
59063 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
59065         [BZ #13550]
59066         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
59067         (CHECK_1_NULL_OK): Likewise.
59068         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
59069         (__fxstat): Do not use CHECK_1.
59070         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
59071         <bp-checks.h>.
59072         (___fxstat64): Do not use CHECK_1.
59073         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
59074         <bp-checks.h>.
59075         (__fxstatat): Do not use CHECK_1.
59076         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
59077         <bp-checks.h>.
59078         (__fxstatat64): Do not use CHECK_1.
59079         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
59080         <bp-checks.h>.
59081         (__fxstat): Do not use CHECK_1.
59082         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
59083         <bp-checks.h>.
59084         (__fxstatat): Do not use CHECK_1.
59085         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
59086         <bp-checks.h>.
59087         (__getresgid): Do not use CHECK_1.
59088         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
59089         <bp-checks.h>.
59090         (__getresuid): Do not use CHECK_1.
59091         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
59092         <bp-checks.h>.
59093         (__lxstat): Do not use CHECK_1.
59094         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
59095         <bp-checks.h>.
59096         (__old_msgctl): Do not use CHECK_1.
59097         (__new_msgctl): Likewise.
59098         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
59099         <bp-checks.h>.
59100         (__new_setrlimit): Do not use CHECK_1.
59101         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
59102         <bp-checks.h>.
59103         (__old_shmctl): Do not use CHECK_1.
59104         (__new_shmctl): Likewise.
59105         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
59106         <bp-checks.h>.
59107         (__xstat): Do not use CHECK_1.
59108         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
59109         (__lxstat): Do not use CHECK_1.
59110         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
59111         <bp-checks.h>.
59112         (___lxstat64): Do not use CHECK_1.
59113         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
59114         (__old_msgctl): Do not use CHECK_1.
59115         (__new_msgctl): Likewise.
59116         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
59117         <bp-checks.h>.
59118         (__gettimeofday): Do not use CHECK_1.
59119         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
59120         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
59121         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
59122         <bp-checks.h>.
59123         (__gettimeofday): Do not use CHECK_1.
59124         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
59125         (__old_shmctl): Do not use CHECK_1_NULL_OK.
59126         (__new_shmctl): Do not use CHECK_1.
59127         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
59128         <bp-checks.h>.
59129         (do_sigtimedwait): Do not use CHECK_1.
59130         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
59131         <bp-checks.h>.
59132         (do_sigwaitinfo): Do not use CHECK_1.
59133         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
59134         <bp-checks.h>.
59135         (msgctl): Do not use CHECK_1.
59136         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
59137         <bp-checks.h>.
59138         (shmctl): Do not use CHECK_1.
59139         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
59140         (ustat): Do not use CHECK_1.
59141         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
59142         <bp-checks.h>.
59143         (__fxstat): Do not use CHECK_1.
59144         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
59145         <bp-checks.h>.
59146         (__fxstatat): Do not use CHECK_1.
59147         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
59148         <bp-checks.h>.
59149         (__lxstat): Do not use CHECK_1.
59150         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
59151         <bp-checks.h>.
59152         (__xstat): Do not use CHECK_1.
59153         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
59154         (__xstat): Do not use CHECK_1.
59155         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
59156         (___xstat64): Do not use CHECK_1.
59158         [BZ #13550]
59159         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
59160         definitions.
59161         (CHECK_BOUNDS_HIGH): Likewise.
59162         * string/strcpy.c: Do not include <bp-checks.h>.
59163         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
59165 2013-02-07  Roland McGrath  <roland@hack.frob.com>
59167         * nscd/nscd-client.h (__nscd_drop_map_ref):
59168         Add __attribute__ ((unused)).
59169         * nis/nss-nisplus.h (niserr2nss): Likewise.
59171         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
59172         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
59174         * csu/libc-tls.c (init_static_tls, init_slotinfo):
59175         Remove inline keyword.
59176         * include/rounding-mode.h (round_away): Likewise.
59177         * libio/wfileops.c (adjust_wide_data): Likewise.
59178         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
59179         (__m128i_strloadu_tolower): Likewise.
59180         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
59181         (__m128i_strloadu_tolower): Likewise.
59182         * time/mktime.c (ydhms_diff): Likewise.
59183         * locale/elem-hash.h (elem_hash): Likewise.
59184         * locale/setlocale.c (setdata): Likewise.
59185         * posix/regex_internal.h (re_string_char_size_at): Likewise.
59186         (re_string_wchar_at): Likewise.
59187         (bitset_not, bitset_merge, bitset_mask): Likewise.
59188         [!(__GNUC__ > 3)] (inline): Remove macro.
59189         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
59190         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
59191         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
59192         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
59193         * string/memcmp.c (memcmp_bytes): Likewise.
59194         * locale/programs/locarchive.c (compute_hashval): Likewise.
59195         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
59196         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
59197         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
59198         * nss/getent.c (print_rpc, print_protocols): Likewise.
59199         (print_passwd, print_group, print_aliases): Likewise.
59200         * nis/nss-nisplus.h (niserr2nss): Likewise.
59201         * nscd/connections.c (restart_p): Likewise.
59202         Change return type to bool.
59204 2013-02-05  Roland McGrath  <roland@hack.frob.com>
59206         * Makeconfig (all-Depend-files): Add existing
59207         $(sorted-subdirs:=/Depend) files.
59208         (all-subdirs): Remove nss.
59209         * sysdeps/unix/inet/Subdirs: Add it here instead.
59210         * hesiod/Depend: New file.
59212         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
59213         instead of calling alloca.
59215         * io/lseek.c (__lseek): Rename to __libc_lseek.
59216         Define __lseek as an alias.
59218         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
59220 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
59222         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
59223         else clause and remove check for non-standard endianness.
59225 2013-02-04  David S. Miller  <davem@davemloft.net>
59227         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59229 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
59231         [BZ #13550]
59232         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
59233         (__ubp_memchr): Remove prototype.
59234         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
59235         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
59236         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
59237         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
59238         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
59239         Remove alias.
59240         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
59241         (__ubp_memchr): Likewise.
59242         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
59243         (__ubp_memchr): Likewise.
59244         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
59245         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
59246         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
59247         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
59248         CHECK_STRING.
59249         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
59250         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
59251         (__getcwd): Do not use CHECK_STRING.
59252         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
59253         <bp-checks.h>.
59254         (__real_chown): Do not use CHECK_STRING.
59255         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
59256         <bp-checks.h>.
59257         (fchownat): Do not use CHECK_STRING.
59258         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
59259         CHECK_STRING.
59260         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
59261         <bp-checks.h>.
59262         (__lchown): Do not use CHECK_STRING.
59263         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
59264         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
59265         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
59266         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
59267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
59268         include <bp-checks.h>.
59269         (truncate64): Do not use CHECK_STRING.
59270         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
59271         <bp-checks.h>.
59272         (__real_chown): Do not use CHECK_STRING.
59273         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
59274         <bp-checks.h>.
59275         (__lchown): Do not use CHECK_STRING.
59276         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
59277         <bp-checks.h>.
59278         (__chown): Do not use CHECK_STRING.
59279         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
59280         <bp-checks.h>.
59281         (truncate64): Do not use CHECK_STRING.
59282         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
59283         Likewise.
59284         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
59285         (__xmknod): Do not use CHECK_STRING.
59286         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
59287         <bp-checks.h>.
59288         (__xmknodat): Do not use CHECK_STRING.
59289         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
59290         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
59292 2013-02-04  Andreas Schwab  <schwab@suse.de>
59294         [BZ #14142]
59295         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
59296         * include/netdb.h: Likewise for h_errno.
59297         * elf/tst-stackguard1.c: Include <tls.h>.
59299 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
59301         * elf/link.h (struct link_map): Extend the l_addr comment.
59302         * include/link.h (struct link_map): Likewise.
59304 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
59306         [BZ #13550]
59307         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
59308         (BOUNDED_1): Remove macro.
59309         * debug/backtrace.c: Don't include <bp-checks.h>.
59310         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
59311         (__backtrace): Likewise.
59312         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
59313         <bp-checks.h>.
59314         (__backtrace): Don't use BOUNDED_1.
59315         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
59316         <bp-checks.h>.
59317         (__backtrace): Don't use BOUNDED_1.
59318         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
59319         (__backtrace): Don't use BOUNDED_1.
59320         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
59321         (shmat): Don't use BOUNDED_N.
59323 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
59325         [BZ #13550]
59326         * sysdeps/generic/bp-start.h: Remove file.
59327         * csu/libc-start.c: Don't include <bp-start.h>.
59328         (LIBC_START_MAIN): Set up __environ directly instead of using
59329         INIT_ARGV_and_ENVIRON.
59330         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
59331         <bp-start.h>.
59333         [BZ #13550]
59334         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
59335         definitions.
59336         (CHECK_FCNTL): Likewise.
59337         (CHECK_N_PAGES): Likewise.
59339         [BZ #13550]
59340         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
59341         definitions.
59342         (CHECK_SIGSET_NULL_OK): Likewise.
59343         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
59344         <bp-checks.h>.
59345         (sigpending): Don't use CHECK_SIGSET.
59346         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
59347         <bp-checks.h>.
59348         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
59349         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
59350         <bp-checks.h>.
59351         (do_sigsuspend): Don't use CHECK_SIGSET.
59352         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
59353         use CHECK_SIGSET.
59354         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
59355         (do_sigwait): Don't use CHECK_SIGSET.
59356         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
59357         use CHECK_SIGSET.
59358         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
59359         include <bp-checks.h>.
59360         (sigpending): Don't use CHECK_SIGSET.
59361         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
59362         include <bp-checks.h>.
59363         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
59364         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
59365         <bp-checks.h>.
59366         (sigpending): Don't use CHECK_SIGSET.
59367         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
59368         <bp-checks.h>.
59369         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
59371         [BZ #13550]
59372         * sysdeps/generic/bp-semctl.h: Remove file.
59373         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
59374         <bp-checks.h> and <bp-semctl.h>.
59375         (__old_semctl): Don't use CHECK_SEMCTL.
59376         (__new_semctl): Likewise.
59377         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
59378         and <bp-semctl.h>.
59379         (__old_semctl): Don't use CHECK_SEMCTL.
59380         (__new_semctl): Likewise.
59381         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
59382         <bp-checks.h> and <bp-semctl.h>.
59383         (__old_semctl): Don't use CHECK_SEMCTL.
59384         (__new_semctl): Likewise.
59385         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
59386         <bp-checks.h> and <bp-semctl.h>.
59387         (semctl): Don't use CHECK_SEMCTL.
59389         [BZ #13550]
59390         * Makerules (elide-bp-thunks): Remove variable.
59391         (elide-routines.oS): Don't use $(elide-bp-thunks).
59392         (elide-routines.os): Likewise.
59393         (elide-routines.o): Likewise.
59394         (elide-routines.op): Likewise.
59395         (elide-routines.og): Likewise.
59396         (objects): Don't use $(bp-thunks).
59397         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
59398         include.
59399         (common-generated): Do not add s-proto-bp.d.
59400         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
59401         (int): Likewise.
59402         (typ): Likewise.
59403         Do not generate makefile rules for bounded-pointer thunks.
59404         * sysdeps/generic/bp-thunks.h: Remove file.
59405         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
59406         * sysdeps/unix/s-proto-bp.S: Likewise.
59408         [BZ #15062]
59409         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
59410         parts of result separately when argument is not close to line from
59411         -i to i and one part of argument is small.
59412         * math/k_casinhf.c (__kernel_casinhf): Likewise.
59413         * math/k_casinhl.c (__kernel_casinhl): Likewise.
59414         * math/libm-test.inc (cacos_test): Add more tests.
59415         (casin_test): Likewise.
59416         (casinh_test): Likewise.
59417         * sysdeps/i386/fpu/libm-test-ulps: Update.
59418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59420 2013-01-31  David S. Miller  <davem@davemloft.net>
59422         * po/de.po: Update from translation team.
59424 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
59426         * time/tzfile.c: Include stdint.h for SIZE_MAX.
59428 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
59430         * configure.in (_AC_PROG_CC_C89): New definition.
59431         * configure: Regenerate.
59433         * configure.in (AC_PROG_CPP): New definition.
59434         * configure: Regenerate.
59436 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
59438         * debug/tst-backtrace.h: New file.
59439         * debug/tst-backtrace2.c: Include tst-backtrace.h.
59440         (ret): Remove variable.
59441         (x): Likewise.
59442         (FAIL): Remove macro.
59443         (NO_INLINE): Likewise.
59444         (fn1): Use match function instead of strstr.
59445         * debug/tst-backtrace3.c: Include tst-backtrace.h.
59446         (ret): Remove variable.
59447         (x): Likewise.
59448         (FAIL): Remove macro.
59449         (NO_INLINE): Likewise.
59450         (fn): Use match function instead of strstr.
59451         * debug/tst-backtrace4.c: Include tst-backtrace.h.
59452         (ret): Remove variable.
59453         (x): Likewise.
59454         (FAIL): Remove macro.
59455         (NO_INLINE): Likewise.
59456         (handle_signal): Use match function instead of strstr.
59457         * debug/tst-backtrace5.c: Include tst-backtrace.h.
59458         (ret): Remove variable.
59459         (x): Likewise.
59460         (FAIL): Remove macro.
59461         (NO_INLINE): Likewise.
59462         (handle_signal): Use match function instead of strstr.
59464 2013-01-23  Roland McGrath  <roland@hack.frob.com>
59466         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
59468 2013-01-23  David S. Miller  <davem@davemloft.net>
59470         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
59471         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
59472         argument of CAS if possible.
59473         * sysdeps/sparc/sparc64/bits/atomic.h
59474         (__arch_compare_and_exchange_val_32_acq): Likewise.
59475         (__arch_compare_and_exchange_val_64_acq): Likewise.
59477 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
59479         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
59480         * sysdeps/posix/ulimit.c: ... this.
59481         Include <limits.h>.
59482         * sysdeps/unix/bsd/ulimit.c: Remove file.
59484 2013-01-23  Adam Conrad  <adconrad@0c3.net>
59486         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
59487         (LDFLAGS-tst-array5): Likewise.
59489 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
59491         [BZ #15036]
59492         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
59493         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
59494         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
59495         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
59497 2013-01-21  David S. Miller  <davem@davemloft.net>
59499         * sysdeps/sparc/backtrace.c: New file.
59500         * sysdeps/sparc/sparc32/backtrace.h: New file.
59501         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
59502         * sysdeps/sparc/sparc64/backtrace.h: New file.
59503         * sysdeps/sparc/sparc64/backtrace.c: Delete.
59504         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
59505         -funwind-tables.
59507 2013-01-21  Andreas Schwab  <schwab@suse.de>
59509         [BZ #15020]
59510         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
59511         closed its stdout.
59513 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
59515         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
59516         "mpa2.h".
59517         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59519 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
59520             Mark Mitchell  <mark@codesourcery.com>
59521             Tom de Vries  <tom@codesourcery.com>
59522             Paul Pluzhnikov  <ppluzhnikov@google.com>
59524         * debug/tst-backtrace2.c: New file.
59525         * debug/tst-backtrace3.c: Likewise.
59526         * debug/tst-backtrace4.c: Likewise.
59527         * debug/tst-backtrace5.c: Likewise.
59528         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
59529         (CFLAGS-tst-backtrace3.c): Likewise.
59530         (CFLAGS-tst-backtrace4.c): Likewise.
59531         (CFLAGS-tst-backtrace5.c): Likewise.
59532         (LDFLAGS-tst-backtrace2): Likewise.
59533         (LDFLAGS-tst-backtrace3): Likewise.
59534         (LDFLAGS-tst-backtrace4): Likewise.
59535         (LDFLAGS-tst-backtrace5): Likewise.
59536         (tests): Add new tests tst-backtrace2, tst-backtrace3,
59537         tst-backtrace4 and tst-backtrace5.
59539 2013-01-18  Anton Blanchard  <anton@samba.org>
59540             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59542         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
59543         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
59544         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
59545         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
59546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
59547         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
59548         "+r" and remove output regs list as redundant.  Add explicit inline
59549         asm to specify register of return val to work around compiler codegen
59550         bug.  Remove (int) cast on return value.  Add return type parameter to
59551         use in macro so that this macro does not truncate return value for
59552         64-bit values.
59553         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
59554         pass to INTERNAL_VSYSCALL_NCS.
59555         (INLINE_VSYSCALL): Add 'long int' as return type to
59556         INTERNAL_VSYSCALL_NCS macro invocation.
59557         (INTERNAL_VSYSCALL): Add 'long int' as return type to
59558         INTERNAL_VSYSCALL_NCS macro invocation.
59559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
59561 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59563         [BZ #14496]
59564         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
59565         Fix application of SIMD FP exception mask.
59567         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
59568         mp_no from a power of two.
59569         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
59570         __mpexp_twomm1.  Use __pow_mp.
59572         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
59573         multiplication.
59575 2013-01-17  David S. Miller  <davem@davemloft.net>
59577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59579 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
59581         [BZ #15023]
59582         * include/complex.h: Condition contents on [!_COMPLEX_H].
59583         (__kernel_casinhf): New prototype.
59584         (__kernel_casinh): Likewise.
59585         (__kernel_casinhl): Likewise.
59586         * math/Makefile (libm_calls): Add k_casinh.
59587         * math/k_casinh.c: New file.
59588         * math/k_casinhf.c: Likewise.
59589         * math/k_casinhl.c: Likewise.
59590         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
59591         finite nonzero arguments.
59592         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
59593         finite nonzero arguments.
59594         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
59595         finite nonzero arguments.
59596         * math/s_casinh.c: Do not include <float.h>.
59597         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
59598         * math/s_casinhf.c: Do not include <float.h>.
59599         (__casinhf): Move code for finite nonzero arguments to
59600         k_casinhf.c.
59601         * math/s_casinhl.c: Do not include <float.h>.
59602         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
59603         redefine.
59604         (__casinhl): Move code for finite nonzero arguments to
59605         k_casinhl.c.
59606         * math/libm-test.inc (cacos_test): Add more tests.
59607         * sysdeps/i386/fpu/libm-test-ulps: Update.
59608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59610 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
59612         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
59613         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
59614         [!HAVE_MREMAP]: Remove [defined linux] case.
59615         * malloc/arena.c: Do not include <malloc-sysdep.h>.
59617 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
59619         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
59621 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
59623         * elf/elf.h (R_386_SIZE32): New relocation.
59624         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
59625         R_386_SIZE32.
59626         (elf_machine_rela): Likewise.
59627         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
59628         R_X86_64_SIZE64 and R_X86_64_SIZE32.
59630 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
59632         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
59633         (FP_FAST_FMA): Do not define.
59634         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
59635         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
59636         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
59637         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
59638         !_SOFT_FLOAT]: Likewise.
59639         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
59640         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
59641         value.
59642         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
59643         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
59644         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
59645         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
59646         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
59647         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
59648         file.
59650 2013-01-16  Andreas Schwab  <schwab@suse.de>
59652         [BZ #14327]
59653         * include/stdlib.h (__mktemp): Add declaration.
59654         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
59655         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
59657 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59659         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
59660         definitions.
59661         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
59662         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
59663         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
59664         definitions here.
59665         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
59666         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
59667         definitions.
59668         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
59669         and ONE.
59670         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
59671         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
59672         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
59673         definitions.
59674         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
59675         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
59676         definitions.
59677         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
59679         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
59681 2013-01-15  David S. Miller  <davem@davemloft.net>
59683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59684         trunc{,f} to libm-sysdep_routes.
59685         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
59687         file.
59688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
59689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
59690         file.
59691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
59692         file.
59693         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
59694         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
59695         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
59696         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
59697         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
59698         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
59699         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
59700         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
59702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59703         nearbyint{,f} to libm-sysdep_routes.
59704         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
59706         New file.
59707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
59708         file.
59709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
59710         New file.
59711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
59712         file.
59713         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
59714         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
59715         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
59716         file.
59717         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
59718         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
59719         file.
59720         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
59721         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
59722         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
59724         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
59725         libc_feholdexcept and libc_fesetenv.
59727 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
59729         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
59731 2013-01-14  David S. Miller  <davem@davemloft.net>
59733         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
59734         (SPARC_ASM_VIS2_IFUNC): Likewise.
59735         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
59736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
59737         use of 'siam' instruction.
59738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
59739         Likewise.
59740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
59741         Likewise.
59742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
59743         Likewise.
59744         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
59745         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
59746         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
59747         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
59748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
59749         file.
59750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
59751         file.
59752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
59753         file.
59754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
59755         file.
59756         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
59757         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
59758         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
59759         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
59760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
59761         new VIS2 routines.
59762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
59763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
59764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
59765         Likewise.
59766         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
59767         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
59768         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
59769         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
59770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
59771         routines to libm-sysdep_routines.
59772         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59775         fdim/fdimf to libm-sysdep_routines.
59776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
59777         file.
59778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
59779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
59780         file.
59781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
59782         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
59783         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
59784         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
59785         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
59786         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
59787         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
59789 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
59791         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
59792         to optimize copies.
59794         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
59795         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59796         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59798         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
59799         local variable MPTWO.
59800         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
59801         Likewise.
59803 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59805         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
59806         GLOB_NOESCAPE.
59808 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59810         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
59812 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59814         * manual/pattern.texi (glob_t): Document gl_flags.
59815         (glob64_t): Likewise.
59817 2013-01-11  David S. Miller  <davem@davemloft.net>
59819         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
59820         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
59821         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
59822         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
59823         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
59824         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
59825         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
59826         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
59827         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
59828         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
59829         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
59830         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
59831         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
59833         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
59834         sparc V9 rather than using V8 code.
59835         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59836         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59838         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
59839         Move to...
59840         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
59841         Here.
59843 2013-01-11  Roland McGrath  <roland@hack.frob.com>
59845         [BZ #14941]
59846         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
59847         not in the main loop.
59848         * configure: Regenerated.
59850 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
59852         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
59853         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
59854         to just #else.
59855         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
59856         [!__GLIBC_HAVE_LONG_LONG] case.
59857         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
59858         condition to just #else.
59859         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
59860         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
59861         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
59862         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
59863         unconditional.
59864         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
59865         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
59866         #elif condition to just #else.
59867         * sysdeps/unix/sysv/linux/sys/sysmacros.h
59868         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
59869         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
59870         #elif condition to just #else.
59872 2013-01-11  Steve Ellcey  <sellcey@mips.com>
59874         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
59875         (EF_MIPS_ARCH_64): Fix value.
59876         (EF_MIPS_ARCH_32R2): New.
59877         (EF_MIPS_ARCH_64R2): New.
59879 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
59881         * Makeconfig (+link-pie-before-libc): New.
59882         (+link-pie-after-libc): Likewise.
59883         (+link-pie-tests): Likewise.
59884         (+link-pie): Rewritten.
59885         (link-before-libc): Remove $(config-LDFLAGS).
59886         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
59887         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
59888         (config-LDFLAGS): Renamed to ...
59889         (rtld-LDFLAGS): This.
59890         (rtld-tests-LDFLAGS): New macro.
59891         (link-libc-rpath-link): Likewise.
59892         (link-libc-tests-rpath-link): Likewise.
59893         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
59894         (link-libc): Prepand $(link-libc-rpath-link).
59895         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
59896         (test-program-prefix): New macro.
59897         (test-via-rtld-prefix): Likewise.
59898         (test-program-cmd): Likewise.
59899         (host-test-program-cmd): Likewise.
59900         * Makefile ($(common-objpfx)testrun.sh): Replace
59901         $(run-program-prefix) with $(test-program-prefix).
59902         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
59903         $(rtld-LDFLAGS).
59904         ($(common-objpfx)shlib.lds): Likewise.
59905         (build-module-helper): Likewise.
59906         ($(common-objpfx)format.lds): Likewise.
59907         * Rules (binaries-pie-tests): New.
59908         (binaries-pie-notests): Likewise.
59909         (binaries-pie): Rewritten.
59910         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
59911         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
59912         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
59913         (make-test-out): Replace $(host-built-program-cmd) with
59914         $(host-test-program-cmd).
59915         * config.make.in (build-hardcoded-path-in-tests): New variable.
59916         * configure.in (--enable-hardcoded-path-in-tests): New configure
59917         option.
59918         (hardcoded_path_in_tests): New AC_SUBST.
59919         * configure: Regenerated.
59920         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
59921         $(built-program-cmd) with $(test-program-cmd).
59922         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
59923         (test_program_cmd): This.
59924         * elf/Makefile ($(objpfx)order.out): Run test with
59925         $(test-program-prefix).
59926         ($(objpfx)order2.out): Likewise.
59927         ($(objpfx)tst-initorder.out): Likewise.
59928         ($(objpfx)tst-initorder2.out): Likewise.
59929         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
59930         $(test-program-cmd).
59931         ($(objpfx)tst-array1-static.out): Likewise.
59932         ($(objpfx)tst-array2.out): Likewise.
59933         ($(objpfx)tst-array3.out): Likewise.
59934         ($(objpfx)tst-array4.out): Likewise.
59935         ($(objpfx)tst-array5.out): Likewise.
59936         ($(objpfx)tst-array5-static.out): Likewise.
59937         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
59938         $(test-program-cmd).
59939         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
59940         $(run-program-prefix) with $(test-program-prefix).
59941         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
59942         (test_program_prefix): This.
59943         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
59944         $(run-program-prefix) with $(test-program-prefix).
59945         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
59946         (test_program_prefix): This.
59947         * iconvdata/tst-tables.sh: Likewise.
59948         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
59949         $(run-program-prefix) with $(test-program-prefix).
59950         ($(objpfx)tst-translit.out): Likewise.
59951         ($(objpfx)tst-gettext2.out): Likewise.
59952         ($(objpfx)tst-gettext4.out): Likewise.
59953         ($(objpfx)tst-gettext6.out): Likewise.
59954         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
59955         (test_program_prefix): This.
59956         * intl/tst-gettext2.sh: Likewise.
59957         * intl/tst-gettext4.sh  Likewise.
59958         * intl/tst-gettext6.sh: Likewise.
59959         * intl/tst-translit.sh: Likewise.
59960         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
59961         with $(test-program-cmd).
59962         * libio/Makefile ($(objpfx)test-freopen.out): Replace
59963         $(run-program-prefix) with $(test-program-prefix).
59964         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
59965         (test_program_prefix): This.
59966         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
59967         $(run-program-prefix) with $(test-program-prefix).
59968         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
59969         (test_program_prefix): This.
59970         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
59971         * posix/Makefile ($(objpfx)globtest.out): Replace
59972         $(run-via-rtld-prefix) and $(test-wrapper) with
59973         $(test-program-prefix) and $(test-via-rtld-prefix).
59974         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
59975         $(test-program-prefix).
59976         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
59977         $(host-test-program-cmd).
59978         (tst-spawn-ARGS): Likewise.
59979         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
59980         $(test-program-prefix).
59981         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
59982         (test_via_rtld_prefix): This.
59983         (test_wrapper): Renamed to ...
59984         (test_program_prefix): This.
59985         (run_program_prefix): Replaced by test_program_prefix.
59986         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
59987         (test_program_prefix): This.
59988         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
59989         with $(host-test-program-cmd).
59990         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
59991         $(run-program-prefix) with $(test-program-prefix).
59992         ($(objpfx)tst-printf.out): Likewise.
59993         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
59994         $(test-program-cmd).
59995         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
59996         (test_program_prefix): This.
59997         * stdio-common/tst-unbputc.sh: Likewise.
59998         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
59999         $(run-program-prefix) with $(test-program-prefix).
60000         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
60001         (test_program_prefix): This.
60002         * string/Makefile ($(objpfx)tst-svc.out):  Replace
60003         $(built-program-cmd) with $(test-program-cmd).
60005 2013-01-11  Andreas Jaeger  <aj@suse.de>
60007         [BZ #15003]
60008         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
60009         value. Sync with Linux 3.7.
60011 2013-01-10  David S. Miller  <davem@davemloft.net>
60013         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
60014         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
60015         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
60017 2013-01-10  Roland McGrath  <roland@hack.frob.com>
60019         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
60020         never set.
60021         * configure: Regenerated.
60023 2013-01-10  David S. Miller  <davem@davemloft.net>
60025         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
60026         sparc V9 rather than using V8 code.
60027         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
60028         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
60030 2013-01-10  Roland McGrath  <roland@hack.frob.com>
60032         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
60033         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
60034         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
60035         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
60036         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
60037         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
60038         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
60039         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
60040         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
60041         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
60042         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
60043         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
60044         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
60045         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
60046         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
60047         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
60048         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
60049         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
60050         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
60051         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
60052         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
60053         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
60054         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
60055         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
60056         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
60057         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
60058         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
60060 2013-01-10  David S. Miller  <davem@davemloft.net>
60062         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60064 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
60066         * posix/Makefile (tests-static): New variable.
60067         (tests): Add $(tests-static).
60068         (tst-exec-static-ARGS): New variable.
60069         (tst-spawn-static-ARGS): Likewise.
60070         * posix/tst-exec-static.c: New file.
60071         * posix/tst-spawn-static.c: Likewise.
60072         * posix/tst-exec.c: Support run directly.
60073         * posix/tst-spawn.c: Likewise.
60075 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
60077         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
60078         long.
60079         * math/bits/mathcalls.h (llrint): Likewise.
60080         (llround): Likewise.
60081         * stdlib/stdlib.h (struct drand48_data): Likewise.
60082         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
60083         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
60084         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
60085         Likewise.
60086         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
60087         Likewise.
60088         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
60089         (elf_greg_t): Likewise.
60090         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
60091         (__jmp_buf): Likewise.
60092         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
60093         definitions.
60094         (llrint): Likewise, for all definitions.
60095         (llrintl): Likewise.
60097         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
60098         Remove [__GNUC__] condition.
60099         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
60100         condition to just [__USE_ISOC99].
60101         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
60103 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
60105         [BZ #14200]
60106         * sysdeps/unix/sysv/linux/x86/bits/environments.h
60107         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
60108         defined.
60109         (_POSIX_V6_ILP32_OFF32): Likewise.
60110         (_XBS5_ILP32_OFF32): Likewise.
60111         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
60112         (__ILP32_OFFBIG_LDFLAGS): Likewise.
60114 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60116         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
60118         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
60119         doubles __mpexp_twomm1.  Adjust usage.
60120         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
60121         Remove.
60123 2013-01-10  Andreas Schwab  <schwab@suse.de>
60125         [BZ #14964]
60126         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
60127         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
60129 2013-01-09  David S. Miller  <davem@davemloft.net>
60131         [BZ #15003]
60132         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
60133         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
60134         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
60135         (TCP_FASTOPEN): Define.
60136         (tcp_repair_opt): New structure.
60137         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
60138         enum values.
60139         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
60140         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
60141         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
60142         (tcp_cookie_transactions): New structure.
60144 2013-01-09  Anton Blanchard  <anton@samba.org>
60146         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
60147         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
60148         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
60149         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
60151 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
60153         * include/features.h (__USE_ANSI): Remove.
60155 2013-01-09  Roland McGrath  <roland@hack.frob.com>
60157         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
60159         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
60161 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
60163         * sysdeps/s390/fpu/libm-test-ulps: Update.
60165         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60167         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
60168         (__acr): Likewise.
60169         (__cpy): Likewise.
60170         (norm): Likewise.
60171         (denorm): Likewise.
60172         (__mp_dbl): Likewise.
60173         (__dbl_mp): Likewise.
60174         (add_magnitudes): Likewise.
60175         (sub_magnitudes): Likewise.
60176         (__add): Likewise.
60177         (__sub): Likewise.
60178         (__mul): Likewise.
60179         (__inv): Likewise.
60180         (__dvd): Likewise.
60181         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
60182         (__acr): Likewise.
60183         (__cpy): Likewise.
60184         (norm): Likewise.
60185         (denorm): Likewise.
60186         (__mp_dbl): Likewise.
60187         (__dbl_mp): Likewise.
60188         (add_magnitudes): Likewise.
60189         (sub_magnitudes): Likewise.
60190         (__add): Likewise.
60191         (__sub): Likewise.
60192         (__mul): Likewise.
60193         (__inv): Likewise.
60194         (__dvd): Likewise.
60195         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
60196         (__acr): Likewise.
60197         (__cpy): Likewise.
60198         (norm): Likewise.
60199         (denorm): Likewise.
60200         (__mp_dbl): Likewise.
60201         (__dbl_mp): Likewise.
60202         (add_magnitudes): Likewise.
60203         (sub_magnitudes): Likewise.
60204         (__add): Likewise.
60205         (__sub): Likewise.
60206         (__mul): Likewise.
60207         (__inv): Likewise.
60208         (__dvd): Likewise.
60210 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
60212         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
60213         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
60214         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
60215         2 && __USE_EXTERN_INLINES]: Likewise.
60217 2013-01-08  Andreas Jaeger  <aj@suse.de>
60219         [BZ# 14985]
60220         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
60221         Remove.
60222         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
60223         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
60225 2013-01-07  Anton Blanchard  <anton@samba.org>
60227         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
60228         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
60229         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
60230         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
60231         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
60232         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
60233         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
60234         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
60235         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
60236         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
60237         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
60238         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
60239         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
60240         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
60241         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
60242         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
60243         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
60244         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
60245         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
60246         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
60247         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
60248         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
60249         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60250         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
60251         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
60252         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
60253         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
60254         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
60255         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
60256         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
60257         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
60258         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60259         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
60260         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
60261         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
60262         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60263         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
60264         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
60265         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
60266         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
60267         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
60268         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60269         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
60271 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
60273         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
60274         (__MALLOC_PMT): Likewise.
60275         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
60276         [__GNUC__], only on [_LIBC].
60277         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
60278         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
60279         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
60280         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
60281         forward declaration.
60282         (realloc_hook_ini): Likewise.
60283         (memalign_hook_ini): Likewise.
60284         (__libc_memalign): Do not use __MALLOC_PMT in variable
60285         declaration.
60286         (__libc_valloc): Likewise.
60287         (__libc_pvalloc): Likewise.
60288         (__libc_calloc): Likewise.
60289         (__posix_memalign): Likewise.
60291         [BZ #14996]
60292         * math/s_casinh.c: Include <float.h>.
60293         (__casinh): Do not do computation with squaring and square root
60294         for large arguments.
60295         * math/s_casinhf.c: Include <float.h>.
60296         (__casinhf): Do not do computation with squaring and square root
60297         for large arguments.
60298         * math/s_casinhl.c: Include <float.h>.
60299         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
60300         (__casinhl): Do not do computation with squaring and square root
60301         for large arguments.
60302         * math/libm-test.inc (casin_test): Add more tests.
60303         (casinh_test): Likewise.
60304         * sysdeps/i386/fpu/libm-test-ulps: Update.
60305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60307 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
60309         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
60310         (__x86_64_raw_data_cache_size): Likewise.
60311         (__x86_64_data_cache_size_half): Likewise.
60312         (__x86_64_raw_data_cache_size_half): Likewise.
60313         (__x86_64_shared_cache_size): Likewise.
60314         (__x86_64_raw_shared_cache_size): Likewise.
60315         (__x86_64_shared_cache_size_half): Likewise.
60316         (__x86_64_raw_shared_cache_size_half): Likewise.
60317         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
60318         to ...
60319         (__x86_data_cache_size): This.
60320         (__x86_64_raw_data_cache_size): Renamed to ...
60321         (__x86_raw_data_cache_size): This.
60322         (__x86_64_data_cache_size_half): Renamed to ...
60323         (__x86_data_cache_size_half): This.
60324         (__x86_64_raw_data_cache_size_half): Renamed to ...
60325         (__x86_raw_data_cache_size_half): This.
60326         (__x86_64_shared_cache_size): Renamed to ...
60327         (__x86_shared_cache_size): This.
60328         (__x86_64_raw_shared_cache_size): Renamed to ...
60329         (__x86_raw_shared_cache_size): This.
60330         (__x86_64_shared_cache_size_half): Renamed to ...
60331         (__x86_shared_cache_size_half): This.
60332         (__x86_64_raw_shared_cache_size_half): Renamed to ...
60333         (__x86_raw_shared_cache_size_half): This.
60334         * sysdeps/x86_64/memcpy.S: Updated.
60335         * sysdeps/x86_64/memset.S: Likewise.
60336         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
60337         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60338         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60340 2013-01-04  David S. Miller  <davem@davemloft.net>
60342         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60344 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
60346         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
60347         1 to avoid redefinition warning.
60348         (__USE_GNU): Don't define.
60349         (init_signaling_nan): Protoize.
60351         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60353 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60355         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
60356         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
60357         (__cpymn): Likewise.
60358         (norm): Remove commented code.
60359         (denorm): Likewise.
60360         (__mp_dbl): Likewise.
60361         (__inv): Likewise.
60362         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
60363         (__cpymn): Likewise.
60364         (norm): Remove commented code.
60365         (denorm): Likewise.
60366         (__mp_dbl): Likewise.
60367         (__inv): Likewise.
60369         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
60370         mp_no value for 1.0 and 2.0.
60371         (norm): Use RADIXI instead of radixi.d.
60372         (denorm): Likewise.
60373         (__mul): Use 0.0 instead of zero.d.
60374         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
60375         mp_no value for 1.0 and 2.0.
60376         (norm): Use RADIXI instead of radixi.d.
60377         (denorm): Likewise.
60378         (__mul): Use 0.0 instead of zero.d.
60380 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
60382         [BZ #14994]
60383         * math/s_casinh.c (__casinh): Reduce finite argument to first
60384         quadrant then set signs of results at the end.
60385         * math/s_casinhf.c (__casinhf): Likewise.
60386         * math/s_casinhl.c (__casinhl): Likewise.
60387         * math/libm-test.inc (casin_test): Add more tests.
60388         (casinh_test): Likewise.
60389         * sysdeps/i386/fpu/libm-test-ulps: Update.
60390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60392 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60394         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
60396         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
60398         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
60399         declarations.
60400         (denorm): Likewise.
60401         (__mp_dbl): Likewise.
60402         (__inv): Likewise.
60404         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
60405         and adjust the header comment.
60407         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
60408         variable name from declaration.
60410 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
60412         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60413         Initialize COMMON_CPUID_INDEX_7 element.
60414         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
60415         (CPUID_RTM): Likewise.
60416         (HAS_RTM): Likewise.
60417         (COMMON_CPUID_INDEX_7): New enum.
60419 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
60421         [BZ #14981]
60422         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
60423         size is zero, record memory as freed.
60425 2013-01-03  Andreas Jaeger  <aj@suse.de>
60427         * po/ia.po: Add new Interlingua translation.
60429 2012-01-03  Allan McRae  <allan@archlinux.org>
60431         * locale/programs/localedef.c: Fix description of '--posix' flag.
60433 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
60435         * NEWS: Update dates in second copyright notice.
60436         * README: Update copyright dates in example.
60437         * manual/libc.texinfo: Update copyright dates.
60438         * scripts/test-installation.pl: Update copyright date in --version
60439         output.
60441         * hurd/ctty-input.c: Fix copyright notice formatting.
60442         * hurd/ctty-output.c: Likewise.
60443         * hurd/dtable.c: Likewise.
60444         * hurd/hurd-raise.c: Likewise.
60445         * hurd/hurdprio.c: Likewise.
60446         * hurd/msgportdemux.c: Likewise.
60447         * misc/sys/file.h: Likewise.
60448         * misc/sys/ioctl.h: Likewise.
60449         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
60450         * sysdeps/mach/hurd/chdir.c: Likewise.
60451         * sysdeps/mach/hurd/fchdir.c: Likewise.
60452         * sysdeps/mach/hurd/rename.c: Likewise.
60453         * sysdeps/mach/hurd/rmdir.c: Likewise.
60454         * sysdeps/mach/hurd/seekdir.c: Likewise.
60455         * sysdeps/mach/hurd/setsid.c: Likewise.
60456         * sysdeps/posix/wait3.c: Likewise.
60458         * All files with FSF copyright notices: Update copyright dates
60459         using scripts/update-copyrights.
60460         * intl/plural.c: Regenerated.
60461         * locale/programs/charmap-kw.h: Likewise.
60462         * locale/programs/locfile-kw.h: Likewise.
60464 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
60466         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
60467         four values.
60469         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
60470         calculation loop and add branch prediction.
60472         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
60473         check access beyond bounds of m1np.
60475         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
60476         MPTWO.
60477         (__inv): Remove local variable MPTWO to use the global
60478         constant.
60479         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
60480         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
60481         variable MPTWO.
60482         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
60483         MP3HALFS static const.
60485 2013-01-01  David S. Miller  <davem@davemloft.net>
60487         * po/ca.po: Update from translation team.
60489 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
60491         * scripts/update-copyrights: New file.
60492         * Makeconfig: Reformat copyright notice.
60493         * ctype/ctype.h: Likewise.
60494         * debug/swprintf_chk.c: Likewise.
60495         * elf/dl-cache.c: Likewise.
60496         * elf/dl-debug.c: Likewise.
60497         * elf/dl-object.c: Likewise.
60498         * grp/initgroups.c: Likewise.
60499         * hurd/Makefile: Likewise.
60500         * hurd/hurd/signal.h: Likewise.
60501         * hurd/hurdfault.c: Likewise.
60502         * hurd/hurdioctl.c: Likewise.
60503         * hurd/hurdlookup.c: Likewise.
60504         * hurd/intr-msg.c: Likewise.
60505         * iconv/gconv_open.c: Likewise.
60506         * libio/swprintf.c: Likewise.
60507         * locale/lc-ctype.c: Likewise.
60508         * locale/nl_langinfo.c: Likewise.
60509         * mach/Machrules: Likewise.
60510         * mach/Makefile: Likewise.
60511         * malloc/obstack.h: Likewise.
60512         * manual/Makefile: Likewise.
60513         * manual/tsort.awk: Likewise.
60514         * misc/bits/stab.def: Likewise.
60515         * nis/nis_print_group_entry.c: Likewise.
60516         * nis/nis_table.c: Likewise.
60517         * nis/nss_compat/compat-pwd.c: Likewise.
60518         * nis/nss_compat/compat-spwd.c: Likewise.
60519         * po/Makefile: Likewise.
60520         * posix/fnmatch.c: Likewise.
60521         * posix/regex.h: Likewise.
60522         * resolv/Makefile: Likewise.
60523         * resolv/nss_dns/dns-network.c: Likewise.
60524         * resolv/res_hconf.c: Likewise.
60525         * scripts/gen-sorted.awk: Likewise.
60526         * soft-fp/soft-fp.h: Likewise.
60527         * stdio-common/printf.h: Likewise.
60528         * stdlib/monetary.h: Likewise.
60529         * stdlib/random.c: Likewise.
60530         * stdlib/random_r.c: Likewise.
60531         * sysdeps/generic/Makefile: Likewise.
60532         * sysdeps/gnu/Makefile: Likewise.
60533         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60534         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60535         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60536         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60537         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60538         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60539         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60540         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60541         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60542         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60543         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60544         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60545         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
60546         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
60547         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
60548         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
60549         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60550         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60551         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60552         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60553         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60554         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60555         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60556         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
60557         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
60558         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
60559         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
60560         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
60561         * sysdeps/mach/hurd/errnos.awk: Likewise.
60562         * sysdeps/mach/hurd/fork.c: Likewise.
60563         * sysdeps/mach/hurd/getcwd.c: Likewise.
60564         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
60565         * sysdeps/mach/hurd/mmap.c: Likewise.
60566         * sysdeps/mach/hurd/utimes.c: Likewise.
60567         * sysdeps/mach/hurd/xmknod.c: Likewise.
60568         * sysdeps/posix/profil.c: Likewise.
60569         * sysdeps/posix/readdir_r.c: Likewise.
60570         * sysdeps/powerpc/bits/mathdef.h: Likewise.
60571         * sysdeps/powerpc/bits/setjmp.h: Likewise.
60572         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
60573         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
60574         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
60575         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
60576         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
60577         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
60578         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60579         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
60580         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
60581         * sysdeps/pthread/lio_listio.c: Likewise.
60582         * sysdeps/sparc/dl-procinfo.h: Likewise.
60583         * sysdeps/unix/i386/sysdep.S: Likewise.
60584         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
60585         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
60586         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
60587         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
60588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
60589         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
60590         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
60591         * sysdeps/unix/sysv/linux/speed.c: Likewise.
60592         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
60593         * sysdeps/wordsize-32/divdi3.c: Likewise.
60594         * time/sys/time.h: Likewise.
60595         * wcsmbs/Makefile: Likewise.
60597 2013-01-01  David S. Miller  <davem@davemloft.net>
60599         * po/fr.po: Update from translation team.
60601         * catgets/gencat.c: Update copyright year.
60602         * csu/version.c: Likewise.
60603         * debug/catchsegv.sh: Likewise.
60604         * debug/pcprofiledump.c: Likewise.
60605         * debug/xtrace.sh: Likewise.
60606         * elf/ldconfig.c: Likewise.
60607         * elf/ldd.bash.in: Likewise.
60608         * elf/pldd.c: Likewise.
60609         * elf/sotruss.ksh: Likewise.
60610         * elf/sprof.c: Likewise.
60611         * iconv/iconv_prog.c: Likewise.
60612         * iconv/iconvconfig.c: Likewise.
60613         * locale/programs/locale.c: Likewise.
60614         * locale/programs/localedef.c: Likewise.
60615         * login/programs/pt_chown.c: Likewise.
60616         * malloc/memusage.sh: Likewise.
60617         * malloc/memusagestat.c: Likewise.
60618         * malloc/mtrace.pl: Likewise.
60619         * nscd/nscd.c: Likewise.
60620         * nss/getent.c: Likewise.
60621         * nss/makedb.c: Likewise.
60622         * posix/getconf.c: Likewise.
60624 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
60626         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
60627         numbers.
60629 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
60631         * math/bits/mathcalls.h (modf): Use __nonnull.
60633 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60635         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
60636         (split): Use macro CN instead of the bare value.
60637         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
60638         could be used.
60639         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
60640         instead of the bare value.
60641         (power1): Likewise.
60643 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60645         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
60646         __ATAN_TWOM.
60647         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60649         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
60650         their values.
60651         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
60652         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
60653         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
60654         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
60656 2012-12-28  Andreas Jaeger  <aj@suse.de>
60658         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
60659         values are from Linux 3.7.
60661         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
60662         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
60664 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60666         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
60667         TRUE case.
60669         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
60670         (norm): Likewise.
60671         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
60672         variables with preprocessor constants.
60673         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60674         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
60675         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
60677 2012-12-27  Bruno Haible  <bruno@clisp.org>
60679         [BZ #14317]
60680         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
60681         only if needed.
60683 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
60685         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
60686         and use variable directly.
60687         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
60689         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
60690         MPONE.
60691         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
60692         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
60693         variable MPONE.
60694         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
60695         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
60696         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
60697         include directive.  Remove local variable MPONE.
60698         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
60699         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
60700         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60702 2012-12-25  David S. Miller  <davem@davemloft.net>
60704         * version.h (RELEASE): Set to "development".
60705         (VERSION): Set to "2.17.90".
60706         * NEWS: Add 2.18 section.
60708 2012-12-21  David S. Miller  <davem@davemloft.net>
60710         * po/hr.po: Update from translation team.
60712 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60714         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
60716 2012-12-19  Steve Ellcey  <sellcey@mips.com>
60718         * NEWS:  Mention new memcpy for MIPS.
60720 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60722         * manual/contrib.texi (Contributors): Spelling correction.
60724 2012-12-15  David S. Miller  <davem@davemloft.net>
60726         * po/ru.po: Update from translation team.
60728 2012-12-13  David S. Miller  <davem@davemloft.net>
60730         * NEWS: Mention IFUNC testsuite enhancements.
60732         * po/pl.po: Update from translation team.
60733         * po/bg.po: Likewise.
60735         * manual/contrib.texi (Contributors): Update entries for Hongjiu
60736         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
60738 2012-12-11  David S. Miller  <davem@davemloft.net>
60740         * po/sv.po: Update from translation team.
60742         * po/vi.po: Update from translation team.
60744         * po/cs.po: Update from translation team.
60746         * po/de.po: Update from translation team.
60747         * po/eo.po: Likewise.
60748         * po/nl.po: Likewise.
60750 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60752         [BZ #14246]
60753         * manual/argp.texi (Argp Helper Functions): Move node to follow
60754         Argp Parsing State.
60756         [BZ #14872]
60757         * manual/conf.texi (Limits on File System Capacity): Mention if
60758         terminating null is included in the max size.
60760 2012-12-10  Andreas Jaeger  <aj@suse.de>
60762         * po/cs.po: Update from translation team.
60764 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
60766         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
60767         void pointer and cast to uintptr_t.
60768         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
60769         path.
60770         * sysdeps/s390/s390-64/memcpy.S: Likewise.
60771         * sysdeps/s390/s390-64/memset.S: Likewise.
60773 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
60775         [BZ #14833]
60776         * menual/message.texi (Message Translation): Fix typos.
60777         (Helper programs for gettext): Likewise.
60779 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
60781         [BZ #14898]
60782         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
60783         Change to -1.
60785 2012-12-07  David S. Miller  <davem@davemloft.net>
60787         * po/libc.pot: Update.
60789 2012-12-07  Richard Henderson  <rth@redhat.com>
60791         [BZ #10114]
60792         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
60793         normal/normal case to before the switch.
60794         (_FP_DIV): Likewise.
60796 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
60797             Mike Frysinger  <vapier@gentoo.org>
60799         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
60800         check for __NR_fadvise64_64.
60802 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
60804         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
60805         0, not just to plain "0" as a statement.
60806         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
60807         with cw.
60809 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
60811         * NEWS: Use sourceware.org in Bugzilla URL.
60813 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
60815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
60816         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
60818         * stdio-common/tst-put-error.c (do_test): Add newline to the
60819         padded test to ensure flush.
60821 2012-12-05  Jeff Law  <law@redhat.com>
60823         * sunrpc/etc.rpc (fedfs_admin): Add entry.
60825 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
60827         * README: Don't refer to ports add-on as distributed separately.
60828         Mention AArch64 in list of systems supported in the ports add-on.
60830         * LICENSES: Add more non-FSF copyright and license notices.
60832         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
60833         ((unused)).
60835         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
60837         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
60838         10000 as width of padded output.
60840 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
60842         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
60844         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
60845         variable LX with __attribute__ ((unused)).
60846         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
60847         Likewise.
60848         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
60849         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60850         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
60851         with __attribute__ ((unused)).
60853 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
60855         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
60857 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
60859         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
60860         (CFLAGS-nldbl-acos.c): New variable.
60861         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
60862         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
60863         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
60864         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
60865         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
60866         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
60867         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
60868         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
60869         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
60870         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
60871         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
60872         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
60873         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
60874         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
60875         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
60876         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
60877         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
60878         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
60879         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
60880         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
60881         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
60882         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
60883         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
60884         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
60885         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
60886         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
60887         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
60888         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
60889         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
60890         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
60891         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
60892         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
60893         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
60894         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
60895         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
60896         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
60897         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
60898         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
60899         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
60900         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
60901         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
60902         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
60903         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
60904         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
60905         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
60906         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
60907         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
60908         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
60909         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
60910         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
60911         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
60912         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
60913         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
60914         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
60915         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
60916         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
60917         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
60918         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
60919         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
60920         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
60921         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
60922         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
60923         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
60924         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
60925         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
60926         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
60927         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
60928         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
60929         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
60930         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
60931         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
60932         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
60933         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
60934         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
60935         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
60936         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
60937         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
60938         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
60939         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
60940         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
60941         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
60942         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
60943         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
60944         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
60945         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
60946         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
60947         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
60948         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
60949         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
60950         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
60951         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
60952         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
60953         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
60954         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
60955         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
60956         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
60957         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
60959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
60960         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
60962         [BZ #14914]
60963         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
60964         whole low double instead of just low 47 bits when splitting values
60965         into two parts.
60967 2012-12-03  Allan McRae  <allan@archlinux.org>
60969         * manual/stdio.texi (Predefined Printf Handlers): Remove
60970         @hsep and @vsep usage.
60972 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
60974         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
60975         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
60977 2012-12-03  Jeff Law  <law@redhat.com>
60979         * time/sys/time.h (settimeofday): Do not mark TV argument
60980         as __nonnull.
60982 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
60984         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
60985         when currently writing and seek to current position when not.
60986         * libio/Makefile (tests): Remove bug-fclose1.
60987         * libio/bug-fclose1.c: Delete.
60989 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
60991         * manual/arith.texi (feenableexcept): Fix typo.
60992         (fedisableexcept): Likewise.
60994 2012-11-30  Roland McGrath  <roland@hack.frob.com>
60996         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
60997         second, differently-typed declaration, rather than a cast.
60999 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
61001         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
61002         * include/rpc/svc.h: ... here.
61004 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
61006         [BZ #13013]
61007         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
61008         depending n and resplen2 to catch cases where answer
61009         equals answerp2.
61011 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
61013         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
61014         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
61016 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
61018         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
61020 2012-11-29  Roland McGrath  <roland@hack.frob.com>
61022         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
61024 2012-11-28  Jeff Law  <law@redhat.com>
61026         [BZ #13761]
61027         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
61028         dataset_temporary.  Track alloca usage into alloca_used.
61029         If dataset is large allocate and release it via malloc/free.
61031 2012-06-04  Florian Weimer  <fweimer@redhat.com>
61033         [BZ #14197]
61034         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
61036 2012-11-28  David S. Miller  <davem@davemloft.net>
61038         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61040 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
61042         [BZ #14803]
61043         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
61044         of pi/2 rounded to nearest to 64 bits.
61045         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
61046         nearest to 64 bits.
61047         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
61048         bits.
61050 2012-11-28  Jeff Law <law@redhat.com>
61051             Martin Osvald <mosvald@redhat.com>
61053         [BZ #14889]
61054         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
61055         * sunrpc/svc.c: Include time.h.
61056         (__svc_accept_failed): New function.
61057         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
61058         any reason other than EINTR, call __svc_accept_failed.
61059         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
61060         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
61062 2012-11-28  Andreas Schwab  <schwab@suse.de>
61064         * scripts/abilist.awk: Also handle indirect functions in .opd
61065         section.
61067 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
61069         [BZ #13881]
61070         * sysdeps/x86/fpu/powl_helper.c: New file.
61071         * sysdeps/x86/fpu/Makefile: Likewise.
61072         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
61073         (p3): New object.
61074         (__ieee754_powl): Use __powl_helper for finite arguments except
61075         integer exponents below 8.
61076         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
61077         (p3): New object.
61078         (__ieee754_powl): Use __powl_helper for finite arguments except
61079         integer exponents below 8.
61080         * math/libm-test.inc (pow_test): Add more tests and enable some
61081         previously disabled tests.
61082         * sysdeps/i386/fpu/libm-test-ulps: Update.
61083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61085 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61086             Carlos O'Donell  <carlos_odonell@mentor.com>
61088         * nss/makedb.c (is_prime): Assert that input is odd and greater
61089         than 4.  Note that fact in a comment too.
61090         (next_prime): Add 4 to input.
61092 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
61094         [BZ #11741]
61095         * libio/Makefile (tests): Add test case tst-fwrite-error.
61096         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
61097         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
61098         * libio/tst-fwrite-error.c: New test case.
61100 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
61102         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
61103         before casting to void *.
61104         * include/libc-internal.h (__pointer_type): New macro.
61105         (__integer_if_pointer_type_sub): Likewise.
61106         (__integer_if_pointer_type): Likewise.
61107         (cast_to_integer): Likewise.
61108         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
61109         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
61110         before casting to atomic64_t.
61111         (atomic_exchange_acq): Likewise.
61112         (__arch_exchange_and_add_body): Likewise.
61113         (__arch_add_body): Likewise.
61114         (atomic_add_negative): Likewise.
61115         (atomic_add_zero): Likewise.
61117 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
61119         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
61120         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
61121         (add_fdes): Likewise.
61122         (linear_search_fdes): Likewise.
61123         (binary_search_unencoded_fdes): Likewise.
61125 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
61127         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
61129 2012-11-24  Adam Conrad  <adconrad@0c3.net>
61131         * configure.in: Autodetect C++ header directories.
61132         * configure: Regenerated.
61134 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
61136         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
61138 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
61140         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61142 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
61144         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
61145         LDBL_MANT_DIG == 106]: Disable some tests.
61146         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
61147         Likewise.
61148         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
61149         Likewise.
61151         [BZ #14871]
61152         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
61153         input for small inputs.  Return +/- pi/2 for large inputs.
61154         * math/libm-test.inc (atan_test): Add more tests.
61156         * sysdeps/generic/unwind-dw2-fde-glibc.c
61157         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
61158         __attribute__ ((unused)).
61160         [BZ #14645]
61161         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
61162         x * y if x and y are nonzero and z is zero.
61164         [BZ #14811]
61165         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
61166         nonzero exponents with absolute value below 0x1p-117 to +/-
61167         0x1p-117.
61169         [BZ #14869]
61170         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
61171         up arguments below 2**-450, not just those below 2**-500.
61172         * math/libm-test.inc (hypot_test): Add another test.
61174         [BZ #14868]
61175         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
61176         Return a+b for ratio over 2**120, not 2**60.
61177         * math/libm-test.inc (hypot_test): Add another test.
61179         * math/libm-test.inc (clog_test): Use
61180         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
61181         (clog10_test): Likewise.
61183         [BZ #6778]
61184         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
61186 2012-11-22  Andreas Schwab  <schwab@suse.de>
61188         * sysdeps/i386/fpu/libm-test-ulps: Update.
61190 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
61192         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
61193         printf output with newline.
61195 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
61197         [BZ #14865]
61198         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
61199         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
61200         -z nodlopen, -z initfirst and -z execstack support.
61201         * configure: Regenerated.
61203         * elf/elf.h (DF_1_NODIRECT): New macro.
61204         (DF_1_IGNMULDEF): Likewise.
61205         (DF_1_NOKSYMS): Likewise.
61206         (DF_1_NOHDR): Likewise.
61207         (DF_1_EDITED): Likewise.
61208         (DF_1_NORELOC): Likewise.
61209         (DF_1_SYMINTPOSE): Likewise.
61210         (DF_1_GLOBAUDIT): Likewise.
61211         (DF_1_SINGLETON): Likewise.
61212         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
61213         DT_1_SUPPORTED_MASK bits.
61214         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
61216 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
61218         * sysdeps/unix/make-syscalls.sh: Document prefixes.
61220 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
61222         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
61223         macro.
61225         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
61226         (sendmmsg): Move declarations...
61227         * socket/sys/socket.h: ... here.
61228         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
61229         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
61230         include it from...
61231         * socket/recvmmsg.c: ... this new file.
61232         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
61233         (sendmmsg): Rename to __sendmmsg, create weak alias and make
61234         definition of __sendmmsg hidden.
61235         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
61236         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
61237         Move ENOSYS stub into and include it from...
61238         * socket/sendmmsg.c: ... this new file.
61239         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
61240         (sysdep_routines): Move recvmmsg and sendmmsg...
61241         * socket/Makefile (routines): ... here.
61242         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
61243         (GLIBC_PRIVATE): Add __sendmmsg.
61244         * include/sys/socket.h (__sendmmsg): Add declarations.
61245         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
61246         sendmmsg.
61248 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
61250         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
61251         variable I1 with __attribute__ ((unused)).
61252         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
61254 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
61256         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
61257         DUMMY variables with __attribute__ ((unused)).
61259         * bits/byteswap.h: Include <bits/types.h>.
61260         (__bswap_64): Use __uint64_t instead of unsigned long long int.
61262 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
61264         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
61265         string_t.  Do not manually set errno.
61266         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
61267         length with __strnlen.  Make sure to both set errno and return it on
61268         failure.
61270 2012-11-19  David S. Miller  <davem@davemloft.net>
61272         With help from Joseph Myers.
61273         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
61274         very large arguments properly.
61275         * math/libm-test.inc (atan_test): New tests.
61276         (atan2_test): New tests.
61277         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61278         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61280 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
61282         [BZ #14856]
61283         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
61284         Define to 3.
61286         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
61287         [POSIX] (EADDRNOTAVAIL): Likewise.
61288         [POSIX] (EAFNOSUPPORT): Likewise.
61289         [POSIX] (EALREADY): Likewise.
61290         [POSIX] (ECONNABORTED): Likewise.
61291         [POSIX] (ECONNREFUSED): Likewise.
61292         [POSIX] (ECONNRESET): Likewise.
61293         [POSIX] (EDESTADDRREQ): Likewise.
61294         [POSIX] (EDQUOT): Likewise.
61295         [POSIX] (EHOSTUNREACH): Likewise.
61296         [POSIX] (EIDRM): Likewise.
61297         [POSIX] (EISCONN): Likewise.
61298         [POSIX] (ELOOP): Likewise.
61299         [POSIX] (EMULTIHOP): Likewise.
61300         [POSIX] (ENETDOWN): Likewise.
61301         [POSIX] (ENETUNREACH): Likewise.
61302         [POSIX] (ENOBUFS): Likewise.
61303         [POSIX] (ENODATA): Likewise.
61304         [POSIX] (ENOLINK): Likewise.
61305         [POSIX] (ENOMSG): Likewise.
61306         [POSIX] (ENOPROTOOPT): Likewise.
61307         [POSIX] (ENOSR): Likewise.
61308         [POSIX] (ENOSTR): Likewise.
61309         [POSIX] (ENOTCONN): Likewise.
61310         [POSIX] (ENOTSOCK): Likewise.
61311         [POSIX] (EOPNOTSUPP): Likewise.
61312         [POSIX] (EOVERFLOW): Likewise.
61313         [POSIX] (EPROTO): Likewise.
61314         [POSIX] (EPROTONOSUPPORT): Likewise.
61315         [POSIX] (EPROTOTYPE): Likewise.
61316         [POSIX] (ESTALE): Likewise.
61317         [POSIX] (ETIME): Likewise.
61318         [POSIX] (ETXTBSY): Likewise.
61319         [POSIX] (EWOULDBLOCK): Likewise.
61320         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
61321         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
61322         [POSIX] (SEEK_CUR): Likewise.
61323         [POSIX] (SEEK_END): Likewise.
61324         [POSIX || UNIX98] (mode_t): Do not require.
61325         [POSIX] (off_t): Likewise.
61326         [POSIX] (pid_t): Likewise.
61327         [POSIX] (sys/stat.h): Do not allow header.
61328         [POSIX] (unistd.h): Likewise.
61329         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
61330         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
61331         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
61332         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
61333         require.
61334         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
61335         sigevent): Specify elements.
61336         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
61337         entry.
61338         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
61339         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
61341         * conform/data/cpio.h-data [POSIX]: Disable whole file.
61342         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
61343         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
61344         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
61345         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
61346         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
61347         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
61348         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
61349         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
61350         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
61351         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
61352         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
61353         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
61354         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
61355         Likewise.
61356         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
61357         Likewise.
61358         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
61359         Likewise.
61360         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
61361         Likewise.
61362         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
61363         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
61364         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
61365         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
61366         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
61367         Specify lower bound on value.
61368         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
61369         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
61370         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
61371         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
61372         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
61373         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
61374         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
61375         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
61376         value.
61377         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
61378         as optional.
61379         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
61380         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
61381         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
61382         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
61383         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
61384         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
61385         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
61386         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
61387         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
61388         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
61389         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
61390         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
61391         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
61392         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
61393         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
61394         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
61395         entry.
61396         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
61397         optional.
61398         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
61399         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
61400         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
61401         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
61402         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
61403         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
61404         Likewise.
61405         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
61406         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
61407         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
61408         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
61409         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
61410         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
61411         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
61412         as optional.
61413         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
61414         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
61415         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
61416         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
61417         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
61418         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
61419         specify as optional.
61420         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
61421         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
61422         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
61423         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
61424         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
61425         [XPG3] (NL_LANGMAX): Likewise.
61426         [POSIX || XPG3] (NL_MSGMAX): Likewise.
61427         [POSIX || XPG3] (NL_NMAX): Likewise.
61428         [POSIX || XPG3] (NL_SETMAX): Likewise.
61429         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
61430         [XPG3] (NZERO): Likewise.
61431         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
61432         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
61433         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
61434         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
61435         (REG_ERANGE): Expect.
61436         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
61437         optional-constant.
61438         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
61439         Use (void) in prototype.
61440         [POSIX] (*_t): Allow.
61441         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
61442         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
61443         (WRDE_BADVAL): Expect.
61445         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
61446         expect.
61447         [XPG3 || XPG4] (O_RSYNC): Likewise.
61448         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
61449         Likewise.
61450         [XPG3 || XPG4] (pthread_sigmask): Likewise.
61451         [XPG3 || XPG4] (sigqueue): Likewise.
61452         [XPG3 || XPG4] (sigtimedwait): Likewise.
61453         [XPG3 || XPG4] (sigwaitinfo): Likewise.
61454         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
61455         [XPG3 || XPG4] (vsnprintf): Likewise.
61456         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
61457         Likewise.
61458         [XPG3 || XPG4] (blksize_t): Likewise.
61459         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
61460         Likewise.
61461         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
61462         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
61463         [XPG3 || XPG4] (struct itimerspec): Likewise.
61464         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
61465         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
61466         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
61467         [XPG3 || XPG4] (clockid_t): Likewise.
61468         [XPG3 || XPG4] (timer_t): Likewise.
61469         [XPG3 || XPG4] (clock_getres): Likewise.
61470         [XPG3 || XPG4] (clock_gettime): Likewise.
61471         [XPG3 || XPG4] (clock_settime): Likewise.
61472         [XPG3 || XPG4] (nanosleep): Likewise.
61473         [XPG3 || XPG4] (timer_create): Likewise.
61474         [XPG3 || XPG4] (timer_delete): Likewise.
61475         [XPG3 || XPG4] (timer_gettime): Likewise.
61476         [XPG3 || XPG4] (timer_getoverrun): Likewise.
61477         [XPG3 || XPG4] (timer_settime): Likewise.
61478         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
61479         [XPG3 || XPG4] (getlogin_r): Likewise.
61480         [XPG3 || XPG4] (pread): Likewise.
61481         [XPG3 || XPG4] (pthread_atfork): Likewise.
61482         [XPG3 || XPG4] (pwrite): Likewise.
61484         [BZ #14835]
61485         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
61486         <bits/siginfo.h>.
61488 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
61490         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
61491         finalizing MALLSTREAM.
61493         * sysdeps/mach/hurd/syncfs.c: New file.
61495 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61497         [BZ #14719]
61498         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
61499         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
61500         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
61501         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
61502         (_nss_dns_gethostbyname4_r): Likewise.
61503         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
61504         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
61506 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
61508         [BZ #13763]
61509         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
61511 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
61513         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
61514         * elf/cache.c (print_entry): Print ",AArch64" for
61515         FLAG_AARCH64_LIB64
61517         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
61518         * elf/cache.c (print_entry): Print ",hard-float" for
61519         FLAG_ARM_LIBHF.
61521 2012-11-18  David S. Miller  <davem@davemloft.net>
61523         With help from Joseph Myers.
61524         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
61525         cutoff to 2**-13.
61526         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
61527         cutoff to 2**-25.
61528         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
61529         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
61530         small.
61531         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
61532         * math/libm-test.inc (y0_test): New tests.
61533         (y1_test): New tests.
61534         * sysdeps/i386/fpu/libm-test-ulps: Update.
61535         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61536         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61538 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
61540         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
61541         64-bit targets.
61542         * configure: Regenerated.
61544 2012-11-17  David S. Miller  <davem@davemloft.net>
61546         [BZ #14811]
61547         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
61548         nonzero exponents with absolute value below 0x1p-128 to +/-
61549         0x1p-128.
61551 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
61553         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
61555         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
61557         * posix/getconf-speclist.c: New file.
61558         * posix/posix-envs.def: Likewise.
61559         * posix/confstr.c (START_ENV_GROUP): New macro.
61560         (END_ENV_GROUP): Likewise.
61561         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
61562         (KNOWN_PRESENT_ENV_STRING): Likewise.
61563         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
61564         (UNKNOWN_ENVIRONMENT): Likewise.
61565         (confstr): Include posix-envs.def instead of handling
61566         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
61567         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
61568         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
61569         (END_ENV_GROUP): Likewise.
61570         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
61571         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
61572         (UNKNOWN_ENVIRONMENT): Likewise.
61573         (__sysconf): Include posix-envs.def instead of handling associated
61574         cases directly here.
61575         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
61576         preprocessing getconf-speclist.c rather than running getconf or
61577         generating empty file.
61579 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
61581         * scripts/check-local-headers.sh: Ignore 'mach' headers.
61583 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
61585         [BZ #14672]
61586         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
61588 2012-11-16  David S. Miller  <davem@davemloft.net>
61590         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
61591         smaller than LDBL_EPSILON/2.0L, just return xm1.
61593 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
61595         * elf/tst-array1.c (init): Set constructor priority to 1000.
61596         (fini): Set destructor priority to 1000.
61597         * elf/tst-array2dep.c: Likewise.
61599 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61601         [BZ #11741]
61602         * libio/fileops.c (_IO_new_file_write): Correctly return error.
61603         (_IO_new_file_xsputn): Also return EOF if none of the input
61604         data was written when overflow failed.
61605         * libio/iopadn.c (_IO_padn): Likewise.
61606         * libio/iowpadn.c (_IO_wpadn): Likewise.
61607         * stdio-common/tst-put-error.c: Add copyright notice.
61608         (do_test): Add case for printing padded string.
61609         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
61610         _IO_padn returned error.
61611         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
61612         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
61613         return EOF.
61615 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61617         * libio/libioP.h: Add comment note that the references to C++
61618         bits are now obsolete.
61620 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61622         * math/libm-test.inc (check_complex): Use asprintf.
61624 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
61626         * debug/pcprofiledump.c (print_version): Update copyright year.
61627         * malloc/memusagestat.c (print_version): Likewise.
61629 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
61631         [BZ #14831]
61632         * elf/Makefile (tests): Add tst-audit8.
61633         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
61634         ($(objpfx)tst-audit8.out): New target.
61635         (tst-audit8-ENV): New variable.
61636         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
61637         audit if l_reloc_result is NULL.
61638         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
61639         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
61640         * elf/tst-audit8.c: New file.
61642 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61644         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
61645         * misc/Makefile (CFLAGS-select.c): Define.
61646         * posix/Makefile (CFLAGS-pause.c): Define.
61648 2012-11-13  David S. Miller  <davem@davemloft.net>
61650         * crypt/Makefile: Move test targets after toplevel Rules
61651         inclusion.  Grab any necessary sysdep routines when linking.
61652         * crypt/md5.c (md5_process_block): Remove define, we will always
61653         name it __md5_process_block.
61654         (md5_finish_ctx): Update md5_process_block call.
61655         (md5_stream): Likewise.
61656         (md5_process_bytes): Likewise.
61657         (md5_process_block): Rename to __md5_process_block and move to ...
61658         * crypt/md5-block.c: ... here.
61659         * crypt/sha256.c (sha256_process_block): Move to ...
61660         * crypt/sha256-block.c: ... here.
61661         * crypt/sha512.c (sha512_process_block): Move to ...
61662         * crypt/sha512-block.c: ... here.
61663         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
61664         path.
61665         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
61666         * sysdeps/sparc/sparc64/multiarch/Makefile
61667         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
61668         crypt subdir.
61669         (localedef-aux): Add md5 crypto assembler when in locale subdir.
61670         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
61671         multiarch changes.
61672         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
61673         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
61674         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
61675         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
61676         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
61677         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
61678         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
61679         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
61680         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
61681         file.
61682         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
61683         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
61684         file.
61685         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
61687 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
61689         * timezone/tzselect.ksh: Update from tzcode git revision
61690         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
61691         * timezone/zdump.c: Likewise.
61692         * timezone/zic.c: Likewise.
61693         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
61694         in TZVERSION setting, not $(PKGVERSION).
61695         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
61696         REPORT_BUGS_TO settings.
61698         [BZ #14838]
61699         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
61700         macro.
61702 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61704         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
61705         detection to immediately after _FP_ROUND().
61706         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
61707         bits are 0.
61709 2012-11-11  David S. Miller  <davem@davemloft.net>
61711         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
61712         inttypes.h
61713         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
61714         __close rather than their public counterparts.
61716 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
61718         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
61719         file.
61720         [UNIX98] (sem_timedwait): Do not expect.
61721         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
61722         [XPG4 || UNIX98] (sockatmark): Do not expect.
61723         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
61724         (clock_getcpuclockid): Do not expect.
61725         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
61726         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
61727         Do not expect.
61728         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
61729         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
61730         [UNIX98] (vwscanf): Likewise.
61731         [UNIX98] (vswscanf): Likewise.
61733 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
61735         * timezone/version.h: Remove file.
61736         * timezone/README: Do not refer to version.h.
61737         * timezone/Makefile ($(objpfx)zic.o): New dependency on
61738         $(objpfx)version.h.
61739         ($(objpfx)zdump.o): Likewise.
61740         ($(objpfx)version.h): New target.
61742         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
61743         2012i.
61744         * timezone/README: Don't mention modification to tzselect.ksh.
61745         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
61746         work on unmodified tzselect.ksh.  Substitute version numbers in
61747         tzselect.ksh.
61749         * Makefile (format-me): Remove.
61750         (INSTALL): Adjust indentation.  Use commands directly instead of
61751         using $(format-me).
61753         * aclocal.m4 (ACX_PKGVERSION): New macro.
61754         (ACX_BUGURL): Likewise.
61755         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
61756         (PKGVERSION): New AC_DEFINE_UNQUOTED.
61757         (REPORT_BUGS_TO): Likewise.
61758         * configure: Regenerated.
61759         * config.h.in (PKGVERSION): New macro.
61760         (REPORT_BUGS_TO): Likewise.
61761         * config.make.in (PKGVERSION): New variable.
61762         (PKGVERSION_TEXI): Likewise.
61763         (REPORT_BUGS_TO): Likewise.
61764         (REPORT_BUGS_TEXI): Likewise.
61765         * Makefile (format-me): Use -I$(common-objpfx)manual.
61766         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
61767         ($(common-objpfx)manual/%): New target.
61768         (manual/%): Remove target.
61769         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
61770         (print_version): Use PKGVERSION.
61771         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
61772         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
61773         and REPORT_BUGS_TO.
61774         ($(objpfx)xtrace): Likewise.
61775         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
61776         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
61777         (print_version): Use PKGVERSION.
61778         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
61779         (do_version): Use PKGVERSION.
61780         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
61781         REPORT_BUGS_TO.
61782         (common-ldd-rewrite): Likewise.
61783         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
61784         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
61785         (print_version): Use PKGVERSION.
61786         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
61787         * elf/pldd.c (argp_program_bug_address): Remove variable.
61788         (more_help): New function.
61789         (argp): Use more_help.
61790         (print_version): Use PKGVERSION.
61791         * elf/sln.c (main): Use PKGVERSION.
61792         (usage): Use REPORT_BUGS_TO.
61793         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
61794         (top level): Use PKGVERSION.
61795         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
61796         (print_version): Use PKGVERSION.
61797         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
61798         (print_version): Use PKGVERSION.
61799         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
61800         (print_version): Use PKGVERSION.
61801         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
61802         (print_version): Use PKGVERSION.
61803         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
61804         (print_version): Use PKGVERSION.
61805         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
61806         (print_version): Use PKGVERSION.
61807         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
61808         and BUGURL.
61809         ($(objpfx)memusage): Likewise.
61810         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
61811         (do_version): Use PKGVERSION.
61812         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
61813         (print_version): Use PKGVERSION.
61814         * malloc/mtrace.pl ($PACKAGE): Remove variable.
61815         ($PKGVERSION): New variable.
61816         ($REPORT_BUGS_TO): Likewise.
61817         (usage): Use $REPORT_BUGS_TO.
61818         (top level): Use $PKGVERSION.
61819         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
61820         ($(objpfx)pkgvers.texi): New rule.
61821         ($(objpfx)stamp-pkgvers): Likewise.
61822         * manual/install.texi: Include pkgvers.texi.
61823         (--with-pkgversion): Document new configure option.
61824         (--with-bugurl): Likewise.
61825         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
61826         than necessarily for this particular distribution.  Use
61827         REPORT_BUGS_TO for where to report bugs.
61828         * INSTALL: Regenerated.
61829         * manual/libc.texinfo: Include pkgvers.texi.
61830         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
61831         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
61832         (print_version): Use PKGVERSION.
61833         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
61834         (print_version): Use PKGVERSION.
61835         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
61836         (print_version): Use PKGVERSION.
61837         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
61838         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
61839         macro.
61840         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
61841         (print_version): Use PKGVERSION.
61842         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
61843         (print_version): Use PKGVERSION.
61844         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
61845         and PKGVERSION.
61847         * timezone/checktab.awk: Update from tzcode 2012i.
61848         * timezone/ialloc.c: Likewise.
61849         * timezone/private.h: Likewise.
61850         * timezone/scheck.c: Likewise.
61851         * timezone/tzfile.h: Likewise.
61852         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
61853         (TZVERSION): Hardcode tzcode version number.
61854         * timezone/zdump.c: Update from tzcode 2012i.
61855         * timezone/zic.c: Likewise.
61856         * timezone/version.h: New file.
61857         * timezone/README: Describe version.h.  Update upstream location.
61859         [BZ #14824]
61860         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
61861         (mktemp): Enable declaration.
61862         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
61863         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
61864         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
61865         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
61866         Likewise.
61867         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
61868         Likewise.
61869         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
61870         Likewise.
61871         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
61872         Likewise.
61873         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
61874         Likewise.
61875         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
61876         Likewise.
61878         [BZ #14821]
61879         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
61880         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
61881         for copies of such integer values.
61882         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61883         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61885 2012-11-09  Andreas Jaeger  <aj@suse.de>
61887         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
61888         definitions and declarations that are provided by
61889         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
61891 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61893         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
61894         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
61895         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
61896         definition.
61898 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61900         * elf/elf.h: Update comment before AArch64 relocations.
61902 2012-11-07  David S. Miller  <davem@davemloft.net>
61904         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
61905         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
61906         (__start_context): Declare.
61907         (__makecontext_ret): Delete.
61908         (__makecontext): Hook up __start_context instead of
61909         __makecontext_ret.
61910         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
61911         (sysdep_routines): Add __start_context when in stdlib.
61913 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61915         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
61916         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
61917         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
61918         hardcoded "nm".
61919         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
61920         (READELF): New variable.  Use it instead of hardcoded "readelf".
61922 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
61924         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
61925         * sysdeps/x86/Makefile: Here.
61926         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
61927         * sysdeps/x86/tst-xmmymm.sh: This.
61929 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61931         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
61932         expectations.
61933         [UNIX98] (pthread_barrier_t): Do not expect.
61934         [UNIX98] (pthread_barrierattr_t): Likewise.
61935         [UNIX98] (pthread_spinlock_t): Likewise.
61936         [UNIX98] (pthread_barrier_destroy): Likewise.
61937         [UNIX98] (pthread_barrier_init): Likewise.
61938         [UNIX98] (pthread_barrier_wait): Likewise.
61939         [UNIX98] (pthread_barrierattr_destroy): Likewise.
61940         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
61941         [UNIX98] (pthread_barrierattr_init): Likewise.
61942         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
61943         [UNIX98] (pthread_getcpuclockid): Likewise.
61944         [UNIX98] (pthread_mutex_timedlock): Likewise.
61945         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
61946         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
61947         [UNIX98] (pthread_sigmask): Likewise.
61948         [UNIX98] (pthread_spin_destroy): Likewise.
61949         [UNIX98] (pthread_spin_init): Likewise.
61950         [UNIX98] (pthread_spin_lock): Likewise.
61951         [UNIX98] (pthread_spin_trylock): Likewise.
61952         [UNIX98] (pthread_spin_unlock): Likewise.
61953         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
61954         Do not expect.
61955         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
61956         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
61957         [XPG3 || XPG4] (pthread_cond_t): Likewise.
61958         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
61959         [XPG3 || XPG4] (pthread_key_t): Likewise.
61960         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
61961         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
61962         [XPG3 || XPG4] (pthread_once_t): Likewise.
61963         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
61964         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
61965         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
61966         [XPG3 || XPG4] (pthread_t): Likewise.
61968         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
61969         not expect.
61970         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
61972         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
61973         Change function return type to int.
61975         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
61976         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
61977         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
61978         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
61979         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
61980         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
61981         [!POSIX] (posix_madvise): Likewise.
61982         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
61983         && !UNIX98].
61984         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
61985         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
61986         (mode_t): Likewise.
61987         (posix_mem_offset): Likewise.
61988         (posix_typed_mem_get_info): Likewise.
61989         (posix_typed_mem_open): Likewise.
61991         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
61992         Change condition to [XOPEN2K8].
61994         * conform/conformtest.pl: Preprocess allow-header data with -x c
61995         instead of from stdin.
61996         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
61997         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
61998         [C99-based standards] (cerfc): Likewise.
61999         [C99-based standards] (cexp2): Likewise.
62000         [C99-based standards] (cexpm1): Likewise.
62001         [C99-based standards] (clog10): Likewise.
62002         [C99-based standards] (clog1p): Likewise.
62003         [C99-based standards] (clog2): Likewise.
62004         [C99-based standards] (clgamma): Likewise.
62005         [C99-based standards] (ctgamma): Likewise.
62006         [C99-based standards] (cerff): Likewise.
62007         [C99-based standards] (cerfcf): Likewise.
62008         [C99-based standards] (cexp2f): Likewise.
62009         [C99-based standards] (cexpm1f): Likewise.
62010         [C99-based standards] (clog10f): Likewise.
62011         [C99-based standards] (clog1pf): Likewise.
62012         [C99-based standards] (clog2f): Likewise.
62013         [C99-based standards] (clgammaf): Likewise.
62014         [C99-based standards] (ctgammaf): Likewise.
62015         [C99-based standards] (cerfl): Likewise.
62016         [C99-based standards] (cerfcl): Likewise.
62017         [C99-based standards] (cexp2l): Likewise.
62018         [C99-based standards] (cexpm1l): Likewise.
62019         [C99-based standards] (clog10l): Likewise.
62020         [C99-based standards] (clog1pl): Likewise.
62021         [C99-based standards] (clog2l): Likewise.
62022         [C99-based standards] (clgammal): Likewise.
62023         [C99-based standards] (ctgammal): Likewise.
62024         * conform/data/inttypes.h-data [C99-based standards]: Include
62025         stdint.h-data.  Remove all expectations for stdint.h contents.
62026         [C99-based standards] (PRI*): Do not allow.
62027         [C99-based standards] (SCN*): Likewise.
62028         [C99-based standards] (*_t): Likewise.
62029         [C99-based-standards] (PRId8): Expect macro.
62030         [C99-based-standards] (PRIi8): Likewise.
62031         [C99-based-standards] (PRIo8): Likewise.
62032         [C99-based-standards] (PRIu8): Likewise.
62033         [C99-based-standards] (PRIx8): Likewise.
62034         [C99-based-standards] (PRIX8): Likewise.
62035         [C99-based-standards] (SCNd8): Likewise.
62036         [C99-based-standards] (SCNi8): Likewise.
62037         [C99-based-standards] (SCNo8): Likewise.
62038         [C99-based-standards] (SCNu8): Likewise.
62039         [C99-based-standards] (SCNx8): Likewise.
62040         [C99-based-standards] (PRIdLEAST8): Likewise.
62041         [C99-based-standards] (PRIiLEAST8): Likewise.
62042         [C99-based-standards] (PRIoLEAST8): Likewise.
62043         [C99-based-standards] (PRIuLEAST8): Likewise.
62044         [C99-based-standards] (PRIxLEAST8): Likewise.
62045         [C99-based-standards] (PRIXLEAST8): Likewise.
62046         [C99-based-standards] (SCNdLEAST8): Likewise.
62047         [C99-based-standards] (SCNiLEAST8): Likewise.
62048         [C99-based-standards] (SCNoLEAST8): Likewise.
62049         [C99-based-standards] (SCNuLEAST8): Likewise.
62050         [C99-based-standards] (SCNxLEAST8): Likewise.
62051         [C99-based-standards] (PRIdFAST8): Likewise.
62052         [C99-based-standards] (PRIiFAST8): Likewise.
62053         [C99-based-standards] (PRIoFAST8): Likewise.
62054         [C99-based-standards] (PRIuFAST8): Likewise.
62055         [C99-based-standards] (PRIxFAST8): Likewise.
62056         [C99-based-standards] (PRIXFAST8): Likewise.
62057         [C99-based-standards] (SCNdFAST8): Likewise.
62058         [C99-based-standards] (SCNiFAST8): Likewise.
62059         [C99-based-standards] (SCNoFAST8): Likewise.
62060         [C99-based-standards] (SCNuFAST8): Likewise.
62061         [C99-based-standards] (SCNxFAST8): Likewise.
62062         [C99-based-standards] (PRId16): Likewise.
62063         [C99-based-standards] (PRIi16): Likewise.
62064         [C99-based-standards] (PRIo16): Likewise.
62065         [C99-based-standards] (PRIu16): Likewise.
62066         [C99-based-standards] (PRIx16): Likewise.
62067         [C99-based-standards] (PRIX16): Likewise.
62068         [C99-based-standards] (SCNd16): Likewise.
62069         [C99-based-standards] (SCNi16): Likewise.
62070         [C99-based-standards] (SCNo16): Likewise.
62071         [C99-based-standards] (SCNu16): Likewise.
62072         [C99-based-standards] (SCNx16): Likewise.
62073         [C99-based-standards] (PRIdLEAST16): Likewise.
62074         [C99-based-standards] (PRIiLEAST16): Likewise.
62075         [C99-based-standards] (PRIoLEAST16): Likewise.
62076         [C99-based-standards] (PRIuLEAST16): Likewise.
62077         [C99-based-standards] (PRIxLEAST16): Likewise.
62078         [C99-based-standards] (PRIXLEAST16): Likewise.
62079         [C99-based-standards] (SCNdLEAST16): Likewise.
62080         [C99-based-standards] (SCNiLEAST16): Likewise.
62081         [C99-based-standards] (SCNoLEAST16): Likewise.
62082         [C99-based-standards] (SCNuLEAST16): Likewise.
62083         [C99-based-standards] (SCNxLEAST16): Likewise.
62084         [C99-based-standards] (PRIdFAST16): Likewise.
62085         [C99-based-standards] (PRIiFAST16): Likewise.
62086         [C99-based-standards] (PRIoFAST16): Likewise.
62087         [C99-based-standards] (PRIuFAST16): Likewise.
62088         [C99-based-standards] (PRIxFAST16): Likewise.
62089         [C99-based-standards] (PRIXFAST16): Likewise.
62090         [C99-based-standards] (SCNdFAST16): Likewise.
62091         [C99-based-standards] (SCNiFAST16): Likewise.
62092         [C99-based-standards] (SCNoFAST16): Likewise.
62093         [C99-based-standards] (SCNuFAST16): Likewise.
62094         [C99-based-standards] (SCNxFAST16): Likewise.
62095         [C99-based-standards] (PRId32): Likewise.
62096         [C99-based-standards] (PRIi32): Likewise.
62097         [C99-based-standards] (PRIo32): Likewise.
62098         [C99-based-standards] (PRIu32): Likewise.
62099         [C99-based-standards] (PRIx32): Likewise.
62100         [C99-based-standards] (PRIX32): Likewise.
62101         [C99-based-standards] (SCNd32): Likewise.
62102         [C99-based-standards] (SCNi32): Likewise.
62103         [C99-based-standards] (SCNo32): Likewise.
62104         [C99-based-standards] (SCNu32): Likewise.
62105         [C99-based-standards] (SCNx32): Likewise.
62106         [C99-based-standards] (PRIdLEAST32): Likewise.
62107         [C99-based-standards] (PRIiLEAST32): Likewise.
62108         [C99-based-standards] (PRIoLEAST32): Likewise.
62109         [C99-based-standards] (PRIuLEAST32): Likewise.
62110         [C99-based-standards] (PRIxLEAST32): Likewise.
62111         [C99-based-standards] (PRIXLEAST32): Likewise.
62112         [C99-based-standards] (SCNdLEAST32): Likewise.
62113         [C99-based-standards] (SCNiLEAST32): Likewise.
62114         [C99-based-standards] (SCNoLEAST32): Likewise.
62115         [C99-based-standards] (SCNuLEAST32): Likewise.
62116         [C99-based-standards] (SCNxLEAST32): Likewise.
62117         [C99-based-standards] (PRIdFAST32): Likewise.
62118         [C99-based-standards] (PRIiFAST32): Likewise.
62119         [C99-based-standards] (PRIoFAST32): Likewise.
62120         [C99-based-standards] (PRIuFAST32): Likewise.
62121         [C99-based-standards] (PRIxFAST32): Likewise.
62122         [C99-based-standards] (PRIXFAST32): Likewise.
62123         [C99-based-standards] (SCNdFAST32): Likewise.
62124         [C99-based-standards] (SCNiFAST32): Likewise.
62125         [C99-based-standards] (SCNoFAST32): Likewise.
62126         [C99-based-standards] (SCNuFAST32): Likewise.
62127         [C99-based-standards] (SCNxFAST32): Likewise.
62128         [C99-based-standards] (PRId64): Likewise.
62129         [C99-based-standards] (PRIi64): Likewise.
62130         [C99-based-standards] (PRIo64): Likewise.
62131         [C99-based-standards] (PRIu64): Likewise.
62132         [C99-based-standards] (PRIx64): Likewise.
62133         [C99-based-standards] (PRIX64): Likewise.
62134         [C99-based-standards] (SCNd64): Likewise.
62135         [C99-based-standards] (SCNi64): Likewise.
62136         [C99-based-standards] (SCNo64): Likewise.
62137         [C99-based-standards] (SCNu64): Likewise.
62138         [C99-based-standards] (SCNx64): Likewise.
62139         [C99-based-standards] (PRIdLEAST64): Likewise.
62140         [C99-based-standards] (PRIiLEAST64): Likewise.
62141         [C99-based-standards] (PRIoLEAST64): Likewise.
62142         [C99-based-standards] (PRIuLEAST64): Likewise.
62143         [C99-based-standards] (PRIxLEAST64): Likewise.
62144         [C99-based-standards] (PRIXLEAST64): Likewise.
62145         [C99-based-standards] (SCNdLEAST64): Likewise.
62146         [C99-based-standards] (SCNiLEAST64): Likewise.
62147         [C99-based-standards] (SCNoLEAST64): Likewise.
62148         [C99-based-standards] (SCNuLEAST64): Likewise.
62149         [C99-based-standards] (SCNxLEAST64): Likewise.
62150         [C99-based-standards] (PRIdFAST64): Likewise.
62151         [C99-based-standards] (PRIiFAST64): Likewise.
62152         [C99-based-standards] (PRIoFAST64): Likewise.
62153         [C99-based-standards] (PRIuFAST64): Likewise.
62154         [C99-based-standards] (PRIxFAST64): Likewise.
62155         [C99-based-standards] (PRIXFAST64): Likewise.
62156         [C99-based-standards] (SCNdFAST64): Likewise.
62157         [C99-based-standards] (SCNiFAST64): Likewise.
62158         [C99-based-standards] (SCNoFAST64): Likewise.
62159         [C99-based-standards] (SCNuFAST64): Likewise.
62160         [C99-based-standards] (SCNxFAST64): Likewise.
62161         [C99-based-standards] (PRIdMAX): Likewise.
62162         [C99-based-standards] (PRIiMAX): Likewise.
62163         [C99-based-standards] (PRIoMAX): Likewise.
62164         [C99-based-standards] (PRIuMAX): Likewise.
62165         [C99-based-standards] (PRIxMAX): Likewise.
62166         [C99-based-standards] (PRIXMAX): Likewise.
62167         [C99-based-standards] (SCNdMAX): Likewise.
62168         [C99-based-standards] (SCNiMAX): Likewise.
62169         [C99-based-standards] (SCNoMAX): Likewise.
62170         [C99-based-standards] (SCNuMAX): Likewise.
62171         [C99-based-standards] (SCNxMAX): Likewise.
62172         [C99-based-standards] (PRIdPTR): Likewise.
62173         [C99-based-standards] (PRIiPTR): Likewise.
62174         [C99-based-standards] (PRIoPTR): Likewise.
62175         [C99-based-standards] (PRIuPTR): Likewise.
62176         [C99-based-standards] (PRIxPTR): Likewise.
62177         [C99-based-standards] (PRIXPTR): Likewise.
62178         [C99-based-standards] (SCNdPTR): Likewise.
62179         [C99-based-standards] (SCNiPTR): Likewise.
62180         [C99-based-standards] (SCNoPTR): Likewise.
62181         [C99-based-standards] (SCNuPTR): Likewise.
62182         [C99-based-standards] (SCNxPTR): Likewise.
62183         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
62184         allow.
62185         * conform/data/stdint.h-data: Update comments to clarify
62186         requirements.
62187         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
62188         type.
62189         [C99-based standards] (INT8_MAX): Likewise.
62190         [C99-based standards] (INT16_MIN): Likewise.
62191         [C99-based standards] (INT16_MAX): Likewise.
62192         [C99-based standards] (INT32_MIN): Likewise.
62193         [C99-based standards] (INT32_MAX): Likewise.
62194         [C99-based standards] (INT64_MIN): Likewise.
62195         [C99-based standards] (INT64_MAX): Likewise.
62196         [C99-based standards] (UINT8_MAX): Likewise.
62197         [C99-based standards] (UINT16_MAX): Likewise.
62198         [C99-based standards] (UINT32_MAX): Likewise.
62199         [C99-based standards] (UINT64_MAX): Likewise.
62200         [C99-based standards] (INT_LEAST8_MIN): Likewise.
62201         [C99-based standards] (INT_LEAST8_MAX): Likewise.
62202         [C99-based standards] (INT_LEAST16_MIN): Likewise.
62203         [C99-based standards] (INT_LEAST16_MAX): Likewise.
62204         [C99-based standards] (INT_LEAST32_MIN): Likewise.
62205         [C99-based standards] (INT_LEAST32_MAX): Likewise.
62206         [C99-based standards] (INT_LEAST64_MIN): Likewise.
62207         [C99-based standards] (INT_LEAST64_MAX): Likewise.
62208         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
62209         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
62210         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
62211         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
62212         [C99-based standards] (INT_FAST8_MIN): Likewise.
62213         [C99-based standards] (INT_FAST8_MAX): Likewise.
62214         [C99-based standards] (INT_FAST16_MIN): Likewise.
62215         [C99-based standards] (INT_FAST16_MAX): Likewise.
62216         [C99-based standards] (INT_FAST32_MIN): Likewise.
62217         [C99-based standards] (INT_FAST32_MAX): Likewise.
62218         [C99-based standards] (INT_FAST64_MIN): Likewise.
62219         [C99-based standards] (INT_FAST64_MAX): Likewise.
62220         [C99-based standards] (UINT_FAST8_MAX): Likewise.
62221         [C99-based standards] (UINT_FAST16_MAX): Likewise.
62222         [C99-based standards] (UINT_FAST32_MAX): Likewise.
62223         [C99-based standards] (UINT_FAST64_MAX): Likewise.
62224         [C99-based standards] (INTPTR_MIN): Likewise.
62225         [C99-based standards] (INTPTR_MAX): Likewise.
62226         [C99-based standards] (UINTPTR_MAX): Likewise.
62227         [C99-based standards] (INTMAX_MIN): Likewise.
62228         [C99-based standards] (INTMAX_MAX): Likewise.
62229         [C99-based standards] (UINTMAX_MAX): Likewise.
62230         [C99-based standards] (PTRDIFF_MIN): Likewise.
62231         [C99-based standards] (PTRDIFF_MAX): Likewise.
62232         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
62233         [C99-based standards] (SIZE_MAX): Likewise.
62234         [C99-based standards] (WCHAR_MAX): Likewise.
62235         [C99-based standards] (WINT_MAX): Likewise.
62236         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
62237         constraint on value.
62238         [C99-based standards] (WCHAR_MIN): Likewise.
62239         [C99-based standards] (WINT_MIN): Likewise.
62240         [C99-based standards] (*_t): Allow.
62241         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
62242         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
62243         Include math.h-data and complex.h-data.  Remove all expectations
62244         of math.h and complex.h contents.
62245         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
62246         at end of line.
62247         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
62248         (struct tm): Expect tag.
62249         [C99-based-standards] (wcstof): Expect function.
62250         [C99-based-standards] (wcstold): Likewise.
62251         [C99-based-standards] (wcstoll): Likewise.
62252         [C99-based-standards] (wcstoull): Likewise.
62253         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
62254         macro-int-constant.  Specify type.
62255         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
62256         constraint on value.
62257         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
62258         Specify type.
62259         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
62260         Specify value.
62261         [ISO C standards]: Do not allow headers.
62262         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
62263         wcs[abcdefghijklmnopqrstuvwxyz]*.
62264         [ISO C standards] (*_t): Do not allow.
62265         * conform/data/wctype.h-data [C99-based standards] (iswblank):
62266         Expect function.
62267         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
62268         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
62269         Specify type.
62270         [ISO C standards]: Do not allow headers.
62271         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
62272         is[abcdefghijklmnopqrstuvwxyz]*.
62273         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
62274         to[abcdefghijklmnopqrstuvwxyz]*.
62275         [ISO C standards] (*_t): Do not allow.
62276         * conform/data/stdalign.h-data: New file.
62277         * conform/data/stdbool.h-data: Likewise.
62278         * conform/data/stdnoreturn.h-data: Likewise.
62280 2012-11-07  Roland McGrath  <roland@hack.frob.com>
62282         [BZ #14815]
62283         * manual/filesys.texi (Directory Entries): Typo fix.
62284         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
62286 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62288         * elf/elf.h (EM_AARCH64): New macro.
62289         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
62290         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
62291         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
62292         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
62293         (R_AARCH64_TLSDESC): Likewise.
62294         (NT_ARM_TLS): Likewise.
62295         (NT_ARM_HW_BREAK): Likewise.
62296         (NT_ARM_HW_WATCH): Likewise.
62298 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
62300         [BZ #14811]
62301         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
62302         (__ieee754_powl): Saturate nonzero exponents with absolute value
62303         below 0x1p-79 to +/- 0x1p-79.
62304         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
62305         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
62306         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
62307         nonzero exponents with absolute value below 0x1p-32 to +/-
62308         0x1p-32.
62309         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
62310         (__ieee754_powl): Saturate nonzero exponents with absolute value
62311         below 0x1p-79 to +/- 0x1p-79.
62312         * math/libm-test.inc (pow_test): Add more tests.
62314 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62316         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
62317         _dl_s390_cap_flags with kernel. Increase string length.
62318         (_dl_s390_platforms): Add z196 and zEC12.
62320 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
62322         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
62323         Change XOPEN21K to XOPEN2K.
62325 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
62327         * string/memmove.c: Use memcpy when possible.
62329 2012-11-06  Andreas Jaeger  <aj@suse.de>
62331         * po/eo.po: Update from translation team.
62333 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
62335         [BZ #14793]
62336         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
62337         exponent and small x and y exponents, scale x or y up.  Increase
62338         by 2 the exponent used in scaling up.
62339         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62340         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62341         * math/libm-test.inc (fma_test): Add more tests.
62342         (fma_test_towardzero): Likewise.
62343         (fma_test_downward): Likewise.
62344         (fma_test_upward): Likewise.
62346 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
62348         [BZ #14805]
62349         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
62350         fenv_t *.
62352         [BZ #14801]
62353         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
62354         namespace for names of struct fields.
62355         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
62356         fenv_t fields.
62357         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
62358         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
62360 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62362         [BZ #3665]
62363         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
62365 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
62367         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
62368         PTR_DEMANGLE.
62370         [BZ #5246]
62371         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
62372         PTR_DEMANGLE.
62374 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
62376         [BZ #14797]
62377         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
62378         definitely overflow as x * y not x * y + z.
62379         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62380         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62381         * math/libm-test.inc (fma_test): Add more tests.
62382         (fma_test_towardzero): Likewise.
62383         (fma_test_downward): Likewise.
62384         (fma_test_upward): Likewise.
62386 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
62388         [BZ #157]
62390         * include/stub-tag.h: Remove file.
62391         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
62392         '#include' of it.
62393         * manual/maint.texi (Porting): Don't reference it.
62394         * Makerules ($(objpfx)stubs): Likewise.
62395         * dirent/closedir.c: Don't include <stub-tag.h>.
62396         * dirent/dirfd.c: Likewise.
62397         * dirent/fdopendir.c: Likewise.
62398         * dirent/getdents.c: Likewise.
62399         * dirent/getdents64.c: Likewise.
62400         * dirent/opendir.c: Likewise.
62401         * dirent/readdir.c: Likewise.
62402         * dirent/readdir64.c: Likewise.
62403         * dirent/readdir64_r.c: Likewise.
62404         * dirent/readdir_r.c: Likewise.
62405         * dirent/rewinddir.c: Likewise.
62406         * dirent/seekdir.c: Likewise.
62407         * dirent/telldir.c: Likewise.
62408         * gmon/profil.c: Likewise.
62409         * grp/setgroups.c: Likewise.
62410         * inet/if_index.c: Likewise.
62411         * io/access.c: Likewise.
62412         * io/chdir.c: Likewise.
62413         * io/chmod.c: Likewise.
62414         * io/chown.c: Likewise.
62415         * io/close.c: Likewise.
62416         * io/dup.c: Likewise.
62417         * io/dup2.c: Likewise.
62418         * io/dup3.c: Likewise.
62419         * io/euidaccess.c: Likewise.
62420         * io/faccessat.c: Likewise.
62421         * io/fchdir.c: Likewise.
62422         * io/fchmod.c: Likewise.
62423         * io/fchmodat.c: Likewise.
62424         * io/fchown.c: Likewise.
62425         * io/fchownat.c: Likewise.
62426         * io/fcntl.c: Likewise.
62427         * io/flock.c: Likewise.
62428         * io/fstatfs.c: Likewise.
62429         * io/fstatfs64.c: Likewise.
62430         * io/fstatvfs.c: Likewise.
62431         * io/fstatvfs64.c: Likewise.
62432         * io/futimens.c: Likewise.
62433         * io/fxstat.c: Likewise.
62434         * io/fxstat64.c: Likewise.
62435         * io/fxstatat.c: Likewise.
62436         * io/fxstatat64.c: Likewise.
62437         * io/getcwd.c: Likewise.
62438         * io/isatty.c: Likewise.
62439         * io/lchmod.c: Likewise.
62440         * io/lchown.c: Likewise.
62441         * io/link.c: Likewise.
62442         * io/linkat.c: Likewise.
62443         * io/lseek.c: Likewise.
62444         * io/lseek64.c: Likewise.
62445         * io/lxstat64.c: Likewise.
62446         * io/mkdir.c: Likewise.
62447         * io/mkdirat.c: Likewise.
62448         * io/mkfifo.c: Likewise.
62449         * io/mkfifoat.c: Likewise.
62450         * io/open.c: Likewise.
62451         * io/open64.c: Likewise.
62452         * io/openat.c: Likewise.
62453         * io/openat64.c: Likewise.
62454         * io/pipe.c: Likewise.
62455         * io/pipe2.c: Likewise.
62456         * io/poll.c: Likewise.
62457         * io/posix_fadvise.c: Likewise.
62458         * io/posix_fadvise64.c: Likewise.
62459         * io/posix_fallocate.c: Likewise.
62460         * io/posix_fallocate64.c: Likewise.
62461         * io/read.c: Likewise.
62462         * io/readlink.c: Likewise.
62463         * io/readlinkat.c: Likewise.
62464         * io/rmdir.c: Likewise.
62465         * io/sendfile.c: Likewise.
62466         * io/sendfile64.c: Likewise.
62467         * io/statfs.c: Likewise.
62468         * io/statfs64.c: Likewise.
62469         * io/statvfs.c: Likewise.
62470         * io/statvfs64.c: Likewise.
62471         * io/symlink.c: Likewise.
62472         * io/symlinkat.c: Likewise.
62473         * io/ttyname.c: Likewise.
62474         * io/ttyname_r.c: Likewise.
62475         * io/umask.c: Likewise.
62476         * io/unlink.c: Likewise.
62477         * io/unlinkat.c: Likewise.
62478         * io/utime.c: Likewise.
62479         * io/utimensat.c: Likewise.
62480         * io/write.c: Likewise.
62481         * io/xmknod.c: Likewise.
62482         * io/xmknodat.c: Likewise.
62483         * io/xstat.c: Likewise.
62484         * io/xstat64.c: Likewise.
62485         * login/getpt.c: Likewise.
62486         * login/grantpt.c: Likewise.
62487         * login/unlockpt.c: Likewise.
62488         * math/e_acoshl.c: Likewise.
62489         * math/e_acosl.c: Likewise.
62490         * math/e_asinl.c: Likewise.
62491         * math/e_atan2l.c: Likewise.
62492         * math/e_atanhl.c: Likewise.
62493         * math/e_coshl.c: Likewise.
62494         * math/e_expl.c: Likewise.
62495         * math/e_fmodl.c: Likewise.
62496         * math/e_gammal_r.c: Likewise.
62497         * math/e_hypotl.c: Likewise.
62498         * math/e_j0l.c: Likewise.
62499         * math/e_j1l.c: Likewise.
62500         * math/e_jnl.c: Likewise.
62501         * math/e_lgammal_r.c: Likewise.
62502         * math/e_log10l.c: Likewise.
62503         * math/e_log2l.c: Likewise.
62504         * math/e_logl.c: Likewise.
62505         * math/e_powl.c: Likewise.
62506         * math/e_rem_pio2l.c: Likewise.
62507         * math/e_sinhl.c: Likewise.
62508         * math/e_sqrtl.c: Likewise.
62509         * math/fclrexcpt.c: Likewise.
62510         * math/fedisblxcpt.c: Likewise.
62511         * math/feenablxcpt.c: Likewise.
62512         * math/fegetenv.c: Likewise.
62513         * math/fegetexcept.c: Likewise.
62514         * math/fegetround.c: Likewise.
62515         * math/feholdexcpt.c: Likewise.
62516         * math/fesetenv.c: Likewise.
62517         * math/fesetround.c: Likewise.
62518         * math/feupdateenv.c: Likewise.
62519         * math/fgetexcptflg.c: Likewise.
62520         * math/fraiseexcpt.c: Likewise.
62521         * math/fsetexcptflg.c: Likewise.
62522         * math/ftestexcept.c: Likewise.
62523         * math/k_cosl.c: Likewise.
62524         * math/k_rem_pio2l.c: Likewise.
62525         * math/k_sinl.c: Likewise.
62526         * math/k_tanl.c: Likewise.
62527         * math/s_asinhl.c: Likewise.
62528         * math/s_atanl.c: Likewise.
62529         * math/s_cbrtl.c: Likewise.
62530         * math/s_erfl.c: Likewise.
62531         * math/s_expm1l.c: Likewise.
62532         * math/s_log1pl.c: Likewise.
62533         * math/s_tanhl.c: Likewise.
62534         * misc/acct.c: Likewise.
62535         * misc/brk.c: Likewise.
62536         * misc/chflags.c: Likewise.
62537         * misc/chroot.c: Likewise.
62538         * misc/fchflags.c: Likewise.
62539         * misc/fgetxattr.c: Likewise.
62540         * misc/flistxattr.c: Likewise.
62541         * misc/fremovexattr.c: Likewise.
62542         * misc/fsetxattr.c: Likewise.
62543         * misc/fsync.c: Likewise.
62544         * misc/ftruncate.c: Likewise.
62545         * misc/futimes.c: Likewise.
62546         * misc/futimesat.c: Likewise.
62547         * misc/getdomain.c: Likewise.
62548         * misc/getdtsz.c: Likewise.
62549         * misc/gethostid.c: Likewise.
62550         * misc/gethostname.c: Likewise.
62551         * misc/getloadavg.c: Likewise.
62552         * misc/getpagesize.c: Likewise.
62553         * misc/getsysstats.c: Likewise.
62554         * misc/getxattr.c: Likewise.
62555         * misc/gtty.c: Likewise.
62556         * misc/ioctl.c: Likewise.
62557         * misc/lgetxattr.c: Likewise.
62558         * misc/listxattr.c: Likewise.
62559         * misc/llistxattr.c: Likewise.
62560         * misc/lremovexattr.c: Likewise.
62561         * misc/lsetxattr.c: Likewise.
62562         * misc/lutimes.c: Likewise.
62563         * misc/madvise.c: Likewise.
62564         * misc/mincore.c: Likewise.
62565         * misc/mlock.c: Likewise.
62566         * misc/mlockall.c: Likewise.
62567         * misc/mmap.c: Likewise.
62568         * misc/mprotect.c: Likewise.
62569         * misc/msync.c: Likewise.
62570         * misc/munlock.c: Likewise.
62571         * misc/munlockall.c: Likewise.
62572         * misc/munmap.c: Likewise.
62573         * misc/preadv.c: Likewise.
62574         * misc/preadv64.c: Likewise.
62575         * misc/ptrace.c: Likewise.
62576         * misc/pwritev.c: Likewise.
62577         * misc/pwritev64.c: Likewise.
62578         * misc/readv.c: Likewise.
62579         * misc/reboot.c: Likewise.
62580         * misc/remap_file_pages.c: Likewise.
62581         * misc/removexattr.c: Likewise.
62582         * misc/revoke.c: Likewise.
62583         * misc/select.c: Likewise.
62584         * misc/setdomain.c: Likewise.
62585         * misc/setegid.c: Likewise.
62586         * misc/seteuid.c: Likewise.
62587         * misc/sethostid.c: Likewise.
62588         * misc/sethostname.c: Likewise.
62589         * misc/setregid.c: Likewise.
62590         * misc/setreuid.c: Likewise.
62591         * misc/setxattr.c: Likewise.
62592         * misc/sstk.c: Likewise.
62593         * misc/stty.c: Likewise.
62594         * misc/swapoff.c: Likewise.
62595         * misc/swapon.c: Likewise.
62596         * misc/sync.c: Likewise.
62597         * misc/syncfs.c: Likewise.
62598         * misc/syscall.c: Likewise.
62599         * misc/truncate.c: Likewise.
62600         * misc/ualarm.c: Likewise.
62601         * misc/usleep.c: Likewise.
62602         * misc/ustat.c: Likewise.
62603         * misc/utimes.c: Likewise.
62604         * misc/vhangup.c: Likewise.
62605         * misc/writev.c: Likewise.
62606         * posix/_exit.c: Likewise.
62607         * posix/alarm.c: Likewise.
62608         * posix/execve.c: Likewise.
62609         * posix/fexecve.c: Likewise.
62610         * posix/fork.c: Likewise.
62611         * posix/fpathconf.c: Likewise.
62612         * posix/getaddrinfo.c: Likewise.
62613         * posix/getegid.c: Likewise.
62614         * posix/geteuid.c: Likewise.
62615         * posix/getgid.c: Likewise.
62616         * posix/getgroups.c: Likewise.
62617         * posix/getlogin.c: Likewise.
62618         * posix/getlogin_r.c: Likewise.
62619         * posix/getpgid.c: Likewise.
62620         * posix/getpid.c: Likewise.
62621         * posix/getppid.c: Likewise.
62622         * posix/getresgid.c: Likewise.
62623         * posix/getresuid.c: Likewise.
62624         * posix/getsid.c: Likewise.
62625         * posix/getuid.c: Likewise.
62626         * posix/glob64.c: Likewise.
62627         * posix/nanosleep.c: Likewise.
62628         * posix/pathconf.c: Likewise.
62629         * posix/pause.c: Likewise.
62630         * posix/posix_madvise.c: Likewise.
62631         * posix/pread.c: Likewise.
62632         * posix/pread64.c: Likewise.
62633         * posix/pwrite.c: Likewise.
62634         * posix/pwrite64.c: Likewise.
62635         * posix/sched_getaffinity.c: Likewise.
62636         * posix/sched_getp.c: Likewise.
62637         * posix/sched_gets.c: Likewise.
62638         * posix/sched_primax.c: Likewise.
62639         * posix/sched_primin.c: Likewise.
62640         * posix/sched_rr_gi.c: Likewise.
62641         * posix/sched_setaffinity.c: Likewise.
62642         * posix/sched_setp.c: Likewise.
62643         * posix/sched_sets.c: Likewise.
62644         * posix/sched_yield.c: Likewise.
62645         * posix/setgid.c: Likewise.
62646         * posix/setlogin.c: Likewise.
62647         * posix/setpgid.c: Likewise.
62648         * posix/setresgid.c: Likewise.
62649         * posix/setresuid.c: Likewise.
62650         * posix/setsid.c: Likewise.
62651         * posix/setuid.c: Likewise.
62652         * posix/sleep.c: Likewise.
62653         * posix/spawni.c: Likewise.
62654         * posix/sysconf.c: Likewise.
62655         * posix/times.c: Likewise.
62656         * posix/wait.c: Likewise.
62657         * posix/wait3.c: Likewise.
62658         * posix/wait4.c: Likewise.
62659         * posix/waitpid.c: Likewise.
62660         * resolv/gai_sigqueue.c: Likewise.
62661         * resource/getpriority.c: Likewise.
62662         * resource/getrlimit.c: Likewise.
62663         * resource/getrusage.c: Likewise.
62664         * resource/nice.c: Likewise.
62665         * resource/setpriority.c: Likewise.
62666         * resource/setrlimit.c: Likewise.
62667         * resource/ulimit.c: Likewise.
62668         * rt/aio_cancel.c: Likewise.
62669         * rt/aio_fsync.c: Likewise.
62670         * rt/aio_read.c: Likewise.
62671         * rt/aio_sigqueue.c: Likewise.
62672         * rt/aio_suspend.c: Likewise.
62673         * rt/aio_write.c: Likewise.
62674         * rt/clock_getres.c: Likewise.
62675         * rt/clock_gettime.c: Likewise.
62676         * rt/clock_nanosleep.c: Likewise.
62677         * rt/clock_settime.c: Likewise.
62678         * rt/lio_listio.c: Likewise.
62679         * rt/mq_close.c: Likewise.
62680         * rt/mq_getattr.c: Likewise.
62681         * rt/mq_notify.c: Likewise.
62682         * rt/mq_open.c: Likewise.
62683         * rt/mq_receive.c: Likewise.
62684         * rt/mq_send.c: Likewise.
62685         * rt/mq_setattr.c: Likewise.
62686         * rt/mq_timedreceive.c: Likewise.
62687         * rt/mq_timedsend.c: Likewise.
62688         * rt/mq_unlink.c: Likewise.
62689         * rt/shm_open.c: Likewise.
62690         * rt/shm_unlink.c: Likewise.
62691         * rt/timer_create.c: Likewise.
62692         * rt/timer_delete.c: Likewise.
62693         * rt/timer_getoverr.c: Likewise.
62694         * rt/timer_gettime.c: Likewise.
62695         * rt/timer_settime.c: Likewise.
62696         * setjmp/__longjmp.c: Likewise.
62697         * setjmp/setjmp.c: Likewise.
62698         * signal/kill.c: Likewise.
62699         * signal/killpg.c: Likewise.
62700         * signal/raise.c: Likewise.
62701         * signal/sigaction.c: Likewise.
62702         * signal/sigaltstack.c: Likewise.
62703         * signal/sigblock.c: Likewise.
62704         * signal/sigignore.c: Likewise.
62705         * signal/sigintr.c: Likewise.
62706         * signal/signal.c: Likewise.
62707         * signal/sigpause.c: Likewise.
62708         * signal/sigpending.c: Likewise.
62709         * signal/sigqueue.c: Likewise.
62710         * signal/sigreturn.c: Likewise.
62711         * signal/sigset.c: Likewise.
62712         * signal/sigsetmask.c: Likewise.
62713         * signal/sigstack.c: Likewise.
62714         * signal/sigsuspend.c: Likewise.
62715         * signal/sigtimedwait.c: Likewise.
62716         * signal/sigvec.c: Likewise.
62717         * signal/sigwait.c: Likewise.
62718         * signal/sigwaitinfo.c: Likewise.
62719         * signal/sysv_signal.c: Likewise.
62720         * socket/accept.c: Likewise.
62721         * socket/accept4.c: Likewise.
62722         * socket/bind.c: Likewise.
62723         * socket/connect.c: Likewise.
62724         * socket/getpeername.c: Likewise.
62725         * socket/getsockname.c: Likewise.
62726         * socket/getsockopt.c: Likewise.
62727         * socket/isfdtype.c: Likewise.
62728         * socket/listen.c: Likewise.
62729         * socket/recv.c: Likewise.
62730         * socket/recvfrom.c: Likewise.
62731         * socket/recvmsg.c: Likewise.
62732         * socket/send.c: Likewise.
62733         * socket/sendmsg.c: Likewise.
62734         * socket/sendto.c: Likewise.
62735         * socket/setsockopt.c: Likewise.
62736         * socket/shutdown.c: Likewise.
62737         * socket/sockatmark.c: Likewise.
62738         * socket/socket.c: Likewise.
62739         * socket/socketpair.c: Likewise.
62740         * stdio-common/ctermid.c: Likewise.
62741         * stdio-common/cuserid.c: Likewise.
62742         * stdio-common/remove.c: Likewise.
62743         * stdio-common/rename.c: Likewise.
62744         * stdio-common/renameat.c: Likewise.
62745         * stdio-common/tempname.c: Likewise.
62746         * stdlib/getcontext.c: Likewise.
62747         * stdlib/makecontext.c: Likewise.
62748         * stdlib/setcontext.c: Likewise.
62749         * stdlib/swapcontext.c: Likewise.
62750         * stdlib/system.c: Likewise.
62751         * streams/fattach.c: Likewise.
62752         * streams/fdetach.c: Likewise.
62753         * streams/getmsg.c: Likewise.
62754         * streams/getpmsg.c: Likewise.
62755         * streams/putmsg.c: Likewise.
62756         * streams/putpmsg.c: Likewise.
62757         * sysdeps/unix/bsd/getpt.c: Likewise.
62758         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
62759         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
62760         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
62761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
62762         Likewise.
62763         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
62764         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
62765         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
62766         * sysvipc/msgctl.c: Likewise.
62767         * sysvipc/msgget.c: Likewise.
62768         * sysvipc/msgrcv.c: Likewise.
62769         * sysvipc/msgsnd.c: Likewise.
62770         * sysvipc/semctl.c: Likewise.
62771         * sysvipc/semget.c: Likewise.
62772         * sysvipc/semop.c: Likewise.
62773         * sysvipc/semtimedop.c: Likewise.
62774         * sysvipc/shmat.c: Likewise.
62775         * sysvipc/shmctl.c: Likewise.
62776         * sysvipc/shmdt.c: Likewise.
62777         * sysvipc/shmget.c: Likewise.
62778         * termios/tcdrain.c: Likewise.
62779         * termios/tcflow.c: Likewise.
62780         * termios/tcflush.c: Likewise.
62781         * termios/tcgetattr.c: Likewise.
62782         * termios/tcgetpgrp.c: Likewise.
62783         * termios/tcsendbrk.c: Likewise.
62784         * termios/tcsetattr.c: Likewise.
62785         * termios/tcsetpgrp.c: Likewise.
62786         * time/adjtime.c: Likewise.
62787         * time/clock.c: Likewise.
62788         * time/getitimer.c: Likewise.
62789         * time/gettimeofday.c: Likewise.
62790         * time/setitimer.c: Likewise.
62791         * time/settimeofday.c: Likewise.
62792         * time/stime.c: Likewise.
62793         * time/time.c: Likewise.
62795 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
62797         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
62798         /usr/old/bin.
62800         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
62801         instead of spaces.
62802         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
62804 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
62806         [BZ #14796]
62807         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
62808         FE_TONEAREST before applying Dekker multiplication and Knuth
62809         addition.  Clear inexact exceptions and check for exact zero
62810         results afterwards.
62811         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62812         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
62813         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62814         * math/libm-test.inc (fma_test): Add more tests.
62815         (fma_test_towardzero): Likewise.
62816         (fma_test_downward): Likewise.
62817         (fma_test_upward): Likewise.
62818         * sysdeps/generic/math_private.h (default_libc_fesetround): New
62819         function.
62820         (libc_fesetround): New macro.
62821         (libc_fesetroundf): Likewise.
62822         (libc_fesetroundl): Likewise.
62823         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
62824         function.
62825         (libc_fesetround_387): Likewise.
62826         (libc_fesetroundf): New macro.
62827         (libc_fesetround): Likewise.
62828         (libc_fesetroundl): Likewise.
62829         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
62830         function.
62831         (libc_fesetroundf): New macro.
62832         (libc_fesetround): Likewise.
62833         (libc_fesetroundl): Likewise.
62834         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
62835         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
62836         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
62837         libm_hidden_ver.
62838         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
62839         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
62840         libm_hidden_def.
62841         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
62842         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
62843         libm_hidden_ver.
62844         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
62845         libm_hidden_def.
62847         [BZ #3439]
62848         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
62849         integer constant usable in #if and use that to give value to enum
62850         constant.
62851         (FE_DIVBYZERO): Likewise.
62852         (FE_UNDERFLOW): Likewise.
62853         (FE_OVERFLOW): Likewise.
62854         (FE_INVALID): Likewise.
62855         (FE_INVALID_SNAN): Likewise.
62856         (FE_INVALID_ISI): Likewise.
62857         (FE_INVALID_IDI): Likewise.
62858         (FE_INVALID_ZDZ): Likewise.
62859         (FE_INVALID_IMZ): Likewise.
62860         (FE_INVALID_COMPARE): Likewise.
62861         (FE_INVALID_SOFTWARE): Likewise.
62862         (FE_INVALID_SQRT): Likewise.
62863         (FE_INVALID_INTEGER_CONVERSION): Likewise.
62864         (FE_TONEAREST): Likewise.
62865         (FE_TOWARDZERO): Likewise.
62866         (FE_UPWARD): Likewise.
62867         (FE_DOWNWARD): Likewise.
62868         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
62869         (FE_DIVBYZERO): Likewise.
62870         (FE_OVERFLOW): Likewise.
62871         (FE_UNDERFLOW): Likewise.
62872         (FE_INEXACT): Likewise.
62873         (FE_TONEAREST): Likewise.
62874         (FE_DOWNWARD): Likewise.
62875         (FE_UPWARD): Likewise.
62876         (FE_TOWARDZERO): Likewise.
62877         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
62878         (FE_UNDERFLOW): Likewise.
62879         (FE_OVERFLOW): Likewise.
62880         (FE_DIVBYZERO): Likewise.
62881         (FE_INVALID): Likewise.
62882         (FE_TONEAREST): Likewise.
62883         (FE_TOWARDZERO): Likewise.
62884         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
62885         (FE_OVERFLOW): Likewise.
62886         (FE_UNDERFLOW): Likewise.
62887         (FE_DIVBYZERO): Likewise.
62888         (FE_INEXACT): Likewise.
62889         (FE_TONEAREST): Likewise.
62890         (FE_TOWARDZERO): Likewise.
62891         (FE_UPWARD): Likewise.
62892         (FE_DOWNWARD): Likewise.
62893         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
62894         (FE_DIVBYZERO): Likewise.
62895         (FE_OVERFLOW): Likewise.
62896         (FE_UNDERFLOW): Likewise.
62897         (FE_INEXACT): Likewise.
62898         (FE_TONEAREST): Likewise.
62899         (FE_DOWNWARD): Likewise.
62900         (FE_UPWARD): Likewise.
62901         (FE_TOWARDZERO): Likewise.
62903 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
62905         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
62907 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
62909         * scripts/cross-test-ssh.sh (command): Use newlines to separate
62910         commands.  Quote $PWD.
62911         (blacklist_exports): Don't use remove_newlines.  Replace "declare
62912         -x" by "export".
62913         (remove_newlines): Remove.
62915 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
62917         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
62918         * stdlib/stdlib.h (atof): Moved to ...
62919         * include/bits/stdlib-float.h: Here.  New file.
62920         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
62921         * stdlib/bits/stdlib-float.h: New file.
62922         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
62923         -mno-sse -mno-mmx.
62924         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
62925         <xmmintrin.h>.
62927 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
62929         * conform/conformtest.pl (@headers): Add fenv.h.
62930         * conform/data/fenv.h-data: New file.
62931         * include/fenv.h [_ISOMAC]: Disable all contents of file except
62932         include of <math/fenv.h>.
62934         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
62935         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
62936         && !UNIX98].  Enables tests for XOPEN2K8.
62937         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
62938         POSIX2008]: Likewise.
62940         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
62941         (struct rusage): Do not expect type or its members.
62943         [BZ #3439]
62944         * math/math.h (FP_NAN): Define macro to integer constant usable in
62945         #if and use that to give value to enum constant.
62946         (FP_INFINITE): Likewise.
62947         (FP_ZERO): Likewise.
62948         (FP_SUBNORMAL): Likewise.
62949         (FP_NORMAL): Likewise.
62951 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
62953         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
62954         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
62955         arguments.
62957 2012-11-02  Roland McGrath  <roland@hack.frob.com>
62959         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
62960         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
62961         autoconf-time if not.
62962         * configure.in: Remove AC_PREREQ.
62964 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62966         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
62967         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
62968         of the internal implementation.
62970 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
62972         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
62973         except include of <misc/sys/syslog.h>.
62975 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
62977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
62978         function returns with a NULL context exit with zero.
62980 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62982         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
62984 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
62986         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
62987         (run_program_cmd): This.
62988         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
62989         (tst_langinfo): New variable.  Use it.
62991 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
62993         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
62994         floating point opcodes.
62996 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62998         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
62999         variable.
63001         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
63003         * sysdeps/mach/hurd/powerpc: Remove directory.
63004         * sysdeps/mach/powerpc: Likewise.
63006 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
63008         * scripts/check-local-headers.sh: Ignore c++ headers.
63010 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
63012         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
63013         __libc_cleanup_region_start argument.
63015 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
63017         [BZ #14784]
63018         [BZ #14785]
63019         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
63020         x * y using scaling, not as x * y + z.
63021         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63022         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63023         * math/libm-test.inc (fma_test): Add more tests.
63024         (fma_test_towardzero): Likewise.
63025         (fma_test_downward): Likewise.
63026         (fma_test_upward): Likewise.
63028 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
63030         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
63032 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
63034         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
63035         New variable.
63037 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
63039         * rt/tst-shm.c (worker): Correct checking for mmap failure.
63041 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
63043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63044         Fix sort order.
63045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63046         Likewise.
63048 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63051         Fix the order of the list for glibc 2.17.
63052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63053         Likewise.
63055 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
63057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63059 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
63061         [BZ #14610]
63062         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
63063         for low part of x being zero before using __atanl (y).
63064         * math/libm-test.inc (atan2_test): Add another test.
63066         * manual/install.texi (Configuring and compiling): Document
63067         general use of test-wrapper and test-wrapper-env.
63068         * INSTALL: Regenerated.
63070         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
63071         (__fma): Do not extract and scale down low bits on after-rounding
63072         systems when result rounded to normal precision would have normal
63073         exponent.
63074         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
63075         (__fmal): Do not extract and scale down low bits on after-rounding
63076         systems when result rounded to normal precision would have normal
63077         exponent.
63078         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
63079         (__fmal): Do not extract and scale down low bits on after-rounding
63080         systems when result rounded to normal precision would have normal
63081         exponent.
63082         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
63083         macro.
63084         (fma_test): Add more tests.
63085         (fma_test_towardzero): Likewise.
63086         (fma_test_downward): Likewise.
63087         (fma_test_upward): Likewise.
63089 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
63091         * sysdeps/i386/tininess.h: Renamed to ...
63092         * sysdeps/x86/tininess.h: This.
63093         * sysdeps/x86_64/tininess.h: Removed.
63095 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
63097         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
63098         input.  Use $(build-program-cmd).
63099         ($(objpfx)tst-array1-static.out): Likewise.
63100         ($(objpfx)tst-array2.out): Likewise.
63101         ($(objpfx)tst-array3.out): Likewise.
63102         ($(objpfx)tst-array4.out): Likewise.
63103         ($(objpfx)tst-array5.out): Likewise.
63104         ($(objpfx)tst-array5-static.out): Likewise.
63106 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
63108         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
63109         if defined.
63111         * nss/nsswitch.h (nss_interface_function): Provide new
63112         macro for use with NSS functions.
63113         * grp/initgroups.c: Use new macro.
63114         * nss/getXXbyYY.c: Likewise.
63115         * nss/getXXbyYY_r.c: Likewise.
63116         * nss/getXXent.c: Likewise.
63117         * nss/getXXent_r.c: Likewise.
63118         * sysdeps/posix/getaddrinfo.c: Likewise.
63120 2012-10-30  Andreas Jaeger  <aj@suse.de>
63122         * po/ru.po: Update Russion translation from translation project.
63124 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
63126         [BZ #14152]
63127         [BZ #14783]
63128         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
63129         result and shift together with sticky bit instead of replicating
63130         round-to-nearest rounding.
63131         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63132         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63133         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
63134         missing underflow exceptions.
63135         (fma_test_towardzero): Add more tests.
63136         (fma_test_downward): Likewise.
63137         (fma_test_upward): Likewise.
63139         [BZ #14047]
63140         * sysdeps/generic/tininess.h: New file.
63141         * sysdeps/i386/tininess.h: Likewise.
63142         * sysdeps/sh/tininess.h: Likewise.
63143         * sysdeps/x86_64/tininess.h: Likewise.
63144         * stdlib/tst-strtod-underflow.c: Likewise.
63145         * stdlib/tst-tininess.c: Likewise.
63146         * stdlib/strtod_l.c: Include <tininess.h>.
63147         (round_and_return): Do not set errno for exact underflow cases.
63148         Force an underflow exception when setting errno for underflow.
63149         Determine underflow based on rounding to normal precision if
63150         TININESS_AFTER_ROUNDING.
63151         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
63152         ERANGE for exact underflow cases.
63153         * stdlib/Makefile (tests): Add tst-tininess and
63154         tst-strtod-underflow.
63155         ($(objpfx)tst-tininess): Use $(link-libm).
63156         ($(objpfx)tst-strtod-underflow): Likewise.
63158 2012-10-30  Andreas Jaeger  <aj@suse.de>
63160         [BZ#14767]
63161         * elf/Makefile (tests): Remove conditional for have-initfini-array
63162         since this is now always required and the variable does not exist
63163         anymore.
63164         (tests-static): Likewise.
63165         (modules-names): Likewise.
63167         * po/eo.po: Add Esperanto translation from translation project.
63169         * elf/tst-array1.c (fini_array): Make writeable so that it can be
63170         merged with constructor/destructor.
63171         (init_array): Likewise.
63172         * elf/tst-array2dep.c (fini_array): Likewise.
63173         (init_array): Likewise.
63175 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
63177         * manual/message.texi: Delete @cartouche tags.
63179 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
63181         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
63182         EOPNOTSUPP.
63183         * sysdeps/mach/hurd/fsync.c: Likewise.
63185         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
63186         [_POSIX_REALTIME_SIGNALS]: Change condition to
63187         [_POSIX_REALTIME_SIGNALS > 0].
63189 2012-10-27  Andreas Jaeger  <aj@suse.de>
63191         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
63192         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
63193         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
63194         [__WORDSIZE != 64]: Likewise.
63196 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
63198         *  iconvdata/tst-table.sh: Remove ${SHELL}.
63199         *  iconvdata/tst-tables.sh: Likewise.
63201 2012-10-25  David S. Miller  <davem@davemloft.net>
63203         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
63204         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
63205         of strtoull.
63207         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
63208         ifunc-impl-list.c
63209         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
63210         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
63211         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
63212         file.
63214 2012-10-25  Roland McGrath  <roland@hack.frob.com>
63216         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
63217         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
63218         __getdirentries.
63220 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
63221             Jim Blandy  <jimb@codesourcery.com>
63223         * scripts/cross-test-ssh.sh: New file.
63224         * manual/install.texi (Configuring and compiling): Document use of
63225         cross-test-ssh.sh.
63226         * INSTALL: Regenerated.
63228 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
63230         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
63231         EOPNOTSUPP.
63233 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
63235         * Makeconfig (run-program-prefix): Fix comment.
63237 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
63238             Jim Blandy  <jimb@codesourcery.com>
63240         * Makeconfig (test-wrapper): New variable,
63241         (test-wrapper-env): Likewise.
63242         [$(cross-compiling) = yes && $(test-wrapper) != ""]
63243         (run-built-tests): Define to yes.
63244         (run-program-prefix): Use $(test-wrapper).
63245         (built-program-cmd): Likewise.
63246         * Rules (make-test-out): Use $(test-wrapper-env) and
63247         $(host-built-program-cmd).
63248         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
63249         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
63250         tst-pathopt.sh.
63251         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
63252         $(test-wrapper-env) to tst-rtld-load-self.sh.
63253         ($(objpfx)order2.out): Use $(test-wrapper).
63254         ($(objpfx)tst-initorder.out): Likewise.
63255         ($(objpfx)tst-initorder2.out): Likewise.
63256         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
63257         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
63258         (test_wrapper_env): New variable.  Use it to run ld.so.
63259         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
63260         Use it to run ld.so.
63261         (test_wrapper_env): Likewise.
63262         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
63263         $(test-wrapper) to run-iconv-test.sh.
63264         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
63265         (ICONV): Use $test_wrapper.
63266         * posix/Makefile ($(objpfx)globtest.out): Pass
63267         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
63268         globtest.sh, not $(run-program-prefix).
63269         * posix/globtest.sh (run_via_rtld_prefix): New variable.
63270         (test_wrapper): Likewise.
63271         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
63272         set together with run_via_rtld_prefix.
63273         (run_program_prefix): Define in terms of test_wrapper and
63274         run_via_rtld_prefix.
63276 2012-10-24  Roland McGrath  <roland@hack.frob.com>
63278         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
63279         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
63280         Targets removed.
63282         [BZ #14743]
63283         * include/time.h: Remove librt_hidden_proto (clock_gettime).
63284         Declare __clock_getres, __clock_gettime, __clock_settime,
63285         __clock_nanosleep, and __clock_getcpuclockid.
63286         * rt/clock_gettime.c: Define __clock_gettime as an alias.
63287         Remove librt_hidden_def (clock_gettime).
63288         * sysdeps/unix/clock_gettime.c: Likewise.
63289         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
63290         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
63291         * rt/clock_getres.c: Define __clock_getres as an alias.
63292         * sysdeps/posix/clock_getres.c: Likewise.
63293         * rt/clock_settime.c: Define __clock_settime as an alias.
63294         * sysdeps/unix/clock_settime.c: Likewise.
63295         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
63296         * sysdeps/unix/clock_nanosleep.c: Likewise.
63297         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
63298         * rt/clock-compat.c: New file.
63299         * rt/Makefile (librt-routines): Add clock-compat and move
63300         $(clock-routines) to ...
63301         (routines): ... here, new variable.
63302         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
63303         Don't add get_clockfreq here.
63304         * rt/Versions (libc: GLIBC_2.17): New version set.
63305         Add clock_* symbols here.
63306         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
63307         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
63308         (GLIBC_2.17): Add clock_* symbols.
63309         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
63310         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
63311         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
63312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63313         Likewise.
63314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63315         Likewise.
63316         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63317         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
63318         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
63319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
63320         * NEWS: Mention the move.
63322         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
63323         Use __open, __read, __close rather than their public counterparts.
63324         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
63325         (__get_clockfreq_via_cpuinfo): Likewise.
63326         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
63327         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
63329         * config.h.in (HAVE_IFUNC): New #undef.
63330         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
63331         was successful.
63332         * configure: Regenerated.
63334 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
63336         * configure.in: Move READELF check to start of file.
63337         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
63338         libc_cv_asm_gnu_indirect_function in the process.
63339         * configure: Regenerated.
63341 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
63343         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
63344         send the output to /dev/null.
63345         (libc_cv_cc_with_libunwind): Likewise.
63346         (libc_cv_as_noexecstack): Likewise.
63347         * configure: Regenerate.
63349 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
63351         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
63353         * posix/globtest.sh (TMPDIR): Do not set.
63354         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
63355         (testout): Likewise.
63357 2012-10-24  Andreas Jaeger  <aj@suse.de>
63359         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
63360         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
63361         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
63362         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
63363         posix_fadvise64, posix_fallocate64.
63365         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
63366         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
63367         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
63368         Likewise.
63369         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
63370         Likewise.
63371         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
63373         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
63374         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
63375         <bits/fcntl-linux.h>.
63376         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
63378         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
63379         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
63380         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
63381         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
63382         [__WORDSIZE != 64]: Likewise.
63384 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
63386         * Makeconfig (run-built-tests): New variable.
63387         * Rules [$(cross-compiling) = yes]: Change condition to
63388         [$(run-built-tests) = no].
63389         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
63390         to [$(run-built-tests) = yes].
63391         * elf/Makefile [$(cross-compiling) = no]: Likewise.
63392         * grp/Makefile [$(cross-compiling) = no]: Likewise.
63393         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
63394         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
63395         * intl/Makefile [$(cross-compiling) = no]: Likewise.
63396         * io/Makefile [$(cross-compiling) = no]: Likewise.
63397         * libio/Makefile [$(cross-compiling) = no]: Likewise.
63398         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
63399         * misc/Makefile [$(cross-compiling) = no]: Likewise.
63400         * posix/Makefile [$(cross-compiling) = no]: Likewise.
63401         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
63402         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
63403         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
63404         * string/Makefile [$(cross-compiling) = no]: Likewise.
63406         * posix/Makefile ($(objpfx)globtest.out): Pass
63407         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
63408         $(rtld-installed-name).
63409         * posix/globtest.sh (elf_objpfx): Remove variable.
63410         (rtld_installed_name): Likewise.
63411         (library_path): Likewise.
63412         (run_program_prefix): New variable.  Use for running globtest
63413         binary.
63415 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
63416             Joseph Myers  <joseph@codesourcery.com>
63418         * Makeconfig (host-built-program-cmd): New variable.
63419         * elf/Makefile (tst-stackguard1-ARGS): Use
63420         $(host-built-program-cmd).
63421         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
63422         (tst-spawn-ARGS): Likewise.
63423         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
63425 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
63426             Jim Blandy  <jimb@codesourcery.com>
63428         * Makeconfig (run-via-rtld-prefix): New variable.
63429         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
63430         (built-program-cmd): Likewise.
63432 2012-10-22  Andreas Jaeger  <aj@suse.de>
63434         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
63435         __O_RSYNC if it exists, otherwise to O_SYNC.
63437 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
63438             Joseph Myers  <joseph@codesourcery.com>
63440         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
63441         /dev/null.
63442         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
63443         from /dev/null
63444         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
63445         /dev/null.
63447 2012-10-22  Andreas Jaeger  <aj@suse.de>
63449         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
63450         Define always.
63451         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
63453         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63454         bits/fcntl-linux.h.
63456         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
63457         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
63459         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
63460         to __O_LARGEFILE.
63461         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
63462         to __O_LARGEFILE.
63464 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
63465             Joseph Myers  <joseph@codesourcery.com>
63467         * config.make.in (NM): New variable.
63469 2012-10-21  Andreas Jaeger  <aj@suse.de>
63471         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
63472         definitions and declarations that are provided by
63473         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
63475 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
63477         [BZ #14683]
63478         * elf/Makefile (tests-static): Add tst-leaks1-static.
63479         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
63480         ($(objpfx)tst-leaks1-static): New rule.
63481         ($(objpfx)tst-leaks1-static-mem): Likewise.
63482         (tst-leaks1-static-ENV): New macro.
63483         * elf/dl-open.c (dl_open_worker): Check the main application
63484         only if SHARED is defined.
63485         * elf/tst-leaks1-static.c: New file.
63487 2012-10-20  Andreas Jaeger  <aj@suse.de>
63489         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
63490         generic values for Linux.
63491         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
63492         and declarations that are provided by <bits/fcntl-linux.h> and
63493         include <bits/fcntl-linux.h>.
63494         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63495         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63497 2012-10-20  Roland McGrath  <roland@hack.frob.com>
63499         * io/fcntl.h: Move include of <bits/types.h> to the top and
63500         include it unconditionally.
63502 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
63504         * wcsmbs/Makefile (tests-ifunc): New variable.
63505         (tests): Add $(tests-ifunc).
63506         * wcsmbs/test-wcschr-ifunc.c: New file.
63507         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
63508         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
63509         * wcsmbs/test-wcslen-ifunc.c: Likewise.
63510         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
63511         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
63513         * string/Makefile (tests-ifunc): New variable.
63514         (tests): Add $(tests-ifunc).
63515         * string/test-memccpy.c (TEST_NAME): New macro.
63516         * string/test-memchr.c (TEST_NAME): Likewise.
63517         * string/test-memcmp.c (TEST_NAME): Likewise.
63518         * string/test-memcpy.c (TEST_NAME): Likewise.
63519         * string/test-memmem.c (TEST_NAME): Likewise.
63520         * string/test-memmove.c (TEST_NAME): Likewise.
63521         * string/test-memset.c (TEST_NAME): Likewise.
63522         * string/test-rawmemchr.c (TEST_NAME): Likewise.
63523         * string/test-stpcpy.c (TEST_NAME): Likewise.
63524         * string/test-stpncpy.c (TEST_NAME): Likewise.
63525         * string/test-strcasecmp.c (TEST_NAME): Likewise.
63526         * string/test-strcasestr.c (TEST_NAME): Likewise.
63527         * string/test-strcat.c (TEST_NAME): Likewise.
63528         * string/test-strchr.c (TEST_NAME): Likewise.
63529         * string/test-strcmp.c(TEST_NAME): Likewise.
63530         * string/test-strcpy.c (TEST_NAME): Likewise.
63531         * string/test-strcspn.c (TEST_NAME): Likewise.
63532         * string/test-strlen.c (TEST_NAME): Likewise.
63533         * string/test-strncasecmp.c (TEST_NAME): Likewise.
63534         * string/test-strncmp.c (TEST_NAME): Likewise.
63535         * string/test-strncpy.c (TEST_NAME): Likewise.
63536         * string/test-strnlen.c (TEST_NAME): Likewise.
63537         * string/test-strpbrk.c (TEST_NAME): Likewise.
63538         * string/test-strrchr.c (TEST_NAME): Likewise.
63539         * string/test-strspn.c (TEST_NAME): Likewise.
63540         * string/test-strstr.c (TEST_NAME): Likewise.
63541         * string/test-bcopy-ifunc.c: New file.
63542         * string/test-bzero-ifunc.c: Likewise.
63543         * string/test-memccpy-ifunc.c: Likewise.
63544         * string/test-memchr-ifunc.c: Likewise.
63545         * string/test-memcmp-ifunc.c: Likewise.
63546         * string/test-memcpy-ifunc.c: Likewise.
63547         * string/test-memmem-ifunc.c: Likewise.
63548         * string/test-memmove-ifunc.c: Likewise.
63549         * string/test-mempcpy-ifunc.c: Likewise.
63550         * string/test-memset-ifunc.c: Likewise.
63551         * string/test-rawmemchr-ifunc.c: Likewise.
63552         * string/test-stpcpy-ifunc.c: Likewise.
63553         * string/test-stpncpy-ifunc.c: Likewise.
63554         * string/test-strcasecmp-ifunc.c: Likewise.
63555         * string/test-strcasestr-ifunc.c: Likewise.
63556         * string/test-strcat-ifunc.c: Likewise.
63557         * string/test-strchr-ifunc.c: Likewise.
63558         * string/test-strchrnul-ifunc.c: Likewise.
63559         * string/test-strcmp-ifunc.c: Likewise.
63560         * string/test-strcpy-ifunc.c: Likewise.
63561         * string/test-strcspn-ifunc.c: Likewise.
63562         * string/test-strlen-ifunc.c: Likewise.
63563         * string/test-strncasecmp-ifunc.c: Likewise.
63564         * string/test-strncat-ifunc.c: Likewise.
63565         * string/test-strncmp-ifunc.c: Likewise.
63566         * string/test-strncpy-ifunc.c: Likewise.
63567         * string/test-strnlen-ifunc.c: Likewise.
63568         * string/test-strpbrk-ifunc.c: Likewise.
63569         * string/test-strrchr-ifunc.c: Likewise.
63570         * string/test-strspn-ifunc.c: Likewise.
63571         * string/test-strstr-ifunc.c: Likewise.
63573         * debug/Makefile (tests-ifunc): New variable.
63574         (tests): Add $(tests-ifunc).
63575         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
63576         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
63577         * debug/test-stpcpy_chk-ifunc.c: New file.
63578         * debug/test-strcpy_chk-ifunc.c: Likewise.
63580 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
63582         [BZ #13601]
63583         * elf/dl-load.c (open_verify): Retry read if the entire ELF
63584         header is not read in.
63586 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
63588         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
63589         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
63590         directly.  Pass built executable to script as
63591         $(built-program-cmd).
63592         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
63593         $testprogram without using LD_LIBRARY_PATH and $ldso.
63595         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
63596         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
63597         $(rtld-installed-name).
63598         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
63599         (rtld_installed_name): Likewise.
63600         (library_path): Likewise.
63601         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
63602         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
63603         $(run-program-prefix) to tst-tables.sh.
63604         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
63605         it to run tst-table-from and tst-table-to.
63606         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
63607         Pass it to tst-table.sh.
63608         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
63609         $(run-program-prefix) to tst-gettext.sh.
63610         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
63611         tst-translit.sh.
63612         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
63613         tst-gettext2.sh.
63614         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
63615         to run tst-gettext.
63616         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
63617         to run tst-gettext2.
63618         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
63619         to run tst-translit.
63620         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
63621         $(run-program-prefix) to tst-mtrace.sh.
63622         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
63623         to run tst-mtrace.
63624         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
63625         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
63626         $(rtld-installed-name).
63627         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
63628         (rtld_installed_name): Likewise.
63629         (run_program_prefix): New variable.  Use it to run wordexp-test.
63631         * Makeconfig (ARCH): Remove all definitions.
63632         (machine): Likewise.
63633         [ARCH]: Remove conditional code.
63634         [!objdir]: Give error.
63635         [!objdir] (objpfx): Remove.
63636         [!objdir] (common-objpfx): Likewise.
63637         [!objdir] (common-objdir): Likewise.
63638         * configure.in (config_makefile): Remove.  Hardcode Makefile in
63639         AC_CONFIG_FILES call.
63640         * configure: Regenerated.
63642         [BZ #13888]
63643         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
63644         or TMPDIR.
63645         (testout): Likewise.
63647         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
63648         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
63649         $(rtld-installed-name).
63650         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
63651         (rtld_installed_name): Likwise.
63652         (runit): Remove function.
63653         (run_getconf): New variable,  Use it for running getconf binary.
63655 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
63657         [BZ #14716]
63658         * string/test-memmem.c (check_result): New function.
63659         (do_one_test): Use it.
63660         (check1): New function.
63661         (test_main): Use it.
63663 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
63665         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
63667 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
63669         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
63670         (_G_LSEEK64): Likewise.
63671         (_G_MMAP64): Likewise.
63672         (_G_FSTAT64): Likewise.
63673         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
63674         (_G_LSEEK64): Likewise.
63675         (_G_MMAP64): Likewise.
63676         (_G_FSTAT64): Likewise.
63677         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
63678         unconditional.  Call __mmap64 directly.
63679         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
63680         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
63681         __lseek64 directly.
63682         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
63683         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
63684         __mmap64 directly.
63685         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
63686         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
63687         __lseek64 directly.
63688         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
63689         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
63690         __lseek64 directly.
63691         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
63692         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
63693         __lseek64 directly.
63694         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
63695         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
63696         __fxstat64 directly.
63697         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
63698         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
63699         unconditional.
63700         (freopen64) [!_G_OPEN64]: Remove conditional code.
63701         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
63702         unconditional.
63703         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
63704         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
63705         unconditional.
63706         (ftello64) [!_G_LSEEK64]: Remove conditional code.
63707         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
63708         unconditional.
63709         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
63710         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
63711         unconditional.
63712         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
63713         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
63714         unconditional.
63715         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
63716         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
63717         unconditional.
63718         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
63719         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
63720         unconditional.
63721         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
63723 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63725         [BZ #12140]
63726         * manual/memory.texi (Malloc Tunable Parameters): Add note
63727         about free list pointers overwriting some perturb bytes.
63728         Wording suggested by Roland McGrath.
63730 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
63732         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
63733         (lgamma_test): Likewise.
63734         (tgamma_test): Likewise.
63736 2012-10-16  Florian Weimer  <fweimer@redhat.com>
63738         [BZ #14700]
63739         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
63740         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
63742 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
63744         * NEWS: Mention BZ #14716.
63745         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
63746         when removing AVAILABLE1_USES_J macro.
63748 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
63750         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
63751         (__bswap_64): __uint64_t for unsigned 64-bit int.
63753 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
63755         * include/string.h (memmem): Declare libc hidden alias.
63756         * string/memmem.c (memmem): Define libc hidden alias.
63757         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
63758         __read, __close instead of open, read, close.
63760 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
63762         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
63763         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
63764         global and hidden.
63765         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
63766         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
63767         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
63768         Likewise.
63769         (__rawmemchr_sse2): Likewise.
63770         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
63771         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
63772         (__strchr_sse2): Likewise.
63773         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
63774         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
63775         (__strcasecmp_sse2): Likewise.
63776         (__strncasecmp_sse2): Likewise.
63777         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
63778         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
63779         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
63780         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
63781         (__strrchr_sse2): Likewise.
63782         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
63783         ifunc-impl-list.c.
63784         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
63785         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
63786         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
63787         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63788         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
63789         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
63790         * sysdeps/x86_64/multiarch/memset.S: Likewise.
63791         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
63792         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
63793         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
63794         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
63795         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
63796         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
63797         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
63798         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
63799         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
63800         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
63801         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
63802         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
63803         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
63804         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
63805         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
63806         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
63807         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
63808         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
63809         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63810         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
63811         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
63812         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
63813         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
63815         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
63816         global and hidden.
63817         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
63818         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
63819         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
63820         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
63821         Likewise.
63822         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
63823         Likewise.
63824         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
63825         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
63826         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
63827         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
63828         ifunc-impl-list.c.
63829         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
63830         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
63831         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
63832         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
63833         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
63834         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
63835         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
63836         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
63837         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
63838         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
63839         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
63840         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
63841         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
63842         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
63843         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
63844         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
63845         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
63846         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
63847         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
63848         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
63849         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
63850         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
63851         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
63852         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
63853         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63854         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
63855         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
63856         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
63857         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
63858         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
63859         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
63860         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
63861         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
63862         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
63863         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
63864         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
63865         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
63866         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
63867         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
63868         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
63869         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
63871         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
63872         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
63873         * include/ifunc-impl-list.h: New file.
63874         * misc/ifunc-impl-list.c: Likewise.
63875         * misc/Makefile (routines): Add ifunc-impl-list.
63876         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
63877         * string/test-string.h: Include <ifunc-impl-list.h>.
63878         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
63879         TEST_NAME]: New variables.
63880         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
63881         are defined.
63882         (test_init): Call __libc_ifunc_impl_list to initialize
63883         func_list if TEST_IFUNC and TEST_NAME are defined.
63885         * string/Makefile (strop-tests): Add bcopy and bzero.
63886         * string/test-bcopy.c: New file.
63887         * string/test-bzero.c: Likewise.
63888         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
63889         defined.
63890         * string/test-memset.c: Support bzero test if TEST_BZERO is
63891         defined.
63892         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
63893         __libc_memmove.
63894         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
63895         __libc_memset.
63896         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
63897         of memset.
63899 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
63901         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
63902         * configure: Regenerated.
63904         * Makeconfig (+link-static-before-libc): Don't include
63905         $(link-static-libc).
63907         * libio/libio.h (_IO_pos_t): Remove.
63909 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63911         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
63912         McGrath.
63914 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63916         * crypt/crypt-entry.c: Include fips-private.h.
63917         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
63918         * crypt/md5c-test.c (main): Tolerate disabled MD5.
63919         * sysdeps/unix/sysv/linux/fips-private.h: New file.
63920         * sysdeps/generic/fips-private.h: New file, dummy fallback.
63922 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63924         * crypt/crypt-private.h: Include stdbool.h.
63925         (_ufc_setup_salt_r): Return bool.
63926         * crypt/crypt-entry.c: Include errno.h.
63927         (__crypt_r): Return NULL with EINVAL for bad salt.
63928         * crypt/crypt_util.c (bad_for_salt): New.
63929         (_ufc_setup_salt_r): Check that salt is long enough and within
63930         the specified alphabet.
63931         * crypt/badsalttest.c: New file.
63932         * crypt/Makefile (tests): Add it.
63933         ($(objpfx)badsalttest): New.
63935 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
63937         * NEWS: Add entry for BZ #14602.
63939 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
63941         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
63942         type-generic.
63943         * math/libm-test.inc: Update comment listing what functions and
63944         macros are tested.
63945         (isgreater_test): New function.
63946         (isgreaterequal_test): Likewise.
63947         (isless_test): Likewise.
63948         (islessequal_test): Likewise.
63949         (islessgreater_test): Likewise.
63950         (isunordered_test): Likewise.
63951         (main): Call the new functions.
63953 2012-10-09  Roland McGrath  <roland@hack.frob.com>
63955         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
63956         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
63957         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
63958         * sysdeps/i386/configure: Regenerated.
63959         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
63960         * sysdeps/mach/configure: Regenerated.
63961         * sysdeps/mach/hurd/configure: Regenerated.
63962         * sysdeps/powerpc/configure: Regenerated.
63963         * sysdeps/powerpc/powerpc32/configure: Regenerated.
63964         * sysdeps/powerpc/powerpc64/configure: Regenerated.
63965         * sysdeps/s390/s390-32/configure: Regenerated.
63966         * sysdeps/s390/s390-64/configure: Regenerated.
63967         * sysdeps/sh/configure: Regenerated.
63968         * sysdeps/sparc/configure: Regenerated.
63969         * sysdeps/unix/sysv/linux/configure: Regenerated.
63970         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
63971         * sysdeps/x86_64/configure: Regenerated.
63973         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
63974         defined.  Don't check if MAP is NULL.
63976 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
63978         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
63979         (_G_stat64): Likewise.
63980         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
63981         (_G_stat64): Likewise.
63982         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
63983         instead of struct _G_stat64.
63984         * libio/fileops.c (mmap_remap_check): Likewise.
63985         (decide_maybe_mmap): Likewise.
63986         (_IO_new_file_seekoff): Likewise.
63987         (_IO_file_stat): Likewise.
63988         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
63989         _G_off64_t.
63990         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
63991         instead of struct _G_stat64.
63992         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
63994 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
63996         [BZ #14602]
63997         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63998         Replace with ...
63999         (CHECK_EOL): New macro.
64000         (two_way_short_needle): Check beginning of haystack for EOL.  Use
64001         CHECK_EOL.
64002         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
64003         Replace with CHECK_EOL.
64004         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
64005         Replace with CHECK_EOL.
64007 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
64009         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
64010         type-generic.
64011         * math/libm-test.inc: Update comment listing what functions and
64012         macros are tested.
64013         (finite_test): New function.
64014         (isinf_test): Likewise.
64015         (isnan_test): Likewise.
64016         (fpclassify_test): Test subnormal input.
64017         (isfinite_test): Likewise.
64018         (isnormal_test): Likewise.
64019         (main): Call the new functions.
64021 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
64023         [BZ #14660]
64024         * Makerules (%.dynsym): Force C locale when running
64025         $(OBJDUMP) --dynamic-syms.
64027 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
64029         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
64030         <stdint.h>.
64032 2012-10-06  David S. Miller  <davem@davemloft.net>
64034         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
64035         upper 32-bits of the length value in %o2 since we use branch-on-register
64036         tests which consider the entire 64-bit register.
64038 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
64040         * string/test-strstr.c (check2): Add a test for page boundary.
64042 2012-10-05  David S. Miller  <davem@davemloft.net>
64044         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
64045         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
64046         file.
64047         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
64048         sysdep_routines.
64049         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
64050         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
64051         and bzero when HWCAP_SPARC_CRYPTO is present.
64053 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
64055         [BZ #14602]
64056         * string/test-strstr.c (check2): New function.
64057         (test_main): Call check2.
64059         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
64060         and bug-strchr1.
64061         * string/bug-strcasestr1.c (do_test): Moved to ...
64062         * string/test-strcasestr.c (check1): Here.  New function.
64063         (do_one_test): Break out result checking code into ...
64064         (check_result): This.  New function.
64065         (do_one_test): Call check_result.
64066         (test_main): Call check1.
64067         * string/bug-strchr1.c (do_test): Moved to ...
64068         * string/test-strchr.c (check1): Here.  New function.
64069         (do_one_test): Break out result checking code into ...
64070         (check_result): This.  New function.
64071         (do_one_test): Call check_result.
64072         (test_main): Call check1.
64073         * string/bug-strstr1.c (main): Moved to ...
64074         * string/test-strstr.c (check1): Here.  New function.
64075         (do_one_test): Break out result checking code into ...
64076         (check_result): This.  New function.
64077         (do_one_test): Call check_result.
64078         (test_main): Call check1.
64079         * string/bug-strcasestr1.c: Removed.
64080         * string/bug-strchr1.c: Likewise.
64081         * string/bug-strstr1.c: Likewise.
64083         * elf/Makefile (dl-routines): Add hwcaps.
64084         * elf/dl-support.c (_dl_important_hwcaps): Removed.
64085         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
64086         (_dl_important_hwcaps): Moved to ...
64087         * elf/dl-hwcaps.c: Here.  New file.
64088         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
64090         [BZ #14557]
64091         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
64092         if IS_IN_rtld isn't defined.
64094         * elf/dl-support.c (_dl_sysinfo_map): New.
64095         Include "get-dynamic-info.h" and "setup-vdso.h".
64096         (_dl_non_dynamic_init): Call setup_vdso.
64097         * elf/dynamic-link.h: Don't include <assert.h>.
64098         (elf_get_dynamic_info): Moved to ...
64099         * elf/get-dynamic-info.h: Here.  New file.
64100         * elf/dynamic-link.h: Include "get-dynamic-info.h".
64101         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
64102         * elf/setup-vdso.h: Here.  New file.
64103         * elf/rtld.c: Include "setup-vdso.h".
64104         (dl_main): Call setup_vdso.
64106 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
64108         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
64109         creal in comment listing functions tested.  List finite, isinf,
64110         isnan, isless, islessequal, isgreater, isgreaterequal,
64111         islessgreater, isunordered, lgamma_r and pow10 as functions and
64112         macros not tested.  Mention which functions not tested are aliases
64113         for other functions.  Fix typo.  Note that signs of NaNs are not
64114         tested.
64116         * scripts/config.guess: Update from config.git.
64117         * scripts/config.sub: Likewise.
64119 2012-10-04  Roland McGrath  <roland@hack.frob.com>
64121         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
64122         * misc/madvise.c (madvise): Renamed to __madvise.
64123         Make madvise a weak alias.
64124         * include/sys/mman.h: Declare __madvise.
64125         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
64126         * sysdeps/unix/syscalls.list
64127         (madvise): Make __madvise the strong name, and madvise a weak alias.
64128         * sysdeps/unix/sysv/linux/syscalls.list
64129         (madvise, mmap): Remove redundant entries.
64130         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
64131         * malloc/malloc.c (mtrim): Likewise.
64132         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
64134 2012-10-03  Roland McGrath  <roland@hack.frob.com>
64136         * sysdeps/mach/hurd/dl-cache.c: File removed.
64137         * config.h.in (USE_LDCONFIG): New #undef.
64138         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
64139         * configure: Regenerated.
64140         * elf/Makefile (dl-routines): Add dl-cache only under
64141         [$(use-ldconfig) = yes].
64142         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
64143         cache on [USE_LDCONFIG].
64144         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
64145         [USE_LDCONFIG].
64146         * elf/rtld.c (dl_main): Likewise.
64148 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
64150         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
64151         _SC_LEVEL4_CACHE_LINESIZE.
64153 2012-10-03  Roland McGrath  <roland@hack.frob.com>
64155         * sysdeps/unix/bsd/confstr.h: File removed.
64157 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
64159         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
64160         sys/sdt-config.h.
64162 2012-10-02  Roland McGrath  <roland@hack.frob.com>
64164         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
64165         Make 'mapoff' field ElfW(Off) rather than off_t.
64167 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
64169         * nscd/Makefile: Remove nscd-cflags and all its users.
64170         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
64171         (CFLAGS-nonlib): Add compiler flags for nscd modules.
64173         [BZ #10631]
64174         * malloc.c (malloc_printerr): Clarify error message.
64176 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
64178         [BZ #14648]
64179         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64180         Set bit_FMA_Usable if FMA is supported.
64181         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
64182         macro.
64183         (bit_FMA4_Usable): Updated.
64184         (index_FMA_Usable): New macro.
64185         (CPUID_FMA): Likewise.
64186         (HAS_FMA): Defined with bit_FMA_Usable.
64188 2012-10-01  Roland McGrath  <roland@hack.frob.com>
64190         * bits/types.h (__swblk_t): Type removed.
64191         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
64192         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
64193         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64194         (__SWBLK_T_TYPE): Likewise.
64195         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
64196         (__SWBLK_T_TYPE): Likewise.
64197         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64198         (__SWBLK_T_TYPE): Likewise.
64199         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64200         (__SWBLK_T_TYPE): Likewise.
64202 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
64203             Honza Horak <hhorak@redhat.com>
64205         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
64206         (xdr_mapname): Use YPMAXMAP as maxsize.
64207         (xdr_peername): Use YPMAXPEER as maxsize.
64208         (xdr_keydat): Use YPAXRECORD as maxsize.
64209         (xdr_valdat): Use YPMAXRECORD as maxsize.
64211 2012-10-01  Roland McGrath  <roland@hack.frob.com>
64213         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
64215         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
64216         * csu/init-first.c: ... here.
64217         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
64218         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
64219         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
64220         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
64221         * sysdeps/i386/init-first.c: File removed.
64222         * sysdeps/sh/init-first.c: File removed.
64224 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
64226         [BZ #14645]
64227         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
64228         if x * y might underflow to zero and z is zero.
64229         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64230         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64231         * math/libm-test.inc (min_subnorm_value): New variable.
64232         (fma_test): Add more tests.
64233         (fma_test_towardzero): Likewise.
64234         (fma_test_downward): Likewise.
64235         (fma_test_upward): Likewise.
64236         (initialize): Set min_subnorm_value.
64238 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
64240         [BZ #14638]
64241         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
64242         0 + 0.
64243         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
64244         mode for addition resulting in exact zero.
64245         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
64246         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
64247         exact 0 + 0.
64248         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
64249         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64250         * math/libm-test.inc (fma_test): Add more tests.
64251         (fma_test_towardzero): New function.
64252         (fma_test_downward): Likewise.
64253         (fma_test_upward): Likewise.
64254         (main): Call the new functions.
64256 2012-09-28  David S. Miller  <davem@davemloft.net>
64258         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
64260 2012-09-28  Roland McGrath  <roland@hack.frob.com>
64262         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
64263         instead of SIGALRM.
64265         * sysdeps/gnu/_G_config.h: Moved to ...
64266         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
64267         * sysdeps/mach/hurd/_G_config.h: Moved to ...
64268         * sysdeps/generic/_G_config.h: ... here.
64270         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
64272         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
64274         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
64275         Conditionalize target on [libnss_test1.so-version].
64277         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
64279         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
64280         (elfobjdir): Move out of conditionals.
64282         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
64283         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
64284         (__nss_lookup_function): Conditionalize label remove_from_tree on
64285         [!DO_STATIC_NSS || SHARED], matching its only use.
64287 2012-09-28  David S. Miller  <davem@davemloft.net>
64289         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
64290         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
64291         file.
64292         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
64293         sysdep_routines.
64294         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
64295         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
64296         when HWCAP_SPARC_CRYPTO is present.
64298 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
64300         * io/tst-mknodat.c: Create a FIFO instead of a socket.
64302 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
64304         [BZ #6530]
64305         * stdio-common/vfprintf.c (process_string_arg): Revert
64306         2000-07-22 change.
64308 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
64310         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
64311         for testcase.
64312         * stdio-common/tst-sprintf.c: Include <locale.h>
64313         (main): Test sprintf's handling of incomplete multibyte
64314         characters.
64316 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
64318         * elf/dl-runtime.c (VERSYMIDX): Removed.
64319         * elf/dl-version.c (VERSYMIDX): Likewise.
64320         * elf/do-rel.h (VERSYMIDX): Likewise.
64321         (VALIDX): Likewise.
64322         * elf/dynamic-link.h (VERSYMIDX): Likewise.
64323         * elf/rtld.c (VALIDX): Likewise.
64324         (ADDRIDX): Likewise.
64325         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
64326         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
64327         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
64328         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
64329         (VALIDX): Likewise.
64330         (ADDRIDX): Likewise.
64332 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
64334         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
64336 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
64338         [BZ #11438]
64339         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
64340         to global scope.
64341         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
64342         addresses are in the same scope as 192.0.2/24.
64343         * posix/gai.conf: Document new scope table defaults.
64345 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64347         [BZ #5298]
64348         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
64349         for ftell.  Compute offsets from write pointers instead.
64350         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
64352 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64354         [BZ #14543]
64355         * libio/Makefile (tests): New test case tst-fseek.
64356         * libio/tst-fseek.c: New test case to verify that fseek/ftell
64357         combination works in wide mode.
64358         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
64359         state when the external buffer state changes.
64361 2012-09-27  David S. Miller  <davem@davemloft.net>
64363         [BZ #14376]
64364         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
64365         pass reloc->r_addend in as the 'high' argument to
64366         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
64368         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64370 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
64372         * rt/tst-aio2.c: Include <pthread.h>.
64373         * rt/tst-aio3.c: Likewise.
64375 2012-09-27  Steve Ellcey  <sellcey@mips.com>
64377         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
64379 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
64381         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
64382         contents on [SHARED].
64384 2012-09-26  Marek Polacek  <polacek@redhat.com>
64386         [BZ #14530]
64387         [BZ #13741]
64388         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
64389         for C++ and GCC <4.3 as well as for non GCC compilers.
64391 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
64393         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64395 2012-09-25  Roland McGrath  <roland@hack.frob.com>
64397         * Makefile.in (all, install): Declare with .PHONY.
64398         Reported by Michael Hope <michael.hope@linaro.org>.
64400 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64402         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
64403         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
64404         system header.
64405         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
64406         Likewise.
64407         (sydep_routines): Add the new and the internal functions.
64408         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
64409         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
64410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
64411         (GLIBC_2.17): Add the new function.
64412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
64413         (GLIBC_2.17): Likewise.
64414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
64415         (GLIBC_2.17): Likewise.
64416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
64417         (GLIBC_2.17): Likewise.
64418         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
64420 2012-09-25  Alan Modra  <amodra@gmail.com>
64422         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
64423         Add release barrier before setting once_control to say
64424         initialisation is done.  Add hints on lwarx.  Use macro in
64425         place of isync.
64426         (clear_once_control): Add release barrier.
64428 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
64430         [BZ #13629]
64431         * math/s_clog.c (__clog): Handle more values close to |z| = 1
64432         specially.
64433         * math/s_clog10.c (__clog10): Likewise.
64434         * math/s_clog10f.c (__clog10f): Likewise.
64435         * math/s_clog10l.c (__clog10l): Likewise.
64436         * math/s_clogf.c (__clogf): Likewise.
64437         * math/s_clogl.c (__clogl): Likewise.
64438         * math/Makefile (libm-calls): Add x2y2m1.
64439         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
64440         (__x2y2m1): Likewise.
64441         (__x2y2m1l): Likewise.
64442         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
64443         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
64444         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
64445         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
64446         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
64447         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
64448         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
64449         * sysdeps/i386/fpu/libm-test-ulps: Update.
64450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64452         [BZ #14621]
64453         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
64454         int as type of variable DEPTH.
64455         (glob): Use size_t instead of int as type of variables NEWCOUNT
64456         and OLD_PATHC.
64458 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64460         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
64461         Add s_sincosf-sse2.
64462         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
64463         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
64464         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
64465         macros for using routine as __sincosf_ia32.
64466         Use macro for function declaration and weak_alias.
64467         * sysdeps/i386/fpu/libm-test-ulps: Update.
64469         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
64470         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64472         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
64473         subnormal argument.
64474         * math/s_cexpf.c (__cexpf): Likewise.
64475         * math/s_csinf.c (__csinf): Likewise.
64476         * math/s_csinhf.c (__csinhf): Likewise.
64477         * math/s_ctanf.c (__ctanf): Likewise.
64478         * math/s_ctanhf.c (__ctanhf): Likewise.
64479         * math/s_ccosh.c (__ccoshf): Likewise.
64480         * math/s_cexp.c (__cexpl): Likewise.
64481         * math/s_csin.c (__csin): Likewise.
64482         * math/s_csinh.c (__csinh): Likewise.
64483         * math/s_ctan.c (__ctan): Likewise.
64484         * math/s_ctanh.c (ctanh): Likewise.
64485         * math/s_ccoshl.c (__ccoshl): Likewise.
64486         * math/s_cexpl.c (__cexpl): Likewise.
64487         * math/s_csinl.c (__csinl): Likewise.
64488         * math/s_csinhl.c (__csinhl): Likewise.
64489         * math/s_ctanl.c (__ctanl): Likewise.
64490         * math/s_ctanhl.c (__ctanhl): Likewise.
64492 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
64494         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
64495         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
64496         (_IO_off_t): Define to __off_t, not _G_off_t.
64497         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
64498         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
64499         (_IO_wint_t): Define to wint_t, not _G_wint_t.
64500         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
64501         type of __dummy and __dummy2 fields.
64502         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
64503         (_G_ssize_t): Likewise.
64504         (_G_off_t): Likewise.
64505         (_G_pid_t): Likewise.
64506         (_G_uid_t): Likewise.
64507         (_G_wchar_t): Likewise.
64508         (_G_wint_t): Likewise.
64509         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
64510         (_G_ssize_t): Likewise.
64511         (_G_off_t): Likewise.
64512         (_G_pid_t): Likewise.
64513         (_G_uid_t): Likewise.
64514         (_G_wchar_t): Likewise.
64515         (_G_wint_t): Likewise.
64516         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
64517         (_G_ssize_t): Likewise.
64518         (_G_off_t): Likewise.
64519         (_G_pid_t): Likewise.
64520         (_G_uid_t): Likewise.
64521         (_G_wchar_t): Likewise.
64522         (_G_wint_t): Likewise.
64524 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64526         * malloc/arena.c: Include malloc-sysdep.h.
64527         (shrink_heap): Use check_may_shrink_heap to decide if madvise
64528         is sufficient to shrink the heap or an unmap is needed.
64529         * sysdeps/generic/malloc-sysdep.h: New file.  Define
64530         new function check_may_shrink_heap.
64531         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
64532         new function check_may_shrink_heap.
64534 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64536         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
64537         comments.
64539 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
64541         * catgets/test-gencat.sh: Add "set -e".
64542         * elf/tst-pathopt.sh: Likewise.
64543         * grp/tst_fgetgrent.sh: Likewise.
64544         * iconvdata/run-iconv-test.sh: Likewise.
64545         * intl/tst-gettext.sh: Likewise.
64546         * intl/tst-gettext2.sh: Likewise.
64547         * intl/tst-gettext4.sh: Likewise.
64548         * intl/tst-gettext6.sh: Likewise.
64549         * intl/tst-translit.sh: Likewise.
64550         * io/ftwtest-sh: Likewise.
64551         * libio/test-freopen.sh: Likewise.
64552         * malloc/tst-mtrace.sh: Likewise.
64553         * posix/globtest.sh: Likewise.
64554         * posix/tst-getconf.sh: Likewise.
64555         * posix/wordexp-tst.sh: Likewise.
64556         * stdio-common/tst-printf.sh: Likewise.
64557         * stdio-common/tst-unbputc.sh: Likewise.
64558         * stdlib/tst-fmtmsg.sh: Likewise.
64559         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
64560         * catgets/Makefile: Do not specify -e option when running
64561         testsuite shell scripts.
64562         * elf/Makefile: Likewise.
64563         * grp/Makefile: Likewise.
64564         * iconvdata/Makefile: Likewise.
64565         * intl/Makefile: Likewise.
64566         * io/Makefile: Likewise.
64567         * libio/Makefile: Likewise.
64568         * malloc/Makefile: Likewise.
64569         * posix/Makefile: Likewise.
64570         * stdio-common/Makefile: Likewise.
64571         * stdlib/Makefile: Likewise.
64572         * sysdeps/x86_64/Makefile: Likewise.
64574         * io/ftwtest-sh: Add copyright header.
64575         * posix/globtest.sh: Likewise.
64576         * posix/tst-getconf.sh: Likewise.
64577         * posix/wordexp-tst.sh: Likewise.
64578         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
64580 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
64582         [BZ #13679]
64583         * Makeconfig (+link): Defined as $(+link-static) if
64584         $(build-shared) isn't yes.
64585         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
64586         isn't yes.
64587         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
64589         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
64591         [BZ #14562]
64592         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
64593         new chunk size with MALLOC_ALIGN_MASK.
64595 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
64597         [BZ #5044]
64598         * stdio-common/printf_fphex.c: Include <stdbool.h> and
64599         <rounding-mode.h>.
64600         (__printf_fphex): Determine rounding using get_rounding_mode and
64601         round_away.
64602         * stdio-common/tst-printf-round.c (struct hex_test): New
64603         structure.
64604         (hex_tests): New variable.
64605         (test_hex_in_one_mode): New function.
64606         (do_test): Also run tests for hex float output.
64608 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
64610         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
64611         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
64612         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
64613         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
64614         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
64615         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
64616         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
64617         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
64619 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
64621         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
64622         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
64623         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
64624         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
64626 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
64628         [BZ #14579]
64629         * elf/rtld.c (dl_main): Limit the check for self loading to normal
64630         mode only.
64631         * elf/tst-rtld-load-self.sh: New test.
64632         * elf/Makefile: Run it.
64634 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
64636         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
64637         (tst-writev-ENV): Remove.
64638         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
64640 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
64642         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
64644 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
64646         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
64647         unconditional.
64648         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
64649         Likewise.
64650         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
64651         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
64652         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
64653         Likewise.
64655 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
64657         [BZ #14587]
64658         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
64659         * config.make.in (have-cpp-asm-debuginfo): Removed.
64660         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
64661         * configure: Regenerated.
64663 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
64665         [BZ #5044]
64666         * stdio-common/printf_fp.c: Include <stdbool.h> and
64667         <rounding-mode.h>.
64668         (___printf_fp): Determine rounding using get_rounding_mode and
64669         round_away.
64670         * stdio-common/tst-printf-round.c: New file.
64671         * stdio-common/Makefile (tests): Add tst-printf-round.
64672         (link-libm): New variable.
64673         ($(objpfx)tst-printf-round): Depend in $(link-libm).
64675 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
64677         [BZ #14576]
64678         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
64679         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
64680         Likewise.
64681         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
64682         Likewise.
64684 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
64686         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
64687         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64688         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64689         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64691 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
64693         [BZ #14518]
64694         * include/rounding-mode.h: New file.
64695         * sysdeps/generic/get-rounding-mode.h: Likewise.
64696         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
64697         * stdlib/strtod_l.c: Include <rounding-mode.h>.
64698         (MAX_VALUE): New macro.
64699         (MIN_VALUE): Likewise.
64700         (overflow_value): New function.
64701         (underflow_value): Likewise.
64702         (round_and_return): Use overflow_value and underflow_value to
64703         determine return values in overflow and underflow cases.  Use
64704         round_away to determine rounding depending on rounding mode.
64705         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
64706         determine return values in overflow and underflow cases.
64707         * stdlib/tst-strtod-round.c: Include <fenv.h>.
64708         (struct test_results): New structure.
64709         (struct test): Use struct test_results to store expected results
64710         for all rounding modes.
64711         (TEST): Include expected results for all rounding modes.
64712         (test_in_one_mode): New function.
64713         (do_test): Use test_in_one_mode to compute and check results.
64714         Check results for all rounding modes.
64715         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
64716         $(link-libm).
64718 2012-12-09  Allan McRae  <allan@archlinux.org>
64720         * sysdeps/i386/fpu/libm-test-ulps: Update
64722 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
64724         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
64725         (_G_int32_t): Likewise.
64726         (_G_uint16_t): Likewise.
64727         (_G_uint32_t): Likewise.
64728         (_G_HAVE_BOOL): Likewise.
64729         (_G_HAVE_ATEXIT): Likewise.
64730         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64731         (_G_HAVE_IO_FILE_OPEN): Likewise.
64732         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
64733         (_G_int32_t): Likewise.
64734         (_G_uint16_t): Likewise.
64735         (_G_uint32_t): Likewise.
64736         (_G_HAVE_BOOL): Likewise.
64737         (_G_HAVE_ATEXIT): Likewise.
64738         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64739         (_G_HAVE_IO_FILE_OPEN): Likewise.
64740         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
64741         (_G_int32_t): Likewise.
64742         (_G_uint16_t): Likewise.
64743         (_G_uint32_t): Likewise.
64744         (_G_HAVE_BOOL): Likewise.
64745         (_G_HAVE_ATEXIT): Likewise.
64746         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64747         (_G_HAVE_IO_FILE_OPEN): Likewise.
64749 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
64751         * csu/libc-tls.c: Update copyright years.
64753 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
64755         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
64756         [!_G_USING_THUNKS]: Remove conditional code.
64757         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
64758         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
64760         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
64761         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
64762         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64763         (_G_VTABLE_LABEL_PREFIX): Likewise.
64764         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64765         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64766         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64767         (_G_VTABLE_LABEL_PREFIX): Likewise.
64768         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
64769         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64770         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64771         (_G_VTABLE_LABEL_PREFIX): Likewise.
64772         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
64774 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
64776         * libio/Makefile: Include ../Makeconfig before tests.
64777         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
64778         only if $(build-shared) is yes.
64780         * iconv/gconv_db.c: Update copyright years.
64782 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64784         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
64785         unwind info if defined PIC. Fix special cases description.
64786         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
64788         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
64789         DP_HI_MASK entry.
64790         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
64792 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
64794         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
64796         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
64797         is NULL.
64799         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
64800         (LDLIBS-tst-chk4): This.
64801         (LDFLAGS-tst-chk5): Renamed to ...
64802         (LDLIBS-tst-chk5): This.
64803         (LDFLAGS-tst-chk6): Renamed to ...
64804         (LDLIBS-tst-chk6): This.
64805         (LDFLAGS-tst-lfschk4): Renamed to ...
64806         (LDLIBS-tst-lfschk4): This.
64807         (LDFLAGS-tst-lfschk5): Renamed to ...
64808         (LDLIBS-tst-lfschk5): This.
64809         (LDFLAGS-tst-lfschk6): Renamed to ...
64810         (LDLIBS-tst-lfschk6): This.
64812         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
64813         on $(common-objpfx)soversions.mk.
64815 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
64817         [BZ #10014]
64818         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
64819         example host name.
64821 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
64823         * malloc/arena.c (arena_get_retry): New function that gets
64824         another arena for the caller to try its request on.
64825         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
64826         current arena cannot fulfill the request.
64827         (__libc_memalign): Likewise.
64828         (__libc_memalign): Likewise.
64829         (__libc_pvalloc): Likewise.
64830         (__libc_calloc): Likewise.
64832 2012-09-05  John Tobey  <john.tobey@gmail.com>
64834         [BZ #13542]
64835         * manual/arith.texi (Operations on Complex): Fix description
64836         of carg branch cut.
64838 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
64840         [BZ #10014]
64841         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
64842         host name.
64844         [BZ #10038]
64845         * manual/memory.texi (Memory): Make order of menu items match
64846         order of sections.
64848 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64850         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
64851         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
64852         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
64854 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64856         * csu/libc-tls.c (static_dtv): Renamed to ...
64857         (_dl_static_dtv): This.  Make it global.
64858         (_dl_initial_dtv): Removed.
64859         (__libc_setup_tls): Updated.
64860         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
64861         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
64862         DL_INITIAL_DTV.
64864 2012-09-06  Petr Machata  <pmachata@redhat.com>
64866         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
64867         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
64868         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
64869         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
64871 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64873         [BZ #14545]
64874         * csu/libc-tls.c (_dl_initial_dtv): New variable.
64875         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
64876         freeing dtv[-1].
64878 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64880         [BZ #14544]
64881         * Makeconfig (link-static-before-libc): Replace $(+prector)
64882         with $(+prectorT).
64883         (link-static-after-libc): Replace $(+postctor) with
64884         $(+postctorT).
64885         (link-bounded): Replace $(+prector)/$(+postctor) with
64886         $(+prectorT)/$(+postctorT).
64887         (+prectorT): New macro.
64888         (+postctorT): Likewise.
64890 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
64892         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
64893         (round_str): Handle values above the maximum for IBM long double
64894         as inexact.
64895         * stdlib/tst-strtod-round.c (tests): Regenerated.
64897 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64899         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
64900         assembler flag.
64901         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
64902         zarch_nohighgprs around the zarch optimized routines.
64903         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
64904         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
64905         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
64906         for zarch.
64908 2012-09-05  David S. Miller  <davem@davemloft.net>
64910         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64912         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
64913         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
64914         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
64915         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
64916         entries.
64918 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64920         * malloc/arena.c: Fold copyright years.
64921         * malloc/mcheck.c, malloc/memusage.c: Likewise.
64923 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64925         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
64927 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64929         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
64931 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64933         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
64934         change internal state upon failure.
64936 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64938         * malloc/mcheck.c (mcheck_check_all): Fix typo.
64939         * malloc/memusage.c (mmap): Likewise.
64940         (mmap64, mremap): Likewise.  Adjust name in comment.
64942 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
64944         * libio/fileops.c: Fix typos in comments.
64945         * libio/oldfileops.c: Likewise.
64946         * libio/wfileops.c: Likewise.
64948 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
64950         [BZ #1349]
64951         * malloc/Makefile (tests): Add tst-malloc-usable test case.
64952         (tst-malloc-usable-ENV): Set environment for test case.
64953         * malloc/hooks.c (malloc_check_get_size): New function to get
64954         requested size.
64955         * malloc/malloc.c (musable): Use malloc_check_get_size.
64956         * malloc/tst-malloc-usable.c: New test case.
64958 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
64960         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
64962 2012-09-05  Allan McRae  <allan@archlinux.org>
64964         [BZ #13966]
64965         * configure.in (CXX_SYSINCLUDES): Use compiler output to
64966         determine header location.
64967         * configure: Regenerated.
64969 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
64971         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
64972         float format.
64973         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
64974         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
64975         format.
64976         (test): Regenerate.
64978 2012-09-04  David S. Miller  <davem@davemloft.net>
64980         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
64981         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
64982         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
64984 2012-09-04  Florian Weimer  <fweimer@redhat.com>
64986         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
64987         failures.
64989         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
64991 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
64993         [BZ #9914]
64994         * libio/iogetdelim.c: Include <limits.h>.
64995         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
64996         + len + 1 would overflow.
64998 2012-09-03  Andreas Jaeger  <aj@suse.de>
65000         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65001         * sysdeps/i386/fpu/libm-test-ulps: Update.
65003 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65005         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
65006         Add s_sinf-sse2, s_conf-sse2.
65008         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
65009         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
65010         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
65011         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
65013         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
65014         for using routine as __sinf_ia32.
65015         Use macro for function declaration and weak_alias.
65016         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
65017         for using routine as __cosf_ia32.
65018         Use macro for function declaration and weak_alias.
65020         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
65021         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
65023         * sysdeps/x86_64/fpu/s_sinf.S: New file.
65024         * sysdeps/x86_64/fpu/s_cosf.S: New file.
65025         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65027         * math/libm-test.inc (cos_test): Add more test cases.
65028         (sin_test): Likewise.
65029         (sincos_test): Likewise.
65031 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65033         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
65034         (IFUNC_RESOLVE): Make pointers to the specialized implementations
65035         hidden.
65036         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
65038 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
65040         [BZ #14538]
65041         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
65042         first element of the GOT.
65043         (elf_machine_load_address): Return the difference between
65044         the runtime address of _DYNAMIC and elf_machine_dynamic ().
65046 2012-09-01  Allan McRae  <allan@archlinux.org>
65048         [BZ #13412]
65049         * configure.in (AWK): Require gawk version 3.0 or later.
65050         * configure: Regenerated.
65052 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
65054         * sysdeps/unix/sysv/linux/kernel-features.h
65055         (__ASSUME_POSIX_CPU_TIMERS): Remove.
65056         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
65057         [__NR_clock_getres]: Make code unconditional.
65058         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
65059         (clock_getcpuclockid): Remove code left unreachable by removal of
65060         conditionals.
65061         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
65062         code unconditional.
65063         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
65064         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
65065         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
65066         Make code unconditional.
65067         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
65068         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
65069         * sysdeps/unix/sysv/linux/clock_settime.c
65070         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
65071         conditional code.
65072         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
65073         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
65075 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
65077         [BZ #14476]
65078         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
65079         scripts/test-installation.pl.
65081         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
65082         and $ld_so_version if it is set.
65084 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
65086         [BZ #14516]
65087         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
65088         failure if reading from procfs failed.
65089         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
65091 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
65093         * sysdeps/unix/sysv/linux/kernel-features.h
65094         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
65095         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
65096         Remove conditional code.
65097         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
65098         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
65099         Remove conditional code.
65100         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
65101         * sysdeps/unix/sysv/linux/i386/fxstat.c
65102         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
65103         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
65104         * sysdeps/unix/sysv/linux/i386/fxstatat.c
65105         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
65106         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
65107         * sysdeps/unix/sysv/linux/i386/lxstat.c
65108         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
65109         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
65110         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
65111         Remove conditional code.
65112         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
65113         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
65114         Remove conditional code.
65115         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
65116         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
65117         <kernel-features.h>.
65118         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
65119         Remove.
65120         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
65121         Remove conditional code.
65122         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
65123         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
65124         Remove conditional.
65126 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
65128         [BZ #5400]
65129         * NEWS: Add fixed bug number.
65131 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
65133         [BZ #14519]
65134         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
65135         underflowing exponent in case of negative sign.
65136         * stdlib/tst-strtod-round-data: Add more tests.
65137         * stdlib/tst-strtod-round.c (tests): Regenerated.
65139         [BZ #3479]
65140         * stdlib/strtod_l.c (NDIG): Remove.
65141         (HEXNDIG): Likewise.
65142         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
65143         smallest representable value.
65144         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
65145         lie within an exact representation of 1/2 ulp of the result.
65146         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
65147         unconditionally.
65148         (TENS_P9_IDX): Define unconditionally.
65149         (TENS_P9_SIZE): Likewise.
65150         (TENS_P10_IDX): Likewise.
65151         (TENS_P10_SIZE): Likewise.
65152         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
65153         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
65154         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
65155         entries for 10^2^13 and 10^2^14.
65156         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
65157         (TENS_P13_IDX): Define.
65158         (TENS_P13_SIZE): Likewise.
65159         (TENS_P14_IDX): Likewise.
65160         (TENS_P14_SIZE): Likewise.
65161         (_fpioconst_pow10): Change array size to
65162         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
65163         unconditional.
65164         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
65165         1024]: Add entries for 10^2^13 and 10^2^14.
65166         [LAST_POW10 > _LAST_POW10]: Remove #error.
65167         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
65168         (_fpioconst_pow10): Change array size to
65169         FPIOCONST_POW10_ARRAY_SIZE.
65170         * stdlib/gen-fpioconst.c: New file.
65171         * stdlib/gen-tst-strtod-round.c: Likewise.
65172         * stdlib/tst-strtod-round-data: Likewise.
65173         * stdlib/tst-strtod-round.c: Likewise.
65174         * stdlib/Makefile (tests): Add tst-strtod-round.
65176         [BZ #14459]
65177         * stdlib/strtod_l.c: Include <stdint.h>.
65178         (NDEBUG): Do not define.
65179         (round_and_return): Change EXPONENT parameter to type intmax_t.
65180         Rearrange calculations to avoid internal overflow possibilities.
65181         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
65182         Rearrange calculations to avoid internal overflow possibilities.
65183         Assert that number fits inside MPNSIZE limbs.
65184         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
65185         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
65186         calculations and add assertions to avoid internal overflow
65187         possibilities.  Add casts to avoid signed/unsigned operations.
65188         * stdlib/tst-strtod-overflow.c: New file.
65189         * stdlib/Makefile (tests): Add tst-strtod-overflow.
65191 2012-08-25  Marek Polacek  <polacek@redhat.com>
65193         * time/time.h: Fix some typos in comments.
65195 2012-08-23  Roland McGrath  <roland@hack.frob.com>
65197         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
65198         * posix/tst-rfc3484-2.c: Likewise.
65199         * posix/tst-rfc3484-3.c: Likewise.
65201 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
65203         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
65204         (EF_ARM_ABI_FLOAT_HARD): Likewise.
65206 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
65208         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
65209         #include of fxstatat64.c.
65211 2012-08-22  Roland McGrath  <roland@hack.frob.com>
65213         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
65214         * shadow/getspent_r.c: Likewise.
65215         * shadow/getspnam.c: Likewise.
65216         * shadow/getspnam_r.c: Likewise.
65217         * gshadow/getsgent.c: Likewise.
65218         * gshadow/getsgent_r.c: Likewise.
65219         * gshadow/getsgnam.c: Likewise.
65220         * gshadow/getsgnam_r.c: Likewise.
65221         * inet/getnetbyad.c: Likewise.
65222         * inet/getnetbyad_r.c: Likewise.
65223         * inet/getnetbynm.c: Likewise.
65224         * inet/getnetbynm_r.c: Likewise.
65225         * inet/getnetent.c: Likewise.
65226         * inet/getnetent_r.c: Likewise.
65227         * inet/getproto.c: Likewise.
65228         * inet/getproto_r.c: Likewise.
65229         * inet/getprtent.c: Likewise.
65230         * inet/getprtent_r.c: Likewise.
65231         * inet/getprtname.c: Likewise.
65232         * inet/getprtname_r.c: Likewise.
65233         * inet/getrpcbyname.c: Likewise.
65234         * inet/getrpcbyname_r.c: Likewise.
65235         * inet/getrpcbynumber.c: Likewise.
65236         * inet/getrpcbynumber_r.c: Likewise.
65237         * inet/getrpcent.c: Likewise.
65238         * inet/getrpcent_r.c: Likewise.
65239         * inet/getaliasent.c: Likewise.
65240         * inet/getaliasent_r.c: Likewise.
65241         * inet/getaliasname.c: Likewise.
65242         * inet/getaliasname_r.c: Likewise.
65243         * nscd/getgrgid_r.c: Likewise.
65244         * nscd/getgrnam_r.c: Likewise.
65245         * nscd/gethstbyad_r.c: Likewise.
65246         * nscd/gethstbynm3_r.c: Likewise.
65247         * nscd/getpwnam_r.c: Likewise.
65248         * nscd/getpwuid_r.c: Likewise.
65249         * nscd/getsrvbynm_r.c: Likewise.
65250         * nscd/getsrvbypt_r.c: Likewise.
65251         * nscd/gai.c: Likewise.
65253         * configure.in (build_nscd): New substituted variable, set
65254         by --disable-build-nscd and defaults to $use_nscd.
65255         * configure: Regenerated.
65256         * config.make.in (build-nscd): New substituted variable.
65257         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
65258         Change conditional to require [$(build-nscd) = yes] as well.
65259         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
65261         [BZ# 13696]
65262         * configure.in (use_nscd): New substituted variable, set by
65263         --disable-nscd.  If enabled, define USE_NSCD.
65264         * configure: Regenerated.
65265         * config.h.in: Add USE_NSCD.
65266         * config.make.in (use-nscd): New substituted variable.
65267         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
65268         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
65269         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
65270         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
65271         (CFLAGS-getgrnam_r.c): Likewise.
65272         (CFLAGS-initgroups.c): Likewise.
65273         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
65274         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
65275         Variables removed.
65276         * inet/getnetgrent_r.c
65277         (nscd_setnetgrent): New function, broken out of ...
65278         (setnetgrent): ... here.  Call it.
65279         (innetgr): Conditionalize nscd bits on [USE_NSCD].
65280         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
65281         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
65282         * nscd/Makefile (routines, aux): Move definitions after include of
65283         Makeconfig.  Conditionalize on [$(use-nscd) != no].
65284         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
65285         Conditionalize on [USE_NSCD].
65286         (is_nscd, nscd_init_cb): Likewise.
65287         (nss_load_library): Conditionalize init callback on [USE_NSCD].
65288         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
65289         * nss/nss_db/db-init.c: Likewise.
65290         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
65291         [USE_NSCD].
65292         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
65293         (make_request): Use it.
65294         (cache_valid_p): New function.
65295         (__check_pf): Use it.
65296         * NEWS: Add item for --disable-nscd.
65298 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
65300         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
65301         to support sed >= 4.2.1-20-ga9bf076.
65302         * configure: Regenerated.
65304 2012-08-22  Roland McGrath  <roland@hack.frob.com>
65306         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
65307         Conditionalize whole body on [IREL].
65309 2012-08-22  Jeff Law <law@redhat.com>
65311         [BZ #14505]
65312         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
65313         if the family is PF_UNSPEC.
65315 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
65317         * Makerules (lib-version): Rename from V.
65318         (install-lib-nosubdir): Change V to lib-version.
65320 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
65322         [BZ #14252]
65323         * powerpc32/power6/wcschr.c: New file.
65324         * powerpc32/power6/wcscpy.c: New file.
65325         * powerpc32/power6/wcsrchr.c: New file.
65326         * powerpc64/power6/wcschr.c: New file.
65327         * powerpc64/power6/wcscpy.c: New file.
65328         * powerpc64/power6/wcsrchr.c: New file.
65330 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
65332         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
65333         (two_way_short_needle): Use it.
65334         * string/strstr.c (AVAILABLE1_USES_J): Define.
65335         * string/strcasestr.c: Likewise.
65337         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
65338         array references.
65339         * string/strcasestr.c (TOLOWER): Make side-effect safe.
65341         [BZ #11607]
65342         * NEWS: Add an entry.
65343         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
65344         define their defaults.
65345         (two_way_short_needle): Detect end-of-string on-the-fly.
65346         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
65347         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
65348         * string/bug-strcasestr1.c: New test.
65349         * string/Makefile: Run it.
65351 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
65353         [BZ #11607]
65354         * string/str-two-way.h (two_way_short_needle): Optimize matching of
65355         the first character.
65357 2012-08-21  Roland McGrath  <roland@hack.frob.com>
65359         * csu/elf-init.c (__libc_csu_irel): Function removed.
65360         * csu/libc-start.c (apply_irel): New function.
65361         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
65363 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
65365         * sysdeps/unix/sysv/linux/kernel-features.h
65366         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
65367         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
65368         <kernel-features.h>.
65369         [__NR_fadvise64_64]: Make code unconditional.
65370         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
65371         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
65372         !__NR_fadvise64_64)]: Likewise.
65373         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
65374         !__NR_fadvise64_64))]: Likewise.
65375         [__NR_fadvise64]: Make code unconditional.
65376         [!__NR_fadvise64]: Remove conditional code.
65377         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
65378         <kernel-features.h>.
65379         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
65380         unconditional.
65381         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
65382         conditional code.
65383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
65384         not include <kernel-features.h>.
65385         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
65386         unconditional.
65387         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
65388         conditional code.
65389         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
65390         include <kernel-features.h>.
65391         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
65392         unconditional.
65393         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
65394         conditional code.
65396 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
65398         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
65399         slight instruction rearrangements per scrollpipe analysis.
65400         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
65402 2012-08-20  Roland McGrath  <roland@hack.frob.com>
65404         * manual/syslog.texi (syslog; vsyslog, closelog):
65405         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
65406         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
65408         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
65409         DSOCAPS to match condition on defining it.
65411 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
65413         * sysdeps/unix/sysv/linux/kernel-features.h
65414         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
65415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
65416         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
65417         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
65418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
65419         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
65420         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
65421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
65422         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
65423         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
65425         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
65426         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
65428         * sysdeps/unix/sysv/linux/kernel-features.h
65429         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
65430         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
65431         unconditional.
65432         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
65433         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
65434         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
65435         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
65436         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
65437         Make code unconditional.
65438         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
65439         (__mmap64) [!__NR_mmap2]: Likewise.
65440         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
65441         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
65442         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
65443         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
65444         [__NR_mmap2]: Make code unconditional.
65445         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
65446         (__mmap64) [!__NR_mmap2]: Likewise.
65448 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65450         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
65452 2012-08-18  Andreas Jaeger  <aj@suse.de>
65454         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
65456 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
65458         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
65459         * include/unistd.h (__have_sock_cloexec): Likewise.
65460         (__have_pipe2): Likewise.
65461         (__have_dup3): Likewise.
65463 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
65465         [BZ #9685]
65466         * include/unistd.h (__have_pipe2): Change define into an extern int.
65467         (__have_dup3): Likewise.
65468         * socket/have_sock_cloexec.c: Include fcntl.h.
65469         (__have_pipe2): New variable.
65470         (__have_dup3): Likewise.
65472 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
65474         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
65476 2012-08-17  Marek Polacek  <polacek@redhat.com>
65478         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
65479         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
65481 2012-08-17  Roland McGrath  <roland@hack.frob.com>
65483         * configure.in: Add AC_SUBST for sysheaders.
65484         * configure: Regenerated.
65485         * config.make.in (sysheaders): New substituted variable.
65487         * sysdeps/unix/mkfifo.c: Moved ...
65488         * sysdeps/posix/mkfifo.c: ... here.
65489         * sysdeps/unix/mkfifoat.c: Moved ...
65490         * sysdeps/posix/mkfifoat.c: ... here.
65492         * sysdeps/unix/utime.c: Moved ...
65493         * sysdeps/posix/utime.c: ... here.
65495         * sysdeps/unix/time.c: Moved ...
65496         * sysdeps/posix/time.c: ... here.
65497         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
65498         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
65500         * sysdeps/unix/nice.c: Moved ...
65501         * sysdeps/posix/nice.c: ... here.
65503         * sysdeps/unix/alarm.c: Moved ...
65504         * sysdeps/posix/alarm.c: ... here.
65506         * intl/Makefile ($(codeset_mo)): Depend on the input file.
65508 2012-08-17  Jeff Law <law@redhat.com>
65510         * intl/Makefile (codeset_mo): New variable.
65511         ($(codeset_mo)): New target.
65512         (tst-codeset.out): Depend on that.  Remove explicit rule.
65513         (tst-gettext3.out, tst-gettext5.out): Likewise.
65514         (LOCPATH-ENV, tst-codeset-ENV): New variables.
65515         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
65516         * intl/tst-codeset.sh: Remove.
65517         * intl/tst-gettext3.sh: Likewise.
65518         * intl/tst-gettext5.sh: Likewise.
65520 2012-08-17  Roland McGrath  <roland@hack.frob.com>
65522         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
65523         * sysdeps/unix/syscalls.list: ... here.
65525         * sysdeps/posix/getaddrinfo.c
65526         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
65527         (gaiconf_init, gaiconf_reload): Use them.
65528         [!_STATBUF_ST_NSEC]
65529         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
65530         Define using time_t rather than struct timespec.
65532         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
65533         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
65534         Macros removed.
65535         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
65536         [!NO_THREADS].
65537         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
65538         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
65539         Likewise.
65541         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
65542         __libc_cleanup_push argument.
65544         * bits/param.h: New file.
65545         * misc/sys/param.h: New file.
65546         * include/sys/param.h: New file.
65547         * misc/Makefile (headers): Add bits/param.h.
65548         * sysdeps/generic/sys/param.h: File removed.
65549         * sysdeps/unix/sysv/linux/bits/param.h: New file.
65550         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
65551         * sysdeps/mach/hurd/bits/param.h: New file.
65552         * sysdeps/mach/hurd/sys/param.h: File removed.
65554         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
65555         last change.
65557         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
65558         [_IO_MTSAFE_IO].
65559         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
65560         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
65561         New macros.
65563         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
65564         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
65565         rather than -D_IO_MTSAFE_IO conditionally.
65566         * stdio-common/Makefile (CPPFLAGS): Likewise.
65567         * wcsmbs/Makefile (CPPFLAGS): Likewise.
65568         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
65569         Use $(libio-mtsafe).
65570         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
65571         of -D_IO_MTSAFE_IO.
65572         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
65573         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
65574         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
65575         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
65576         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
65577         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
65578         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
65579         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
65580         (CFLAGS-fread_u_chk.c): Likewise.
65581         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
65582         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
65583         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
65584         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
65585         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
65586         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
65587         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
65588         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
65589         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
65591         * libio/Makefile: Test [$(libc-reentrant) = yes]
65592         instead of [$(filter %REENTRANT, $(defines)) nonempty].
65594         * Makeconfig
65595         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
65596         * sysdeps/pthread/configure: File removed.
65597         * sysdeps/pthread/Makeconfig: New file.
65598         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
65599         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
65601 2012-08-16  Gary Benson  <gbenson@redhat.com>
65603         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
65604         unmapping the first object in a namespace.
65606 2012-08-16  Roland McGrath  <roland@hack.frob.com>
65608         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
65609         (__internal_setnetgrent): ... this.  Add internal_function to
65610         definition.  Add libc_hidden_def.
65611         (setnetgrent): Update caller.
65612         (internal_endnetgrent): Renamed to ...
65613         (__internal_endnetgrent): ... this.  Add internal_function to
65614         definition.  Add libc_hidden_def.
65615         (endnetgrent): Update caller.
65616         (internal_getnetgrent_r): Renamed to ...
65617         (__internal_getnetgrent_r): ... this.  Add internal_function to
65618         definition.  Add libc_hidden_def.
65619         (__getnetgrent_r): Update caller.
65620         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
65622 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
65624         * stdlib/longlong.h: Update from GCC.
65626 2012-08-16  Roland McGrath  <roland@hack.frob.com>
65628         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
65629         on _QL, which is set by umul_ppmm but never used.
65630         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
65631         variables, which are set by GMP macros but never used.
65632         * stdio-common/_itowa.c (_itowa): Likewise.
65633         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
65634         * stdlib/mod_1.c (mpn_mod_1): Likewise.
65636 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
65638         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
65639         struct La_sh_regs is not constant.
65640         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
65641         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
65642         and struct La_sparc64_regs are not constant.
65644 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
65646         * sysdeps/unix/sysv/linux/kernel-features.h
65647         (__ASSUME_POSIX_TIMERS): Remove.
65648         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
65649         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65650         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
65651         Make code unconditional.
65652         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65653         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
65654         Make code unconditional.
65655         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65656         * sysdeps/unix/sysv/linux/clock_nanosleep.c
65657         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
65658         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65659         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
65660         Make code unconditional.
65661         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65662         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
65663         (__libc_missing_posix_timers): Remove.
65665 2012-08-15  Roland McGrath  <roland@hack.frob.com>
65667         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
65668         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
65670         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
65672         * elf/dl-sym.c: Include <stdlib.h>.
65674         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
65675         constants, which avoids warnings in 32-bit builds.
65677         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
65678         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
65680         * misc/lseek.c: File moved to ...
65681         * io/lseek.c: ... here.
65683         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
65685         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
65686         shifting LEN more than 31 bits at once.
65688 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65690         [BZ #14195]
65691         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
65692         segmentation fault for a case of two empty input strings.
65693         * string/test-strncasecmp.c (check1): Renamed to...
65694         (bz12205): ...this.
65695         (bz14195): Add new testcase for two empty input strings and N > 0.
65696         (test_main): Call new testcase, adapt for renamed function.
65698 2012-08-15  Andreas Jaeger  <aj@suse.de>
65700         [BZ #14090]
65701         * crypt/md5test2.c: New test, based on test supplied by Serge
65702         Belyshev <belyshev@depni.sinp.msu.ru>.
65703         * crypt/Makefile (xtests): Add md5test-giant..
65704         * crypt/Makefile ($(objpfx)md5test-giant): Add.
65706 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
65708         [BZ #14090]
65709         * crypt/md5.c (md5_process_block): Don't assume the buffer
65710         length is less than 2**32.
65711         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
65712         length is less than 2**64.
65714 2012-08-15  Roland McGrath  <roland@hack.frob.com>
65716         * string/str-two-way.h: Include <sys/param.h>.
65717         (MAX): Macro removed.
65719         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
65720         Move #define and #undef of memmove to just before and after
65721         including <string.h>.
65723         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
65724         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
65725         and after including <string.h>.  Move declarations of
65726         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
65727         to before #include "string/memmove.c".
65729         * include/dirent.h: Declare __getdirentries.
65731         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
65732         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
65734 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
65736         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
65737         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
65738         * sysdeps/i386/configure: Regenerated.
65739         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
65740         STABS_CURRENT_FILE, and STABS_FUN.
65741         (END): Remove call to STABS_FUN_END.
65742         (STABS_CURRENT_FILE1): Delete.
65743         (STABS_CURRENT_FILE): Likewise.
65744         (STABS_FUN): Likewise.
65745         (STABS_FUN_END): Likewise.
65746         (STABS_FUN2): Likewise.
65747         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
65748         * sysdeps/x86_64/configure: Regenerated.
65750 2012-08-14  Roland McGrath  <roland@hack.frob.com>
65752         * elf/dl-open.c: Include <atomic.h>.
65753         * elf/dl-lookup.c: Likewise.
65755 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
65757         * sysdeps/unix/sysv/linux/kernel-features.h
65758         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
65759         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
65760         unconditionally.
65761         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
65762         unconditionally.
65763         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
65764         condition on __ASSUME_CLONE_THREAD_FLAGS.
65766 2012-08-14  Andreas Jaeger  <aj@suse.de>
65768         * sysdeps/i386/fpu/libm-test-ulps: Update.
65770 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
65772         * include/atomic.h (atomic_exchange_and_add): Split into ...
65773         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
65774         New atomic macros.
65776 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
65778         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65780 2012-08-13  Jeff Law <law@redhat.com>
65782         * manual/stdio.texi (snprintf): Clarify handling of the trailing
65783         null byte in the output string.
65785 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
65787         * sysdeps/unix/sysv/linux/kernel-features.h
65788         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
65789         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
65790         (__ASSUME_ARG_MAX_STACK_BASED): Define.
65791         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
65792         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
65793         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
65794         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
65796 2012-08-09  Jeff Law <law@redhat.com>
65798         [BZ #13939]
65799         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
65800         When avoid_arena is set, don't retry in the that arena.  Pick the
65801         next one, whatever it might be.
65802         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
65803         (arena_lock): Pass in new parameter to arena_get2.
65804         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
65805         arena_get2.
65806         (__libc_malloc): Unify retrying after main arena failure with
65807         __libc_memalign version.
65808         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
65810 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
65812         [BZ #14166]
65813         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
65814         to __redirect_strstr.
65815         (__strstr_sse42): Use typeof __redirect_strstr.
65816         (__strstr_ia32): Likewise.
65817         (__libc_strstr): New prototype.
65818         (strstr): Renamed to ...
65819         (__libc_strstr): This.
65820         (strstr): New strong alias of __libc_strstr.
65821         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
65822         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
65823         __redirect_time.
65824         Include <time.h>.
65825         (__libc_time): New prototype.
65826         (time_ifunc): Replace time with __libc_time.
65827         (time): New strong alias and hidden definition of __libc_time.
65828         (__GI_time): Remove strong alias.
65829         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
65830         Include <stddef.h>.
65831         (memmove): Redefined to __redirect_memmove.
65832         (__memmove_sse2): Use typeof __redirect_memmove.
65833         (__memmove_ssse3): Likewise.
65834         (__memmove_ssse3_back): Likewise.
65835         (__libc_memmove): New prototype.
65836         (memmove): Renamed to ...
65837         (__libc_memmove): This.
65838         (memmove): New strong alias of __libc_memmove.
65840 2012-08-08  Mark Salter  <msalter@redhat.com>
65842         * elf/elf.h
65843         (R_MN10300_TLS_GD): Define.
65844         (R_MN10300_TLS_LD): Likewise.
65845         (R_MN10300_TLS_LDO): Likewise.
65846         (R_MN10300_TLS_GOTIE): Likewise.
65847         (R_MN10300_TLS_IE): Likewise.
65848         (R_MN10300_TLS_LE): Likewise.
65849         (R_MN10300_TLS_DTPMOD): Likewise.
65850         (R_MN10300_TLS_DTPOFF): Likewise.
65851         (R_MN10300_TLS_TPOFF): Likewise.
65852         (R_MN10300_SYM_DIFF): Likewise.
65853         (R_MN10300_ALIGN): Likewise.
65854         (R_MN10300_NUM): Update.
65856 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
65858         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
65859         Remove.
65861 2012-08-08  Roland McGrath  <roland@hack.frob.com>
65863         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
65865         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
65866         sysdeps/unix -> sysdeps/posix move.
65867         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
65869 2012-08-07      Allan McRae     <allan@archlinux.org>
65871         [BZ #14303]
65872         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
65873         (SUNOS_CPP): Likewise.
65874         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
65875         not found.
65876         (open_input): Call CPP using execvp.
65878 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
65880         * sysdeps/unix/sysv/linux/kernel-features.h
65881         (__ASSUME_PROT_GROWSUPDOWN): Remove.
65882         (__ASSUME_NO_CLONE_DETACHED): Likewise.
65883         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
65884         (__ASSUME_WAITID_SYSCALL): Likewise.
65885         * sysdeps/unix/sysv/linux/dl-execstack.c
65886         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
65887         code unconditional.
65888         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
65889         conditional code.
65890         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
65891         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
65892         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
65893         code.
65894         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
65895         unconditional.
65896         [__ASSUME_WAITID_SYSCALL]: Likewise.
65897         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
65899 2012-08-07  Roland McGrath  <roland@hack.frob.com>
65901         * sysdeps/unix/closedir.c: Renamed to ...
65902         * sysdeps/posix/closedir.c: ... here.
65903         * sysdeps/unix/dirfd.c: Renamed to ...
65904         * sysdeps/posix/dirfd.c: ... here.
65905         * sysdeps/unix/dirstream.h: Renamed to ...
65906         * sysdeps/posix/dirstream.h: ... here.
65907         * sysdeps/unix/fdopendir.c: Renamed to ...
65908         * sysdeps/posix/fdopendir.c: ... here.
65909         * sysdeps/unix/opendir.c: Renamed to ...
65910         * sysdeps/posix/opendir.c: ... here.
65911         * sysdeps/unix/readdir.c: Renamed to ...
65912         * sysdeps/posix/readdir.c: ... here.
65913         * sysdeps/unix/readdir_r.c: Renamed to ...
65914         * sysdeps/posix/readdir_r.c: ... here.
65915         * sysdeps/unix/rewinddir.c: Renamed to ...
65916         * sysdeps/posix/rewinddir.c: ... here.
65917         * sysdeps/unix/seekdir.c: Renamed to ...
65918         * sysdeps/posix/seekdir.c: ... here.
65919         * sysdeps/unix/telldir.c: Renamed to ...
65920         * sysdeps/posix/telldir.c: ... here.
65921         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
65922         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
65923         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
65924         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
65926         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
65927         * bits/fcntl.h: ... here.
65929         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
65930         not 0.
65931         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
65932         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
65933         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
65934         (struct flock): Move l_start, l_len to the beginning.
65935         Use __pid_t for l_pid.
65936         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
65937         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
65938         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
65939         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
65940         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
65941         [__USE_LARGEFILE64] (struct flock64): New type.
65942         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
65944         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
65945         * bits/dirent.h: ... here.
65947         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
65948         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
65950 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
65952         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65953         Change from 2.6.0 to 2.6.16.
65954         * sysdeps/unix/sysv/linux/configure: Regenerated.
65955         * sysdeps/unix/sysv/linux/kernel-features.h
65956         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
65957         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
65958         version.
65959         (__ASSUME_UTIMES): Likewise.
65960         (__ASSUME_CLONE_STOPPED): Remove.
65961         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
65962         architectures, not kernel version.
65963         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
65964         (__ASSUME_NO_CLONE_DETACHED): Likewise.
65965         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
65966         (__ASSUME_WAITID_SYSCALL): Likewise.
65967         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
65968         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
65969         * README: State 2.6.16 as minimum Linux kernel version.  Do not
65970         refer to older versions.
65972 2012-08-06  Roland McGrath  <roland@hack.frob.com>
65974         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
65975         Define alphasort64 as an alias.
65976         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
65977         Define versionsort64 as an alias.
65978         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
65979         Define scandir64 as an alias.
65980         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
65981         Define scandirat64 as an alias.
65982         * dirent/alphasort64.c (alphasort64):
65983         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
65984         * dirent/versionsort64.c: Likewise.
65985         * dirent/scandir64.c: Likewise.
65986         * dirent/scandirat64.c: Likewise.
65987         * sysdeps/wordsize-64/alphasort.c: File removed.
65988         * sysdeps/wordsize-64/alphasort64.c: File removed.
65989         * sysdeps/wordsize-64/scandir.c: File removed.
65990         * sysdeps/wordsize-64/scandir64.c: File removed.
65991         * sysdeps/wordsize-64/scandirat.c: File removed.
65992         * sysdeps/wordsize-64/scandirat64.c: File removed.
65993         * sysdeps/wordsize-64/versionsort.c: File removed.
65994         * sysdeps/wordsize-64/versionsort64.c: File removed.
65995         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
65996         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
65997         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
65998         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
65999         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
66000         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
66001         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
66002         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
66004         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
66005         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
66006         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
66007         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66008         [defined __arch64__ || defined __sparcv9]
66009         (__INO_T_MATCHES_INO64_T): New macro.
66010         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
66011         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
66012         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
66013         * sysdeps/unix/sysv/linux/bits/dirent.h
66014         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
66015         (_DIRENT_MATCHES_DIRENT64): New macro.
66017         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
66018         Define lockf64 as an alias.
66019         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
66020         Define fseeko64 as an alias.
66021         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
66022         Define ftello64 as an alias.
66023         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
66024         Define _IO_fgetpos64 and fgetpos64 as aliases.
66025         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
66026         Define _IO_fsetpos64 and fsetpos64 as aliases.
66027         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
66028         Conditionalize body on this.
66029         * libio/fseeko64.c: Likewise.
66030         * libio/ftello64.c: Likewise.
66031         * libio/iofgetpos64.c: Likewise.
66032         * libio/iofsetpos64.c: Likewise.
66033         * sysdeps/wordsize-64/lockf.c: File removed.
66034         * sysdeps/wordsize-64/lockf64.c: File removed.
66035         * sysdeps/wordsize-64/fseeko.c: File removed.
66036         * sysdeps/wordsize-64/fseeko64.c: File removed.
66037         * sysdeps/wordsize-64/ftello.c: File removed.
66038         * sysdeps/wordsize-64/ftello64.c: File removed.
66039         * sysdeps/wordsize-64/iofgetpos.c: File removed.
66040         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
66041         * sysdeps/wordsize-64/iofsetpos.c: File removed.
66042         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
66043         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
66044         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
66045         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
66046         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
66047         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
66048         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
66049         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
66050         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
66051         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
66052         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
66054         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
66055         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
66056         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
66057         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66058         [defined __arch64__ || defined __sparcv9]
66059         (__OFF_T_MATCHES_OFF64_T): New macro.
66060         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
66061         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
66062         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66063         (__OFF_T_MATCHES_OFF64_T): New macro.
66065 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
66067         * stdlib/secure-getenv.c (__secure_getenv): Replace
66068         GLIBC_2_16 with GLIBC_2_17.
66070 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
66072         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
66073         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
66075 2012-08-03  David S. Miller  <davem@davemloft.net>
66077         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66079 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
66081         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
66082         Remove.
66083         (__ASSUME_CORRECT_SI_PID): Likewise.
66084         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
66085         (__ASSUME_TMPFS_NAME): Likewise.
66086         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
66087         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
66088         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
66089         (HAVE_AUX_SECURE): Make definition unconditional.
66090         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
66091         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
66093 2012-08-03  Roland McGrath  <roland@hack.frob.com>
66095         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
66096         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
66097         * sysdeps/mach/hurd/eloop-threshold.h: New file.
66098         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
66099         __eloop_threshold instead of SYMLOOP_MAX.
66101         * sysdeps/generic/eloop-threshold.h: New file.
66102         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
66103         of MAXSYMLINKS.
66104         * elf/chroot_canon.c (chroot_canon): Likewise.
66106 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
66108         [BZ #13717]
66109         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
66110         Change to 2.6.0 everywhere.
66111         * sysdeps/unix/sysv/linux/configure: Regenerated.
66112         * sysdeps/unix/sysv/linux/kernel-features.h
66113         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
66114         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
66115         kernel versions.
66116         (__ASSUME_POSIX_TIMERS): Define unconditionally.
66117         (__ASSUME_FUTEX_REQUEUE): Remove.
66118         (__ASSUME_STATFS64): Define unconditionally.
66119         (__ASSUME_AT_SECURE): Likewise.
66120         (__ASSUME_CORRECT_SI_PID): Likewise.
66121         (__ASSUME_TGKILL): Define without depending on kernel version for
66122         i386.
66123         (__ASSUME_UTIMES): Likewise.
66124         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
66125         kernel version.
66126         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
66127         (__ASSUME_TMPFS_NAME): Likewise.
66128         * README: Update reference to Linux kernel versions.
66130 2012-08-02  Marek Polacek  <polacek@redhat.com>
66132         [BZ# 14150]
66133         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
66134         libc_cv_asm_type_prefix with %.
66135         * configure: Regenerated.
66136         * include/libc-symbols.h: Remove comment about
66137         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
66138         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
66139         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
66140         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
66141         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
66142         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
66143         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
66144         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
66145         * elf/tst-unique2mod1.c: Likewise.
66146         * elf/tst-unique1mod2.c: Likewise.
66147         * elf/tst-unique1mod1.c: Likewise.
66148         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
66149         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
66150         Replace ASM_TYPE_DIRECTIVE with .type.
66151         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66152         * sysdeps/i386/sysdep.h: Likewise.
66153         * sysdeps/x86_64/sysdep.h: Likewise.
66154         * sysdeps/sh/sysdep.h: Likewise.
66155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
66156         Do not define ASM_TYPE_DIRECTIVE.
66157         * sysdeps/powerpc/sysdep.h: Likewise.
66158         * sysdeps/powerpc/powerpc32/sysdep.h:
66159         Replace ASM_TYPE_DIRECTIVE with .type.
66160         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
66161         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
66162         * sysdeps/i386/fpu/e_powf.S: Likewise.
66163         * sysdeps/i386/fpu/e_expl.S: Likewise.
66164         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
66165         * sysdeps/i386/fpu/e_acosh.S: Likewise.
66166         * sysdeps/i386/fpu/e_pow.S: Likewise.
66167         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
66168         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
66169         * sysdeps/i386/fpu/s_expm1.S: Likewise.
66170         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
66171         * sysdeps/i386/fpu/e_log2.S: Likewise.
66172         * sysdeps/i386/fpu/e_log2l.S: Likewise.
66173         * sysdeps/i386/fpu/e_scalb.S: Likewise.
66174         * sysdeps/i386/fpu/e_powl.S: Likewise.
66175         * sysdeps/i386/fpu/e_log10f.S: Likewise.
66176         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
66177         * sysdeps/i386/fpu/e_logl.S: Likewise.
66178         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
66179         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
66180         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
66181         * sysdeps/i386/fpu/e_log2f.S: Likewise.
66182         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
66183         * sysdeps/i386/fpu/e_log.S: Likewise.
66184         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
66185         * sysdeps/i386/fpu/e_logf.S: Likewise.
66186         * sysdeps/i386/fpu/e_log10l.S: Likewise.
66187         * sysdeps/i386/fpu/e_atanh.S: Likewise.
66188         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
66189         * sysdeps/i386/fpu/e_log10.S: Likewise.
66190         * sysdeps/i386/fpu/s_frexp.S: Likewise.
66191         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
66192         * sysdeps/i386/fpu/s_asinh.S: Likewise.
66193         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
66194         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
66195         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
66196         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
66197         * sysdeps/i386/i686/strtok.S: Likewise.
66198         * sysdeps/i386/i386-mcount.S: Likewise.
66199         * sysdeps/i386/strtok.S: Likewise.
66200         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
66201         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
66202         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66203         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
66204         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
66205         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
66206         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
66207         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
66208         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
66209         * sysdeps/x86_64/_mcount.S: Likewise.
66210         * sysdeps/x86_64/strtok.S: Likewise.
66211         * sysdeps/sh/_mcount.S: Likewise.
66213 2012-08-01  Roland McGrath  <roland@hack.frob.com>
66215         * libio/iofopen.c: Include <fcntl.h>.
66216         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
66217         (_IO_fopen64, fopen64): Define as aliases.
66218         * libio/iofopen64.c: Include <fcntl.h>.
66219         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
66220         Conditionalize body on this.
66221         * sysdeps/wordsize-64/iofopen.c: File removed.
66222         * sysdeps/wordsize-64/iofopen64.c: File removed.
66224 2012-08-01  Marek Polacek  <polacek@redhat.com>
66226         * libc/Makeconfig: Use elf in place of binfmt-subdir.
66227         Use dlfcn directly instead of a variable.
66228         (binfmt-subdir): Do not define.
66229         (dlfcn): Likewise.
66231 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
66233         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
66234         Remove all definitions.
66235         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
66236         <kernel-features.h>.
66237         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
66238         (miss_F_GETOWN_EX): Remove all definitions.
66239         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
66240         macro definition.
66241         [!__ASSUME_FCNTL64]: Remove conditional code.
66242         [__ASSUME_FCNTL64]: Make code unconditional.
66243         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
66244         <kernel-features.h>.
66245         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
66246         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
66247         (lockf64) [__NR_fcntl64]: Make code unconditional.
66248         (lockf64) [__ASSUME_FCNTL64]: Likewise.
66250         * sysdeps/unix/sysv/linux/kernel-features.h
66251         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
66252         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
66253         Make code unconditional.
66254         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
66255         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
66256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
66257         [__NR_vfork]: Make code unconditional.
66258         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
66259         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
66260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
66261         [__NR_vfork]: Make code unconditional.
66262         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
66263         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
66265 2012-08-01  Roland McGrath  <roland@hack.frob.com>
66267         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
66268         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
66270         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
66271         Define mkstemp64 as an alias.
66272         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
66273         Define mkstemps64 as an alias.
66274         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
66275         Define mkostemp64 as an alias.
66276         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
66277         Define mkostemps64 as an alias.
66278         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
66279         Conditionalize body on this.
66280         * misc/mkostemp64.c: Likewise.
66281         * misc/mkostemps64.c: Likewise.
66282         * misc/mkstemps64.c: Likewise.
66283         * sysdeps/wordsize-64/mkstemp64.c: File removed.
66284         * sysdeps/wordsize-64/mkostemp64.c: File removed.
66285         * sysdeps/wordsize-64/mkostemp.c: File removed.
66286         * sysdeps/wordsize-64/mkstemp.c: File removed.
66287         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
66288         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
66289         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
66290         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
66292         [BZ #14138]
66293         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
66294         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
66295         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
66296         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
66298         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
66299         compat_symbol macros from <shlib-compat.h> rather than the underlying
66300         default_symbol_version and symbol_version macros, so that DEFAULT
66301         lines in shlib-versions are respected.
66302         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
66304 2012-08-01  Florian Weimer  <fweimer@redhat.com>
66306         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
66307         Declare with warn_unused_result.
66308         (setgid, setregid, setegid, setresgid): Likewise.
66309         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
66310         Likewise.
66311         * WUR-REPORT: Remove set*id functions.
66313 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
66315         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
66317 2012-07-31  Roland McGrath  <roland@hack.frob.com>
66319         [BZ #10191]
66320         * include/sys/socket.h (__libc_accept, __libc_accept4):
66321         Add attribute_hidden.
66322         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
66324         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
66325         use of PTR_MANGLE.
66326         * inet/getnetgrent_r.c (setup): Likewise.
66328         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
66330 2012-07-31  David S. Miller  <davem@davemloft.net>
66332         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66334 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
66336         [BZ #13629]
66337         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
66338         value between 1.0 and 2.0 and smaller part has absolute value less
66339         than 1.0.
66340         * math/s_clog10.c (__clog10): Likewise.
66341         * math/s_clog10f.c (__clog10f): Likewise.
66342         * math/s_clog10l.c (__clog10l): Likewise.
66343         * math/s_clogf.c (__clogf): Likewise.
66344         * math/s_clogl.c (__clogl): Likewise.
66345         * math/libm-test.inc (clog_test): Add more tests.
66346         (clog10_test): Likewise.
66347         * sysdeps/i386/fpu/libm-test-ulps: Update.
66348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66350 2012-07-31  Florian Weimer  <fweimer@redhat.com>
66352         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
66353         Exit with zero in case no suitable GID is found, and write a
66354         message to standard error.
66356 2012-07-30  Roland McGrath  <roland@hack.frob.com>
66358         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
66359         rather than to 1.
66360         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
66361         (MAXPATHLEN): Removed.
66362         (NOGROUP, NODEV): New macros.
66363         (setbit, clrbit, isset, isclr): New macros.
66364         (howmany, roundup, powerof2): New macros.
66365         (DEV_BSIZE): New macro.
66367         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
66368         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
66370         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
66371         definition on [!__NO_LONG_DOUBLE_MATH].
66373         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
66374         PTR_MANGLE and PTR_DEMANGLE.
66376         * socket/accept4.c (accept4): Rename to __libc_accept4.
66377         Define accept4 as a weak alias.
66379         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
66380         on [_DIRENT_HAVE_D_TYPE].
66381         * io/ftw.c (ftw_dir): Likewise.
66383         * io/xmknod.c (__xmknod): Don't check PATH for being null.
66385         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
66387         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
66388         Use the BSD numbers rather than the arbitrary ones we had.
66389         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
66390         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
66391         (SIGXCPU, SIGXFSZ): New macros.
66392         (_NSIG): Now 32.
66394         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
66395         initializer on [_LIBC_REENTRANT].
66397         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
66398         definitions inside [_POSIX_MAPPED_FILES].
66400         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
66402         * dirent/opendir.c: Include <fcntl.h>.
66404         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
66405         (__libc_getspecific): Likewise.
66406         (__libc_key_create): Likewise.
66408         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
66409         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
66410         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
66411         (tmpfile64): Define as alias.
66412         * sysdeps/wordsize-64/tmpfile.c: File removed.
66413         * sysdeps/wordsize-64/tmpfile64.c: File removed.
66414         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
66415         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
66417         * stdio-common/vfscanf.c: Include <stdbool.h>.
66418         * nss/makedb.c: Likewise.
66419         * stdio-common/_i18n_number.h: Likewise.
66420         * argp/argp-help.c: Likewise.
66421         * posix/wordexp.c: Likewise.
66422         * sysdeps/posix/spawni.c: Likewise.
66423         * nss/nss_files/files-initgroups.c: Likewise.
66424         * stdio-common/reg-modifier.c: Include <stdlib.h>.
66425         * nss/nss_files/files-initgroups.c: Likewise.
66426         * nss/nss_db/db-netgrp.c: Likewise.
66427         * nss/nss_db/db-initgroups.c: Likewise.
66428         * io/fchmodat.c: Include <sys/stat.h>.
66430         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
66431         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
66433         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
66434         [HAVE_MMAP].
66436         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
66437         Add multiple inclusion protection.
66439 2012-07-27  David S. Miller  <davem@davemloft.net>
66441         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66443 2012-07-27  Gary Benson  <gbenson@redhat.com>
66445         [BZ #14298]
66446         * elf/rtld.c: Include <stap-probe.h>.
66447         (dl_main): Added static probes "init_start" and "init_complete".
66448         * elf/dl-load.c: Include <stap-probe.h>.
66449         (lose): Take new parameter "nsid".
66450         Added static probe "map_failed".
66451         (_dl_map_object_from_fd): Pass namespace id to lose.
66452         Added static probe "map_start".
66453         (open_verify): Pass namespace id to lose.
66454         * elf/dl-open.c: Include <stap-probe.h>.
66455         (dl_open_worker) Added static probes "map_complete", "reloc_start"
66456         and "reloc_complete".
66457         * elf/dl-close.c: Include <stap-probe.h>.
66458         (_dl_close_worker): Added static probes "unmap_start" and
66459         "unmap_complete".
66460         * elf/rtld-debugger-interface.txt: New file documenting the above.
66462 2012-07-26  Roland McGrath  <roland@hack.frob.com>
66464         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
66465         rather than a string variable.
66466         * sunrpc/rpc_main.c (h_output): Likewise.
66467         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
66469 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
66471         * inet/check_native.c: New file.
66473 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
66475         [BZ #13629]
66476         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
66477         if larger part has absolute value 1.0.
66478         * math/s_clog10.c (__clog10): Likewise.
66479         * math/s_clog10f.c (__clog10f): Likewise.
66480         * math/s_clog10l.c (__clog10l): Likewise.
66481         * math/s_clogf.c (__clogf): Likewise.
66482         * math/s_clogl.c (__clogl): Likewise.
66483         * math/libm-test.inc (clog_test): Add more tests.
66484         (clog10_test): Likewise.
66485         * sysdeps/i386/fpu/libm-test-ulps: Update.
66486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66488         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
66489         (pltexit): Likewise.
66490         (La_regs): Likewise.
66491         (La_retval): Likewise.
66492         (int_retval): Likewise.
66493         Update #error for removed macros to refer only to definitions in
66494         tst-audit.h.
66495         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
66496         macro.
66497         (pltexit): Likewise.
66498         (La_regs): Likewise.
66499         (La_retval): Likewise.
66500         (int_retval): Likewise.
66501         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
66502         macro.
66503         (pltexit): Likewise.
66504         (La_regs): Likewise.
66505         (La_retval): Likewise.
66506         (int_retval): Likewise.
66507         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
66508         macro.
66509         (pltexit): Likewise.
66510         (La_regs): Likewise.
66511         (La_retval): Likewise.
66512         (int_retval): Likewise.
66513         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
66514         macro.
66515         (pltexit): Likewise.
66516         (La_regs): Likewise.
66517         (La_retval): Likewise.
66518         (int_retval): Likewise.
66519         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
66520         macro.
66521         (pltexit): Likewise.
66522         (La_regs): Likewise.
66523         (La_retval): Likewise.
66524         (int_retval): Likewise.
66525         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
66526         macro.
66527         (pltexit): Likewise.
66528         (La_regs): Likewise.
66529         (La_retval): Likewise.
66530         (int_retval): Likewise.
66531         * sysdeps/generic/tst-audit.h: Update comment to refer only to
66532         macro definitions in tst-audit.h.
66533         * sysdeps/i386/tst-audit.h: New file.
66534         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
66535         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
66536         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
66537         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
66538         * sysdeps/sh/tst-audit.h: Likewise.
66539         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
66540         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
66541         * sysdeps/x86_64/tst-audit.h: Likewise.
66543 2012-07-26  Andreas Jaeger  <aj@suse.de>
66545         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
66546         ptrace.
66548         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
66549         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
66550         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
66551         PTRACE_O_MASK.
66552         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
66553         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
66554         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
66556         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
66557         value.
66559         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
66560         _sigsys.
66561         (si_call_addr, si_syscall, si_arch): Define new macro.
66562         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
66563         _sigsys.
66564         (si_call_addr, si_syscall, si_arch): Define new marcro.
66565         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
66566         _sigsys.
66567         (si_call_addr, si_syscall, si_arch): Define new macro.
66568         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
66569         _sigsys.
66570         (si_call_addr, si_syscall, si_arch): Define new macro.
66572 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
66574         [BZ #13717]
66575         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
66576         Change to 2.4.21 where previously 2.4.1.
66577         * sysdeps/unix/sysv/linux/configure: Regenerated.
66578         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
66579         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
66580         Linux kernel version.
66581         (__ASSUME_STD_AUXV): Remove.
66582         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
66583         kernel version.
66584         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
66585         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
66586         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
66587         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
66588         (__ASSUME_NETLINK_SUPPORT): Likewise.
66589         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
66590         (__no_netlink_support): Remove conditional definition.
66591         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
66592         Remove.
66593         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
66594         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
66595         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
66596         (if_nameindex_ioctl): Remove.
66597         (if_nameindex_netlink): Do not handle __no_netlink_support.
66598         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
66599         code.
66600         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
66601         Remove conditional code.
66602         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
66603         code.
66604         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
66605         unconditional.
66606         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
66607         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
66608         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
66609         Remove.
66610         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
66611         [!__ASSUME_STD_AUXV]: Remove conditional code.
66612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
66613         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
66614         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
66615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
66616         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
66617         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
66618         code.
66619         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
66620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
66621         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
66622         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
66623         conditional code.
66624         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
66625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
66626         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
66627         code.
66628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
66629         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
66630         conditional code.
66631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
66632         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
66633         code unconditional.
66634         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66635         conditional code.
66636         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66637         unconditional.
66638         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66639         conditional code.
66640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
66641         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66642         unconditional.
66643         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66644         conditional code.
66645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
66646         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
66647         code unconditional.
66648         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66649         conditional code.
66650         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66651         unconditional.
66652         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66653         conditional code.
66654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
66655         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
66656         code unconditional.
66657         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66658         conditional code.
66659         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66660         unconditional.
66661         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66662         conditional code.
66664 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
66666         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
66667         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
66668         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
66669         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
66670         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
66671         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
66672         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
66673         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
66674         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
66675         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
66676         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
66677         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
66678         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
66679         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
66680         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
66681         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
66682         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
66683         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
66684         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
66685         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
66686         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
66687         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
66688         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
66690 2012-07-25  Florian Weimer  <fweimer@redhat.com>
66692         * Versions.def: Add GLIBC_2.17.
66693         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
66694         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
66695         Introduce __libc_secure_getenv.
66696         * stdlib/Versions (2.17): Add secure_getenv
66697         (GLIBC_PRIVATE): Add __libc_secure_getenv.
66698         * stdlib/secure-getenv.c: Rename __secure_getenv to
66699         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
66700         symbol __secure_getenv for GLIBC_2.0.
66701         * stdlib/tst-secure-getenv.c: New.
66702         * stdlib/Makefile (tests): Add testcase.
66703         * manual/startup.texi (Environment Access): Document
66704         secure_getenv.
66705         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
66706         __libc_secure_getenv.
66707         * inet/ruserpass.c (ruserpass): Likewise.
66708         * malloc/mtrace.c (mtrace): Likewise.
66709         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
66710         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
66711         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
66712         * sysdeps/posix/tempname.c: Likewise.  Evaluate
66713         HAVE_SECURE_GETENV.
66714         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
66715         __secure_getenv to __libc_secure_getenv.
66716         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
66717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66718         Likewise.
66719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66720         Likewise.
66721         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
66722         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
66723         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
66724         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
66725         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
66726         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
66727         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
66729 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
66731         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
66732         (struct La_i86_retval): Likewise.
66733         (struct La_x86_64_regs): Likewise.
66734         (struct La_x86_64_retval): Likewise.
66735         (struct La_x32_regs): Likewise.
66736         (struct La_x32_retval): Likewise.
66737         (struct La_ppc32_regs): Likewise.
66738         (struct La_ppc32_retval): Likewise.
66739         (struct La_ppc64_regs): Likewise.
66740         (struct La_ppc64_retval): Likewise.
66741         (struct La_sh_regs): Likewise.
66742         (struct La_sh_retval): Likewise.
66743         (struct La_s390_32_regs): Likewise.
66744         (struct La_s390_32_retval): Likewise.
66745         (struct La_s390_64_regs): Likewise.
66746         (struct La_s390_64_retval): Likewise.
66747         (struct La_sparc32_regs): Likewise.
66748         (struct La_sparc32_retval): Likewise.
66749         (struct La_sparc64_regs): Likewise.
66750         (struct La_sparc64_retval): Likewise.
66751         (struct audit_ifaces): Remove architecture-specific pltenter and
66752         pltexit members.
66753         * sysdeps/i386/ldsodefs.h: New file.
66754         * sysdeps/powerpc/ldsodefs.h: Likewise.
66755         * sysdeps/s390/ldsodefs.h: Likewise.
66756         * sysdeps/sh/ldsodefs.h: Likewise.
66757         * sysdeps/sparc/ldsodefs.h: Likewise.
66758         * sysdeps/x86_64/ldsodefs.h: Likewise.
66760 2012-07-25  Marek Polacek  <polacek@redhat.com>
66762         [BZ #6808]
66763         * math/libm-test.inc (yn_test): Add another test.
66764         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
66765         to ERANGE when the result is +-Inf.
66766         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
66767         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
66768         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
66769         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
66771 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
66773         * conform/data/time.h-data (NULL): Use macro-constant.  Require
66774         equal to 0.
66775         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
66776         clock_t.
66777         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
66779 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
66781         * configure.in <sysdeps resolving>: Correct printing
66782         Implies_before.
66783         * configure: Regenerate.
66785 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
66787         * math/w_ilogb.c: Include <limits.h>.
66788         * math/w_ilogbl.c: Likewise.
66790 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
66792         * manual/lang.texi (__va_copy): Document primarily as ISO C99
66793         va_copy.  Document allowing for unavailable va_copy only as
66794         pre-C99 compatibility.
66795         * manual/string.texi (Copying and Concatenation): Use va_copy
66796         instead of __va_copy in concat example.
66798 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
66800         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
66801         (__sendto): Use create_address_port.  Initialize APORT and deallocate
66802         it if not null.
66804         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
66805         with O_NOLINK passed to __file_name_lookup.
66807         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
66808         with O_NOLINK passed to __file_name_lookup.
66810         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
66811         negative N or less than NGIDS.
66813         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
66814         type to string_t.  Set ERANGE as errno and return it if NAME is not big
66815         enough.  Use memcpy instead of strncpy.
66817 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
66819         * elf/Makefile (check-data): Remove.
66820         (localplt.data): New vpath directive.
66821         ($(objpfx)check-localplt.out): Use localplt.data from vpath
66822         instead of $(check-data).
66823         * scripts/data/localplt-generic.data: Move to ...
66824         * sysdeps/generic/localplt.data: ... here.
66825         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
66826         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
66827         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
66828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
66829         ... here.
66830         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
66831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
66832         ... here.
66833         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
66834         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
66835         ... here.
66836         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
66837         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
66838         ... here.
66839         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
66840         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
66841         ... here.
66842         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
66843         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
66844         ... here.
66846 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66848         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
66849         PPC32 and PPC64 files.
66850         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
66851         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
66853 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66855         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
66856         __makecontext_ret to ...
66857         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
66858         ... here and call exit if uc_link is NULL.  New file.
66859         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
66860         __makecontext_ret.S.
66861         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
66862         __makecontext_ret to ...
66863         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
66864         ... here and call exit if uc_link is NULL.  New file.
66865         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
66866         __makecontext_ret.S.
66868 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66870         * elf/elf.h (R_390_IRELATIVE): New definition.
66871         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
66872         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
66873         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
66874         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
66875         (elf_machine_lazy_rel): Likewise.
66876         * sysdeps/s390/dl-irel.h: New file.
66877         * sysdeps/s390/s390-64/memcpy.S: New asm code.
66878         * sysdeps/s390/s390-64/memset.S: New asm code.
66879         * sysdeps/s390/s390-64/memcmp.S: New asm code.
66880         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
66881         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
66882         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
66883         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
66884         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
66885         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
66886         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
66887         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
66888         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
66889         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
66890         * sysdeps/s390/s390-32/memcpy.S: New asm code.
66891         * sysdeps/s390/s390-32/memset.S: New asm code.
66892         * sysdeps/s390/s390-32/memcmp.S: New asm code.
66894 2012-07-17  Marek Polacek  <polacek@redhat.com>
66896         [BZ #14349]
66897         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
66898         * sysdeps/s390/s390-64/configure.in: Likewise.
66899         * sysdeps/sparc/configure.in: Likewise.
66900         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
66901         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
66902         * sysdeps/i386/configure.in: Likewise.
66903         * sysdeps/x86_64/configure.in: Likewise.
66904         * sysdeps/sh/configure.in: Likewise.
66905         * sysdeps/s390/s390-32/configure: Regenerated.
66906         * sysdeps/s390/s390-64/configure: Likewise.
66907         * sysdeps/x86_64/configure: Likewise.
66908         * sysdeps/sh/configure: Likewise.
66909         * sysdeps/powerpc/powerpc64/configure: Likewise.
66910         * sysdeps/powerpc/powerpc32/configure: Likewise.
66911         * sysdeps/sparc/configure: Likwise.
66912         * sysdeps/i386/configure: Likewise.
66914         * elf/dl-open.c: Comment fixes.
66916 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
66918         * Makefile [CXX] (check-data): Remove.
66919         [CXX] (c++-types.data): New vpath directive.
66920         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
66921         vpath.  Do not allow for C++ type data being missing.
66922         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
66923         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
66924         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
66925         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
66926         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
66927         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
66928         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
66929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
66930         ... here.
66931         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
66932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
66933         ... here.
66934         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
66935         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
66936         ... here.
66937         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
66938         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
66939         ... here.
66940         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
66941         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
66942         ... here.
66943         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
66944         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
66945         ... here.
66946         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
66947         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
66948         ... here.
66949         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
66950         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
66952         * elf/tls-macros.h (TLS_LE): Move architecture-specific
66953         definitions to architecture-specific files.
66954         (TLS_IE): Likewise.
66955         (TLS_LD): Likewise.
66956         (TLS_GD): Likewise.
66957         * sysdeps/i386/tls-macros.h: New file.
66958         * sysdeps/powerpc/tls-macros.h: Likewise.
66959         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
66960         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
66961         * sysdeps/sh/tls-macros.h: Likewise.
66962         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
66963         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
66964         * sysdeps/x86_64/tls-macros.h: Likewise.
66966 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
66968         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
66969         zero value for regular exit case.
66971         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
66972         (__start_context): Preserve zero value for regular exit case.
66974 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
66975             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66977         * manual/setjmp.texi (setcontext): Clarify normal process
66978         termination when uc_link is the null pointer.
66979         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
66980         exit call.
66982 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
66984         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
66985         preprocessor.  Test for each exception mask separately.
66987 2012-07-16  Andreas Jaeger  <aj@suse.de>
66989         * po/ru.po: Update from translation team.
66991 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
66993         * conform/data/string.h-data (NULL): Use macro-constant.  Require
66994         equal to 0.
66995         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
66996         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
66997         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
66998         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
66999         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67001 2012-07-13  Andreas Jaeger  <aj@suse.de>
67003         * po/fr.po: Update from translation team.
67005 2012-07-12  Marek Polacek  <polacek@redhat.com>
67007         [BZ #14173]
67008         * math/libm-test.inc (yn_test): Add test for BZ #14173.
67009         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
67010         loop condition.
67012 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
67014         [BZ #13717]
67015         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67016         Change to 2.4.1 where previously 2.4.0.
67017         * sysdeps/unix/sysv/linux/configure: Regenerated.
67018         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
67019         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
67020         version.
67021         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
67022         (__ASSUME_AT_CLKTCK): Remove.
67023         (__ASSUME_AT_PAGESIZE): Likewise.
67024         (__ASSUME_AT_XID): Likewise.
67025         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
67026         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
67027         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
67028         unconditionally.
67029         (HAVE_AUX_PAGESIZE): Likewise.
67030         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
67031         [__ASSUME_AT_CLKTCK]: Make code unconditional.
67032         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
67034 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
67036         [BZ #14307]
67037         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
67038         the temporary buffer used to invoke __gethostbyname2_r,
67039         __gethostbyaddr_r and gethostbyname4_r to make room for struct
67040         host_data / struct gaih_addrtuple.
67041         * resolv/nss_dns/dns-host.c (global scope): Move definition of
67042         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
67043         header file nss/nsswitch.h.
67044         * nss/nsswitch.h (global scope): Add definition of implementation
67045         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
67046         resolv/nss_dns/dns-host.c).
67048 2012-07-11  Andreas Jaeger  <aj@suse.de>
67050         * po/fr.po: Update from translation team.
67052         * po/sv.po: Update from translation team
67053         * po/fr.po: Another update from translation team.
67055 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67057         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
67058         for subnormals or multiply small sinh result by itself.
67059         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
67060         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67062 2012-07-11  David S. Miller  <davem@davemloft.net>
67064         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67066 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
67068         [BZ #14347]
67069         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
67070         (INTERNAL_MARK): Shift it here.
67072 2012-07-10  Marek Polacek  <polacek@redhat.com>
67074         [BZ #14151]
67075         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
67076         libc_cv_asm_global_directive with .globl.
67077         * configure: Regenerated.
67078         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
67079         with .globl.
67080         * sysdeps/i386/configure: Regenerated.
67081         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
67082         with .globl.
67083         * sysdeps/x86_64/configure: Regenerated.
67084         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
67085         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
67086         * elf/tst-unique2mod2.c: Likewise.
67087         * elf/tst-unique2mod1.c: Likewise.
67088         * elf/tst-unique1mod2.c: Likewise.
67089         * elf/tst-unique1mod1.c: Likewise.
67090         * sysdeps/s390/s390-32/sysdep.h: Likewise.
67091         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
67092         * sysdeps/s390/s390-64/sysdep.h: Likewise.
67093         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
67094         * sysdeps/mach/sysdep.h: Likewise.
67095         * sysdeps/i386/sysdep.h: Likewise.
67096         * sysdeps/i386/i386-mcount.S: Likewise.
67097         * sysdeps/x86_64/_mcount.S: Likewise.
67098         * sysdeps/x86_64/sysdep.h: Likewise.
67099         * sysdeps/sh/_mcount.S: Likewise.
67100         * sysdeps/sh/sysdep.h: Likewise.
67101         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
67102         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
67103         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
67104         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
67105         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
67106         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
67107         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
67108         * locale/localeinfo.h: Likewise.
67109         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
67110         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
67112 2012-07-09  Roland McGrath  <roland@hack.frob.com>
67114         [BZ #14336]
67115         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
67116         system".
67117         * manual/message.texi (The Uniforum approach): Likewise.
67118         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
67119         (glibc iconv Implementation): Likewise.
67121 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
67123         [BZ #14337]
67124         * math/s_clog.c (__clog): Avoid scaling a value down where that
67125         could result in underflow.
67126         * math/s_clog10.c (__clog10): Likewise.
67127         * math/s_clog10f.c (__clog10f): Likewise.
67128         * math/s_clog10l.c (__clog10l): Likewise.
67129         * math/s_clogf.c (__clogf): Likewise.
67130         * math/s_clogl.c (__clogl): Likewise.
67131         * math/libm-test.inc (clog_test): Add more tests.
67132         (clog10_test): Likewise.
67133         * sysdeps/i386/fpu/libm-test-ulps: Update.
67134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67136 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
67138         [BZ #14283]
67139         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
67140         by 7 not 8 to examine high bit of fractional part.
67142         [BZ #14042]
67143         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
67144         for call to __mcount_internal.
67145         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
67146         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
67147         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
67149 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
67151         [BZ #14154]
67152         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
67153         approximation for values within 0x1p-13f of an odd multiple of
67154         pi/4.
67155         * math/libm-test.inc (tan_test): Do not allow spurious underflow
67156         exception.  Add more tests.
67157         * sysdeps/i386/fpu/libm-test-ulps: Update.
67159         [BZ #6778]
67160         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
67161         inputs and return -1 for them.  Do not check for +Inf in case not
67162         reachable for +Inf.
67163         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
67164         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
67165         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
67166         and return -1 for them.  Do not check for +Inf in case not
67167         reachable for +Inf.
67168         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
67169         define.
67170         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
67171         and return -1 for them.  Do not check for +Inf in case not
67172         reachable for +Inf.
67173         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
67174         spurious underflow.
67175         * sysdeps/i386/fpu/libm-test-ulps: Update.
67176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67178 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
67180         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
67182 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
67184         [BZ #14157]
67185         [BZ #14331]
67186         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
67187         could result in spurious underflow.  Scale down values above
67188         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
67189         * math/s_csqrtf.c (__csqrtf): Likewise.
67190         * math/s_csqrtl.c (__csqrtl): Likewise.
67191         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
67192         spurious underflow.
67193         * sysdeps/i386/fpu/libm-test-ulps: Update.
67194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67196 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
67198         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
67199         xopen-msg.sed.
67200         * catgets/xopen-msg.awk: New file.
67201         * catgets/xopen-msg.sed: Removed.
67203         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
67204         po2text.sed.
67205         * intl/po2test.awk: New file.
67206         * intl/po2test.sed: Removed.
67208 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
67210         [BZ #14328]
67211         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
67212         or multiply small sinh result by itself.
67213         * math/s_ctanf.c (__ctanf): Likewise.
67214         * math/s_ctanh.c (__ctanh): Likewise.
67215         * math/s_ctanhf.c (__ctanhf): Likewise.
67216         * math/s_ctanhl.c (__ctanhl): Likewise.
67217         * math/s_ctanl.c (__ctanl): Likewise.
67218         * math/libm-test.inc (ctan_test_tonearest): New function.
67219         (ctan_test_towardzero): Likewise.
67220         (ctan_test_downward): Likewise.
67221         (ctan_test_upward): Likewise.
67222         (ctanh_test_tonearest): Likewise.
67223         (ctanh_test_towardzero): Likewise.
67224         (ctanh_test_downward): Likewise.
67225         (ctanh_test_upward): Likewise.
67226         (main): Call these new functions.
67227         * sysdeps/i386/fpu/libm-test-ulps: Update.
67228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67230 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
67232         * .gitignore: Delete /ports entry.
67234 2012-07-03  Andreas Jaeger  <aj@suse.de>
67236         * po/bg.po: Update from translation team.
67237         * po/cs.po: Likewise.
67238         * po/de.po: Likewise.
67239         * po/hr.po: Likewise.
67240         * po/nl.pl: Likewise.
67241         * po/pl.po: Likewise.
67242         * po/vi.po: Likewise.
67244 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
67246         * Makeconfig [!+link] (+link-before-libc): New variable.
67247         [!+link] (+link-after-libc): Likewise.
67248         [!+link] (+link-tests): Likewise.
67249         [!+link] (+link): Define in terms of $(+link-before-libc) and
67250         $(+link-after-libc).
67251         [!+link-static] (+link-static-before-libc): New variable.
67252         [!+link-static] (+link-static-after-libc): Likewise.
67253         [!+link-static] (+link-static-tests): Likewise.
67254         [!+link-static] (+link-static): Define in terms of
67255         $(+link-static-before-libc) and $(+link-static-after-libc).
67256         [build-shared] (link-libc-before-gnulib): New variable.
67257         [build-shared] (link-libc-tests): Likewise.
67258         [build-shared] (link-libc): Define in terms of
67259         $(link-libc-before-gnulib).
67260         [!build-shared] (link-libc-tests): New variable.
67261         (link-libc-static-tests): New variable.
67262         [!gnulib] (gnulib-arch): New variable.
67263         [!gnulib] (gnulib-tests): Likewise.
67264         [!gnulib] (static-gnulib-arch): Likewise.
67265         [!gnulib] (static-gnulib-tests): Likewise.
67266         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
67267         Define with "=" instead of ":=".
67268         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
67269         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
67270         * Rules (binaries-all-notests): New variable.
67271         (binaries-all-tests): Likewise.
67272         (binaries-static-notests): Likewise.
67273         (binaries-static-tests): Likewise.
67274         (binaries-all): Define using $(binaries-all-notests) and
67275         $(binaries-all-tests).
67276         (binaries-static): Define using $(binaries-static-notests) and
67277         $(binaries-static-tests).
67278         (binaries-shared-tests): New variable.
67279         (binaries-shared-notests): Likewise.
67280         (binaries-shared): Remove variable.
67281         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
67282         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
67283         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
67284         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
67285         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
67286         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
67287         * elf/Makefile (sln-modules): New variable.
67288         (extra-objs): Add $(sln-modules:=.o).
67289         (ldconfig-modules): Add static-stubs.
67290         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
67291         * elf/static-stubs.c: New file.
67293         [BZ #14283]
67294         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
67295         by 7 not 8 to examine high bit of fractional part.  Use volatile
67296         variables when splitting into final array of floats if
67297         __FLT_EVAL_METHOD__ != 0.
67298         * math/libm-test.inc (cos_test): Add another test.
67299         (sin_test): Likewise.
67300         * sysdeps/i386/fpu/libm-test-ulps: Update.
67302         [BZ #14273]
67303         * math/libm-test.inc (cosh_test): Add more tests.
67305         * version.h (RELEASE): Set to "development".
67306         (VERSION): Set to "2.16.90".
67308 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
67310         * NEWS: Update copyright. Remove last-updated date.
67311         Mention math library bug fixes and timezone data changes.
67312         * README: Mention GNU/Hurd, x32, and HPPA support status.
67314 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
67316         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
67318 2012-06-27  Andreas Jaeger  <aj@suse.de>
67320         * manual/contrib.texi (Contributors): Add Samuel Thibault.
67322 2012-06-25  Andreas Jaeger  <aj@suse.de>
67324         * sysdeps/s390/fpu/libm-test-ulps: Update.
67326 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
67327             Thomas Schwinge  <thomas@codesourcery.com>
67329         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
67330         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
67331         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
67332         fanotify_mark.
67334 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
67336         * sysdeps/mach/start.c: Remove file.
67337         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
67338         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
67339         * sysdeps/sh/init-first.c: Likewise.
67341         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
67342         registers for frame unwinding purposes, add CFI directives.
67343         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
67344         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
67345         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
67346         Likewise.
67348         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
67349         __fortify_fail returning.
67350         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
67352         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
67353         sysdeps/sh/____longjmp_chk.S.
67354         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
67355         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
67356         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
67357         (gen-as-const-headers): Append sigaltstack-offsets.sym.
67359         * sysdeps/sh/abort-instr.h: New file.
67360         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
67361         process in case exit returns.
67363         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
67364         initialize the GOT register before use.
67366         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
67367         calculation of ARGC > 4.
67369         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
67370         meaningful names to some local labels.
67372 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67373             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67375         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
67376         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
67377         (__arch_compare_and_exchange_val_16_acq): Likewise.
67378         (__arch_compare_and_exchange_val_32_acq): Likewise.
67379         (atomic_exchange_and_add): Fix gUSA sequence.
67380         (atomic_add): Likewise.
67381         (atomic_add_negative): Likewise.
67382         (atomic_add_zero): Likewise.
67383         (atomic_bit_test_set): Likewise.
67385 2012-06-22  Andreas Schwab  <schwab@redhat.com>
67387         [BZ #13579]
67388         * include/link.h (struct link_map): Add l_free_initfini.
67389         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
67390         l_initfini.
67391         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
67392         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
67393         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
67394         set.
67396 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
67398         * configure.in: Use AC_LANG_SOURCE.
67399         * configure: Regenerate.
67401 2012-06-22  Roland McGrath  <roland@hack.frob.com>
67403         * configure.in (libc_cv_localstatedir): New substituted variable.
67404         * configure: Regenerated.
67405         * config.make.in (localstatedir): New variable, substituted from
67406         libc_cv_localstatedir.
67407         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
67408         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
67409         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
67410         * sysdeps/gnu/configure: Regenerated.
67412 2012-06-21  Jeff Law  <law@redhat.com>
67414         [BZ #14277]
67415         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
67416         free.  Simplify list management for _LIBC case.
67418 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
67420         [BZ #14273]
67421         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
67422         Clear sign bit of 64-bit integer value before comparing against
67423         overflow value.
67425         * sysdeps/mach/configure: Regenerated.
67427 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
67429         [BZ #14278]
67430         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
67432 2012-06-21  Jeff Law  <law@redhat.com>
67434         [BZ #13882]
67435         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
67436         uint16_t for elements in the "seen" array to avoid char overflows.
67437         * elf/dl-fini.c (_dl_sort_fini): Likewise.
67438         * elf/dl-open.c (dl_open_worker): Likewise.
67440 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
67442         * scripts/list-sources.sh: Scan PORTS for translations.
67443         * po/libc.pot: Regenerated.
67445 2012-06-21  Andreas Jaeger  <aj@suse.de>
67447         [BZ #12194]
67448         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
67449         warning.
67450         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
67451         * bits/byteswap-16.h (__bswap_16): Likewise.
67452         * bits/byteswap.h (__bswap_constant_16): Likewise.
67454 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
67456         [BZ #14117]
67457         * sysdeps/i386/fpu_control.h: Removed.
67458         * sysdeps/x86_64/fpu_control.h: Moved to ...
67459         * sysdeps/x86/fpu_control.h: Here.
67461         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
67462         (_FPU_SETCW): Likewise.
67464 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
67466         [BZ #14117]
67467         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
67468         * sysdeps/x86/fpu/bits/mathinline.h: This.
67469         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
67471         [BZ #14050]
67472         [BZ #14117]
67473         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
67474         functions if __x86_64__ is defined.
67476 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
67478         * string/endian.h: Add !__ASSEMBLER__ condition for including
67479         conversion interfaces.
67481 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
67483         [BZ #14241]
67484         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
67485         of ABS(x) in calculating zero to negative powers other than odd
67486         integers.
67487         * math/libm-test.inc (pow_test): Add more tests.
67489 2012-06-15  Andreas Jaeger  <aj@suse.de>
67491         * manual/contrib.texi (Contributors): Update entry of Liubov
67492         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
67493         Machado Filho.
67495 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
67497         * string/string.h: Add __wur to GNU version of strerror_r.
67499 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
67501         [BZ #14229]
67502         * string/Makefile (tests): Add tst-strtok_r.
67503         * string/tst-strtok_r.c: New file.
67504         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
67505         RAX_LP/RDX_LP on SAVE_PTR.
67507 2012-06-14  Roland McGrath  <roland@hack.frob.com>
67509         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
67511 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
67513         * libm_test.inc (csqrt_test): Allow more spurious underflow
67514         exceptions.
67515         (j0_test): Likewise.
67516         (j1_test): Likewise.
67517         (y0_test): Likewise.
67518         (y1_test): Likewise.
67520 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
67522         * po/Makefile (libc.pot): Use UTF-8 charset.
67524 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
67526         [BZ #14210]
67527         Suppress sign-conversion warning from FD_SET.
67528         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
67529         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
67530         not unsigned long int.
67531         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
67533 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
67535         [BZ #14050]
67536         [BZ #14117]
67537         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
67538         __extern_always_inline instead of __extern_inline.
67539         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
67540         (__signbit): Likewise.
67541         (__signbitl): Support C++ namespace.
67542         (lrintf): New inline function.
67543         (lrint): Likewise.
67544         (llrintf): Likewise.
67545         (llrint): Likewise.
67546         (fmaxf): Likewise.
67547         (fmax): Likewise.
67548         (fminf): Likewise.
67549         (fmin): Likewise.
67550         (rint): Likewise.
67551         (rintf): Likewise.
67552         (ceil): Likewise.
67553         (ceilf): Likewise.
67554         (floor): Likewise.
67555         (floorf): Likewise.
67556         (nearbyint): Likewise.
67557         (nearbyintf): Likewise.
67559 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
67561         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
67562         non-default versions.
67564 2012-06-11  Roland McGrath  <roland@hack.frob.com>
67566         [BZ #14218]
67567         * manual/argp.texi (Argp): Reword argp_parse description slightly.
67569 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
67571         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
67572         (FE_UPWARD, FE_DOWNWARD): Don't define.
67573         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
67574         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
67576         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
67577         reading it.
67578         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
67579         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
67581 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67583         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
67584         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
67585         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
67586         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
67588 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
67590         [BZ #14117]
67591         * sysdeps/i386/fpu/bits/fenv.h: Removed.
67592         * sysdeps/i386/fpu/Implies: New file.
67593         * sysdeps/x86_64/fpu/Implies: Likewise.
67594         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
67595         * sysdeps/x86/fpu/bits/fenv.h: This.
67597         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
67598         __SSE_MATH__.
67600 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
67602         [BZ #14134]
67603         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
67604         character 0xffff that matches the last element of the
67605         conversion table.
67607 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67609         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
67610         fmodl commit.
67612 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67614         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
67615         values higher than 25.6283.
67617 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67619         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
67620         subnormal exponent extraction and add some __builtin_expect.
67621         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
67622         Fix for subnormal mantissa calculation.
67624 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
67626         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
67627         cpu2 is -1 and errno is not ENOSYS.
67629 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
67631         [BZ #14117]
67632         * sysdeps/i386/i486/bits/string.h: Renamed to ...
67633         * sysdeps/x86/bits/string.h: This.
67634         * sysdeps/x86_64/bits/string.h: Removed.
67636         * sysdeps/i386/i486/bits/string.h: Define inline functions only
67637         if not compiling for x86-64, but compiling for >= i486.
67639         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
67640         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
67642         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
67643         New macro from Linux kernel 3.4.0.
67644         (FP_XSTATE_MAGIC2): Likewise.
67645         (FP_XSTATE_MAGIC2_SIZE): Likewise.
67646         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
67647         (struct _fpx_sw_bytes): New struct.
67648         (struct _xsave_hdr): Likewise.
67649         (struct _ymmh_state): Likewise.
67650         (struct _xstate): Likewise.
67652         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
67653         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
67654         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
67655         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
67656         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
67657         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
67659         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
67660         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
67661         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
67662         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
67663         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
67664         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
67666 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67668         [BZ #13743]
67669         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
67670         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
67671         (sysdep_headers): Include sys/platform/ppc.h.
67672         * sysdeps/powerpc/test-gettimebase.c: Test for
67673         __ppc_get_timebase() to catch future ISA opcode/insn changes.
67674         * manual/Makefile (appendices): Include platform.texi.
67675         * manual/contrib.texi (Contributors): Update @node pointers.
67676         * manual/maint.texi (Maintenance): Likewise.
67677         (Platform): New node.
67678         * manual/platform.texi: New file.  Document the new features.
67680 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
67681             Jakub Jelinek  <jakub@redhat.com>
67683         [BZ #14188]
67684         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
67685         where __builtin_expect is unavailable.
67687 2012-06-03  David S. Miller  <davem@davemloft.net>
67689         * stdlib/longlong.h: Updated from GCC.
67691 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
67693         [BZ #14042]
67694         * sysdeps/powerpc/powerpc32/mcount.c: New file.
67695         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
67696         __mcount_internal.
67697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
67698         (GLIBC_2.16): Likewise.
67700 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
67702         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
67704 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
67706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
67707         (default-abi): New variable.
67708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
67709         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
67710         variable.
67711         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
67712         Likewise.
67713         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
67714         Likewise.
67715         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
67716         Likewise.
67718         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
67719         definition.  Document in comment.
67721 2012-06-01  David S. Miller  <davem@davemloft.net>
67723         * stdlib/longlong.h: Updated from GCC.
67725 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
67727         [BZ #14117]
67728         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
67729         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
67730         sys/debugreg.h sys/io.h here.
67731         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
67732         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
67733         sys/io.h.
67734         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
67735         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
67736         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
67737         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
67738         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
67739         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
67741         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
67742         Define only if __x86_64__ is defined.
67744 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
67746         [BZ #14048]
67747         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
67748         Use int64_t for variable i.
67749         * math/libm-test.inc (fmod_test): Add more tests.
67751         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
67752         z computation is not scheduled after fetestexcept.
67753         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
67754         Use math_force_eval instead of asm to ensure calculation scheduled
67755         before exception test.
67756         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
67757         Ensure a1 + u.d computation is not scheduled after fetestexcept.
67759 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
67761         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
67762         computation is not scheduled after fetestexcept.
67764 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
67766         [BZ #14117]
67767         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
67768         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
67770 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67772         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
67773         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
67775 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
67777         [BZ #14117]
67778         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
67779         <bits/wordsize.h>.
67780         (__WCHAR_MIN): Support __WORDSIZE == 64.
67781         (__WCHAR_MAX): Likewise.
67783         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
67784         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
67786         [BZ #14183]
67787         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
67788         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
67790         [BZ #14117]
67791         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
67792         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
67794         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
67795         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
67797         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
67798         Defined to 1 if __x86_64__ isn't defined.
67799         (_STAT_VER_LINUX_OLD): New.
67800         (st_atime): Remove duplicate.
67801         (st_mtime): Likewise.
67802         (st_ctime): Likewise.
67804 2012-05-31  David S. Miller  <davem@davemloft.net>
67806         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
67807         entries.
67809 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
67811         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
67812         gen-libm-test.pl.
67814         [BZ #14132]
67815         * elf/dl-reloc.c: Include <_itoa.h>.
67816         (_dl_reloc_bad_type): Remove use of INTUSE.
67817         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
67818         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
67819         * stdio-common/psiginfo.c (psiginfo): Likewise.
67820         * stdio-common/psignal.c (psignal): Likewise.
67821         * string/strsignal.c (strsignal): Likewise.
67822         * include/signal.h (_sys_siglist): Declare hidden proto.
67823         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
67824         INTVARDEF with libc_hidden_data_def.
67825         * stdio-common/itoa-udigits.c: Likewise.
67826         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
67827         (_itoa_lower_digits_internal): Remove declaration.
67828         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
67829         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
67830         (_sys_sigabbrev_internal): Remove aliases.
67831         (_sys_siglist): Define hidden alias.
67833 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
67835         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67836         bits/sysctl.h.
67838 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
67840         [BZ #14117]
67841         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
67842         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
67844         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
67845         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
67846         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
67847         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
67848         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
67849         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
67851         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
67852         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
67853         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
67855         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
67856         with __addr.
67857         (insw): Likewise.
67858         (insl): Likewise.
67859         (outsb): Likewise.
67860         (outsw): Likewise.
67861         (outsl): Likewise.
67863         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
67864         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
67865         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
67867         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
67868         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
67869         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
67870         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
67871         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
67872         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
67874         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
67875         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
67877         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
67878         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
67880         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
67881         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
67882         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
67884         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
67885         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
67886         to ...
67887         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
67889         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
67890         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
67891         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
67893         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
67894         for x86-64.
67895         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
67897 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
67899         * math/math.h (M_El): Use two more decimal places.
67900         (M_LOG2El): Likewise.
67901         (M_LOG10El): Likewise.
67902         (M_LN2l): Likewise.
67903         (M_LN10l): Likewise.
67904         (M_PIl): Likewise.
67905         (M_PI_2l): Likewise.
67906         (M_PI_4l): Likewise.
67907         (M_1_PIl): Likewise.
67908         (M_2_PIl): Likewise.
67909         (M_2_SQRTPIl): Likewise.
67910         (M_SQRT2l): Likewise.
67911         (M_SQRT1_2l): Likewise.
67913 2012-05-31  David S. Miller  <davem@davemloft.net>
67915         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
67916         values between float registers.
67917         * sysdeps/sparc/sparc64/memset.S: Likewise.
67918         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
67920 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
67922         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
67923         -D_FORTIFY_SOURCE=1.
67924         (CPPFLAGS-tst-longjmp_chk.c): Define.
67925         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
67926         (CPPFLAGS-tst-longjmp_chk2.c): Define.
67927         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
67928         CFLAGS-tst-wchar-h.c.
67930 2012-05-31  Marek Polacek  <polacek@redhat.com>
67932         [BZ #14132]
67933         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
67934         __endmntent_internal): Remove declaration.
67935         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
67936         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
67937         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
67939 2012-05-30  David S. Miller  <davem@davemloft.net>
67941         * sysdeps/sparc/sparc32/soft-fp/q_util.c
67942         (___Q_simulate_exceptions): Use real FP ops rather than writing
67943         into the %fsr.
67944         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
67945         Likewise.
67947 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67949         [BZ #14117]
67950         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
67951         * sysdeps/x86/bits/xtitypes.h: This.
67953         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
67954         * sysdeps/x86/bits/wordsize.h: This.
67956         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
67957         * sysdeps/x86/bits/huge_vall.h: This.
67959         * sysdeps/i386/bits/select.h: Removed.
67960         * sysdeps/x86_64/bits/select.h: Renamed to ...
67961         * sysdeps/x86/bits/select.h: This.
67963         * sysdeps/i386/bits/setjmp.h: Removed.
67964         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
67965         * sysdeps/x86/bits/setjmp.h: This.
67967         * sysdeps/i386/bits/mathdef.h: Removed.
67968         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
67969         * sysdeps/x86/bits/mathdef.h: This.
67971 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
67973         [BZ #14132]
67974         * include/sys/socket.h (__connect_internal)
67975         (__libc_sa_len_internal): Remove declaration.
67976         (__connect, __libc_sa_len): Declare hidden_proto.
67977         (SA_LEN): Remove use of INTUSE.
67978         * socket/connect.c: Add libc_hidden_def.
67979         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
67980         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
67981         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
67982         alias.
67983         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
67984         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
67985         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
67986         of adding _internal alias.
67988 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67990         [BZ #14117]
67991         * sysdeps/i386/bits/link.h: Removed.
67992         * sysdeps/i386/bits/linkmap.h: Likewise.
67993         * sysdeps/x86_64/bits/link.h: Renamed to ...
67994         * sysdeps/x86/bits/link.h: This.
67995         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
67996         * sysdeps/x86/bits/linkmap.h: This.
67998         * sysdeps/i386/bits/endian.h: Removed.
67999         * sysdeps/x86_64/bits/endian.h: Renamed to ...
68000         * sysdeps/x86/bits/endian.h: This.
68002         * sysdeps/i386/bits/byteswap.h: Removed.
68003         * sysdeps/i386/bits/byteswap-16.h: Likewise.
68004         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
68005         * sysdeps/x86/bits/byteswap.h: This.
68006         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
68007         * sysdeps/x86/bits/byteswap-16.h: This.
68008         * sysdeps/i386/Implies: Add x86.
68009         * sysdeps/x86_64/Implies: Likewise.
68011 2012-05-30  David S. Miller  <davem@davemloft.net>
68013         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
68014         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
68015         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
68016         (FP_TRAPPING_EXCEPTIONS): Define.
68017         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
68018         (FP_TRAPPING_EXCEPTIONS): Define.
68019         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
68020         subnormals only when inexact has been signalled or underflow
68021         exceptions are enabled.
68022         (_FP_PACK_CANONICAL): Likewise.
68024 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
68026         [BZ #14183]
68027         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
68028         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
68030 2012-05-30  Richard Henderson  <rth@twiddle.net>
68032         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
68033         with #ifndef NOT_IN_libc.
68035         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
68036         marked to avoid plt entry.
68038 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
68040         [BZ #14112]
68041         * Makeconfig (default-abi): New macro.
68042         (abi-includes): Likewise.
68043         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
68044         $(abi-$(default-abi)-lib-soname) for soname if defined.
68045         ($(common-objpfx)gnu/lib-names.stmp): Generate from
68046         abi-variants.
68047         * Makefile (installed-stubs): Likewise.
68048         * include/stubs-biarch.h: Removed.
68049         * scripts/lib-names.awk: Only handle one library at a time.
68050         * scripts/soversions.awk: Remove WORDSIZE support.
68051         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
68052         entries.
68053         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
68054         Removed.
68055         (syscall-list-default-condition): Likewise.
68056         (syscall-list-default-condition): Likewise.
68057         (syscall-list-includes): Likewise.
68058         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
68059         syscall-list-* with abi-*.  Handle undefined abi-variants.
68060         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
68061         * sysdeps/unix/sysv/linux/i386/Implies: New file.
68062         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
68063         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
68064         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
68065         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
68066         Removed.
68067         (syscall-list-32-options): Likewise.
68068         (syscall-list-32-condition): Likewise.
68069         (syscall-list-64-options): Likewise.
68070         (syscall-list-64-condition): Likewise.
68071         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
68072         macro.
68073         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
68074         Renamed to ...
68075         (abi-*): This.
68076         (abi-64-ld-soname): New macro.
68077         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
68078         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
68079         Renamed to ...
68080         (abi-*): This.
68081         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
68082         * sysdeps/x86_64/x32/shlib-versions: Likewise.
68084 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
68086         * sysdeps/unix/sysv/linux/kernel-features.h
68087         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
68088         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
68089         include <kernel-features.h>.
68090         [!__NR_ftruncate64]: Remove conditional code.
68091         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
68092         [__NR_ftruncate64]: Make code unconditional.
68093         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
68094         * sysdeps/unix/sysv/linux/truncate64.c: Do not
68095         include <kernel-features.h>.
68096         [!__NR_ftruncate64]: Remove conditional code.
68097         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
68098         [__NR_ftruncate64]: Make code unconditional.
68099         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
68100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
68101         include <kernel-features.h>.
68102         [!__NR_ftruncate64]: Remove conditional code.
68103         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
68104         [__NR_ftruncate64]: Make code unconditional.
68105         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
68106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
68107         include <kernel-features.h>.
68108         [!__NR_ftruncate64]: Remove conditional code.
68109         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
68110         [__NR_ftruncate64]: Make code unconditional.
68111         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
68113         * configure.in (libc_cv_fpie): Weaken to a compile test using
68114         LIBC_TRY_CC_OPTION.
68115         * configure: Regenerated.
68117 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68119         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
68120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
68121         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
68122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
68123         Refreshed.
68124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
68125         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
68126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
68127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
68128         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
68129         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
68130         Refreshed.
68132 2012-05-27  David S. Miller  <davem@davemloft.net>
68134         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
68135         (___Q_zero): New.
68136         (__Q_simulate_exceptions): Return void.  Change to simulate
68137         exceptions by writing into the %fsr.
68138         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
68139         (__Qp_handle_exceptions): Likewise.
68140         (numbers): Delete.
68141         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
68142         __Qp_handle_exceptions.
68143         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
68144         __Qp_handle_exceptions.
68145         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
68146         as unused and give dummy FP_RND_NEAREST initializer.
68147         (FP_INHIBIT_RESULTS): Define.
68148         (___Q_simulate_exceptions): Update declaration.
68149         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
68150         formatting.
68151         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
68152         as unused and give dummy FP_RND_NEAREST initializer.
68153         (__Qp_handle_exceptions): Update declaration.
68154         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
68155         formatting.
68157 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
68159         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
68160         the temporary FPU control word.
68161         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
68162         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
68163         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
68164         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
68165         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
68166         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
68167         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
68168         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
68169         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
68170         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
68171         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
68173 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
68175         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
68176         fields.
68178 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
68180         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
68181         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
68182         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
68183         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
68184         Likewise.
68185         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
68186         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
68187         Likewise.
68189 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
68191         * po/h.po: Update from translation team.
68193 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
68195         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
68197         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
68198         handling of denormals.
68199         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
68200         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
68201         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
68202         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
68203         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
68204         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
68205         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
68206         Likewise.
68208 2012-05-26  Marek Polacek  <polacek@redhat.com>
68210         [BZ #14152]
68211         * math/libm-test.inc (fma_test): Don't always expect underflow
68212         exception.
68214 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68216         [BZ #12416]
68217         * elf/tst-execstack.c: Include stackinfo.h.
68218         (do_test): Adjust test case to ensure that pthread_getattr_np
68219         behaviour remains the same after marking stack executable.
68221 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
68223         * sysdeps/unix/sysv/linux/kernel-features.h
68224         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
68225         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
68226         kernel-features.h.
68227         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
68228         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
68229         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
68230         kernel-features.h.
68231         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
68232         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
68234 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
68236         * configure.in: Define the default includes to being none.
68237         * configure: Regenerated.
68239 2012-05-25  Roland McGrath  <roland@hack.frob.com>
68241         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
68242         * sysdeps/x86_64/setjmp.S: Likewise.
68243         * sysdeps/i386/bsd-setjmp.S: Likewise.
68244         * sysdeps/i386/bsd-_setjmp.S: Likewise.
68245         * sysdeps/i386/setjmp.S: Likewise.
68246         * sysdeps/i386/__longjmp.S: Likewise.
68247         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
68248         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
68250         * include/stap-probe.h: New file.
68251         * configure.in: Handle --enable-systemtap.
68252         * configure: Regenerated.
68253         * config.h.in (USE_STAP_PROBE): New #undef.
68254         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
68255         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
68256         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
68258 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
68260         [BZ #13717]
68261         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
68262         to 2.4.0 where earlier.
68263         * sysdeps/unix/sysv/linux/configure: Regenerated.
68264         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
68265         <kernel-features.h>.
68266         [__ASSUME_32BITUIDS]: Make code unconditional.
68267         [!__ASSUME_32BITUIDS]: Remove conditional code.
68268         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
68269         <kernel-features.h>.
68270         [__ASSUME_32BITUIDS]: Make code unconditional.
68271         [!__ASSUME_32BITUIDS]: Remove conditional code.
68272         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
68273         [__ASSUME_32BITUIDS]: Make code unconditional.
68274         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
68275         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
68276         <kernel-features.h>.
68277         [__ASSUME_32BITUIDS]: Make code unconditional.
68278         [!__ASSUME_32BITUIDS]: Remove conditional code.
68279         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
68280         <kernel-features.h>.
68281         [__ASSUME_32BITUIDS]: Make code unconditional.
68282         [!__ASSUME_32BITUIDS]: Remove conditional code.
68283         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
68284         <kernel-features.h>.
68285         [__ASSUME_32BITUIDS]: Make code unconditional.
68286         [!__ASSUME_32BITUIDS]: Remove conditional code.
68287         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
68288         <kernel-features.h>.
68289         [__ASSUME_32BITUIDS]: Make code unconditional.
68290         [!__ASSUME_32BITUIDS]: Remove conditional code.
68291         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
68292         <kernel-features.h>.
68293         [__ASSUME_32BITUIDS]: Make code unconditional.
68294         [!__ASSUME_32BITUIDS]: Remove conditional code.
68295         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
68296         <kernel-features.h>.
68297         [__ASSUME_32BITUIDS]: Make code unconditional.
68298         [!__ASSUME_32BITUIDS]: Remove conditional code.
68299         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
68300         <kernel-features.h>.
68301         [__ASSUME_32BITUIDS]: Make code unconditional.
68302         [!__ASSUME_32BITUIDS]: Remove conditional code.
68303         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
68304         <kernel-features.h>.
68305         [__ASSUME_32BITUIDS]: Make code unconditional.
68306         [!__ASSUME_32BITUIDS]: Remove conditional code.
68307         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
68308         <kernel-features.h>.
68309         [__ASSUME_32BITUIDS]: Make code unconditional.
68310         [!__ASSUME_32BITUIDS]: Remove conditional code.
68311         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
68312         <kernel-features.h>.
68313         [__ASSUME_32BITUIDS]: Make code unconditional.
68314         [!__ASSUME_32BITUIDS]: Remove conditional code.
68315         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
68316         <kernel-features.h>.
68317         [__NR_setresgid] (__setresgid): Do not declare.
68318         [__ASSUME_32BITUIDS]: Make code unconditional.
68319         [!__ASSUME_32BITUIDS]: Remove conditional code.
68320         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
68321         <kernel-features.h>.
68322         [__NR_setresuid] (__setresuid): Do not declare.
68323         [__ASSUME_32BITUIDS]: Make code unconditional.
68324         [!__ASSUME_32BITUIDS]: Remove conditional code.
68325         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
68326         <kernel-features.h>.
68327         [__ASSUME_32BITUIDS]: Make code unconditional.
68328         [!__ASSUME_32BITUIDS]: Remove conditional code.
68329         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
68330         <kernel-features.h>.
68331         [__ASSUME_32BITUIDS]: Make code unconditional.
68332         [!__ASSUME_32BITUIDS]: Remove conditional code.
68333         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
68334         <kernel-features.h>.
68335         [__ASSUME_32BITUIDS]: Make code unconditional.
68336         [!__ASSUME_32BITUIDS]: Remove conditional code.
68337         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
68338         <kernel-features.h>.
68339         [__ASSUME_32BITUIDS]: Make code unconditional.
68340         [!__ASSUME_32BITUIDS]: Remove conditional code.
68341         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
68342         <kernel-features.h>.
68343         [__ASSUME_32BITUIDS]: Make code unconditional.
68344         [!__ASSUME_32BITUIDS]: Remove conditional code.
68345         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
68346         <kernel-features.h>.
68347         [__ASSUME_32BITUIDS]: Make code unconditional.
68348         [!__ASSUME_32BITUIDS]: Remove conditional code.
68349         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
68350         <kernel-features.h>.
68351         [__ASSUME_32BITUIDS]: Make code unconditional.
68352         [!__ASSUME_32BITUIDS]: Remove conditional code.
68353         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
68354         <kernel-features.h>.
68355         [__ASSUME_32BITUIDS]: Make code unconditional.
68356         [!__ASSUME_32BITUIDS]: Remove conditional code.
68357         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
68358         <kernel-features.h>.
68359         [__ASSUME_32BITUIDS]: Make code unconditional.
68360         [!__ASSUME_32BITUIDS]: Remove conditional code.
68361         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
68362         <kernel-features.h>.
68363         [__ASSUME_32BITUIDS]: Make code unconditional.
68364         [!__ASSUME_32BITUIDS]: Remove conditional code.
68365         * sysdeps/unix/sysv/linux/kernel-features.h
68366         (__ASSUME_SETRESUID_SYSCALL): Remove.
68367         (__ASSUME_SETRESGID_SYSCALL): Likewise.
68368         (__ASSUME_32BITUIDS): Likewise.
68369         (__ASSUME_LDT_WORKS): Likewise.
68370         (__ASSUME_O_DIRECTORY): Likewise.
68371         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
68372         architecture but not kernel version.
68373         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
68374         (__ASSUME_MMAP2_SYSCALL): Likewise.
68375         (__ASSUME_STAT64_SYSCALL): Likewise.
68376         (__ASSUME_IPC64): Likewise.
68377         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
68378         <kernel-features.h>.
68379         [__ASSUME_32BITUIDS]: Make code unconditional.
68380         [!__ASSUME_32BITUIDS]: Remove conditional code.
68381         * sysdeps/unix/sysv/linux/opendir.c: Do not include
68382         <kernel-features.h>.
68383         [__ASSUME_O_DIRECTORY]: Make code unconditional.
68384         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
68385         132096]: Remove conditional code.
68386         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
68387         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
68388         <kernel-features.h>.
68389         [__ASSUME_32BITUIDS]: Make code unconditional.
68390         [!__ASSUME_32BITUIDS]: Remove conditional code.
68391         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
68392         <kernel-features.h>.
68393         [__ASSUME_32BITUIDS]: Make code unconditional.
68394         [!__ASSUME_32BITUIDS]: Remove conditional code.
68395         * sysdeps/unix/sysv/linux/setegid.c: Do not include
68396         <kernel-features.h>.
68397         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
68398         unconditional.
68399         (__setresgid): Do not declare.
68400         [__ASSUME_32BITUIDS]: Make code unconditional.
68401         [!__ASSUME_32BITUIDS]: Remove conditional code.
68402         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
68403         <kernel-features.h>.
68404         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
68405         unconditional.
68406         (__setresuid): Do not declare.
68407         [__ASSUME_32BITUIDS]: Make code unconditional.
68408         [!__ASSUME_32BITUIDS]: Remove conditional code.
68409         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
68410         <kernel-features.h>.
68411         [__ASSUME_32BITUIDS]: Make code unconditional.
68412         [!__ASSUME_32BITUIDS]: Remove conditional code.
68413         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
68414         <kernel-features.h>.
68415         [__ASSUME_32BITUIDS]: Make code unconditional.
68416         [!__ASSUME_32BITUIDS]: Remove conditional code.
68418 2012-05-25  Richard Henderson  <rth@twiddle.net>
68420         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
68421         dl_hwcap to ifunc resolver.
68422         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
68423         elf_ifunc_invoke.
68424         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
68425         dl_hwcap to ifunc resolver.
68426         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
68428 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
68430         [BZ #14153]
68431         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
68432         for |x| <= 2**-26, not 2**-57.
68433         * math/libm-test.inc (acos_test): Do not allow spurious underflow
68434         exception.
68436 2012-05-24  Jeff Law  <law@redhat.com>
68438         * stdio-common/Makefile (tests): Add bug25.
68439         * stdio-common/bug25.c: New test.
68441 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
68443         [BZ #13576]
68444         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
68445         multiple of MALLOC_ALIGNMENT in size.
68446         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
68448 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
68450         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
68451         Require >= 256.
68452         (FILENAME_MAX): Use macro-int-constant.
68453         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
68454         (_IOFBF): Use macro-int-constant.
68455         (_IOLBF): Likewise.
68456         (_IONBF): Likewise.
68457         (SEEK_CUR): Likewise.
68458         (SEEK_END): Likewise.
68459         (SEEK_SET): Likewise.
68460         (TMP_MAX): Likewise.
68461         (EOF): Use macro-int-constant.  Require < 0.
68462         (NULL): Use macro-constant.  Require == 0.
68463         (stdin): Require type to be FILE *.
68464         (stdout): Likewise.
68465         (stderr): Likewise.
68466         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
68467         macro-int-constant.
68468         (EXIT_SUCCESS): Likewise.
68469         (NULL): Use macro-constant.  Require == 0.
68470         (RAND_MAX): Use macro-int-constant.
68471         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
68472         [C99-based standards] (strtof): Require function.
68473         [C99-based standards] (strtold): Likewise.
68474         [C99-based standards] (strtoll): Likewise.
68475         [C99-based standards] (strtoull): Likewise.
68476         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
68477         [ISO || ISO99 || ISO11] (limits.h): Likewise.
68478         [ISO || ISO99 || ISO11] (math.h): Likewise.
68479         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
68480         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
68481         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68483 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
68485         [BZ #14132]
68486         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
68487         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
68488         * intl/dgettext.c (DCGETTEXT): Likewise.
68489         * intl/gettext.c (DCGETTEXT): Likewise.
68490         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
68491         * posix/regex_internal.h (gettext): Likewise.
68492         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
68493         Remove declaration.
68494         * include/argz.h (__argz_count_internal)
68495         (__argz_stringify_internal): Remove declaration.
68496         (__argz_count, __argz_stringify): Declare hidden proto.
68497         * intl/dcgettext.c: Remove use of INTDEF.
68498         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
68499         * string/argz-stringify.c: Likewise.
68500         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
68501         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
68502         Declare hidden proto.
68503         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
68504         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
68505         Declare hidden proto.
68506         * include/stdio.h (__asprintf_internal): Don't declare.
68507         (__asprintf): Don't define as macro.  Declare hidden proto.
68508         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
68509         (__fsetlocking): Declare hidden proto.
68510         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
68511         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
68512         hidden proto.
68513         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
68514         (_IO_setlinebuf): Remove use of INTUSE.
68515         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
68516         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
68517         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
68518         Remove declaration.
68519         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
68520         (_IO_do_flush): Remove use of INTUSE.
68521         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
68522         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
68523         (_IO_adjust_column, _IO_least_wmarker)
68524         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
68525         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
68526         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
68527         (_IO_default_doallocate, _IO_wdefault_doallocate)
68528         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
68529         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
68530         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
68531         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
68532         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
68533         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
68534         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
68535         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
68536         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
68537         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
68538         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
68539         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
68540         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
68541         proto.
68542         (_IO_flush_all_internal, _IO_adjust_column_internal)
68543         (_IO_default_uflow_internal, _IO_default_finish_internal)
68544         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
68545         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
68546         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
68547         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
68548         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
68549         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
68550         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
68551         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
68552         (_IO_file_close_internal, _IO_file_close_it_internal)
68553         (_IO_file_underflow_internal, _IO_file_overflow_internal)
68554         (_IO_file_init_internal, _IO_file_attach_internal)
68555         (_IO_file_fopen_internal, _IO_file_read_internal)
68556         (_IO_file_sync_internal, _IO_file_seek_internal)
68557         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
68558         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
68559         (_IO_str_underflow_internal, _IO_str_overflow_internal)
68560         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
68561         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
68562         (_IO_list_all_internal, _IO_link_in_internal)
68563         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
68564         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
68565         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
68566         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
68567         (_IO_do_write_internal, _IO_padn_internal)
68568         (_IO_getline_info_internal, _IO_getline_internal)
68569         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
68570         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
68571         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
68572         (_IO_vfscanf_internal, _IO_vfprintf_internal)
68573         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
68574         (_IO_init_internal, _IO_un_link_internal): Don't declare.
68575         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
68576         with libc_hidden_ver, remove use of INTUSE.
68577         * libio/genops.c: Likewise.
68578         * libio/freopen.c: Likewise.
68579         * libio/freopen64.c: Likewise.
68580         * libio/iofclose.c: Likewise.
68581         * libio/iofdopen.c: Likewise.
68582         * libio/iofflush.c: Likewise.
68583         * libio/iofflush_u.c: Likewise.
68584         * libio/iofgets.c: Likewise.
68585         * libio/iofgets_u.c: Likewise.
68586         * libio/iofopen.c: Likewise.
68587         * libio/iofopncook.c: Likewise.
68588         * libio/iofread.c: Likewise.
68589         * libio/iofread_u.c: Likewise.
68590         * libio/ioftell.c: Likewise.
68591         * libio/iofwrite.c: Likewise.
68592         * libio/iogetline.c: Likewise.
68593         * libio/iogets.c: Likewise.
68594         * libio/iogetwline.c: Likewise.
68595         * libio/iopadn.c: Likewise.
68596         * libio/iopopen.c: Likewise.
68597         * libio/ioseekoff.c: Likewise.
68598         * libio/ioseekpos.c: Likewise.
68599         * libio/iosetbuffer.c: Likewise.
68600         * libio/iosetvbuf.c: Likewise.
68601         * libio/ioungetc.c: Likewise.
68602         * libio/ioungetwc.c: Likewise.
68603         * libio/iovdprintf.c: Likewise.
68604         * libio/iovsprintf.c: Likewise.
68605         * libio/iovsscanf.c: Likewise.
68606         * libio/memstream.c: Likewise.
68607         * libio/obprintf.c: Likewise.
68608         * libio/oldfileops.c: Likewise.
68609         * libio/oldiofclose.c: Likewise.
68610         * libio/oldiofdopen.c: Likewise.
68611         * libio/oldiofopen.c: Likewise.
68612         * libio/oldiopopen.c: Likewise.
68613         * libio/oldstdfiles.c: Likewise.
68614         * libio/putc.c: Likewise.
68615         * libio/setbuf.c: Likewise.
68616         * libio/setlinebuf.c: Likewise.
68617         * libio/stdfiles.c: Likewise.
68618         * libio/strops.c: Likewise.
68619         * libio/vasprintf.c: Likewise.
68620         * libio/vscanf.c: Likewise.
68621         * libio/vsnprintf.c: Likewise.
68622         * libio/vswprintf.c: Likewise.
68623         * libio/wfiledoalloc.c: Likewise.
68624         * libio/wfileops.c: Likewise.
68625         * libio/wgenops.c: Likewise.
68626         * libio/wmemstream.c: Likewise.
68627         * libio/wstrops.c: Likewise.
68628         * libio/__fpurge.c: Likewise.
68629         * libio/__fsetlocking.c: Likewise.
68630         * assert/assert.c: Likewise.
68631         * debug/fgets_chk.c: Likewise.
68632         * debug/fgets_u_chk.c: Likewise.
68633         * debug/fread_chk.c: Likewise.
68634         * debug/fread_u_chk.c: Likewise.
68635         * debug/gets_chk.c: Likewise.
68636         * debug/obprintf_chk.c: Likewise.
68637         * debug/vasprintf_chk.c: Likewise.
68638         * debug/vdprintf_chk.c: Likewise.
68639         * debug/vsnprintf_chk.c: Likewise.
68640         * debug/vsprintf_chk.c: Likewise.
68641         * malloc/mtrace.c: Likewise.
68642         * misc/error.c: Likewise.
68643         * misc/syslog.c: Likewise.
68644         * stdio-common/asprintf.c: Likewise.
68645         * stdio-common/fxprintf.c: Likewise.
68646         * stdio-common/getw.c: Likewise.
68647         * stdio-common/isoc99_fscanf.c: Likewise.
68648         * stdio-common/isoc99_scanf.c: Likewise.
68649         * stdio-common/isoc99_vfscanf.c: Likewise.
68650         * stdio-common/isoc99_vscanf.c: Likewise.
68651         * stdio-common/isoc99_vsscanf.c: Likewise.
68652         * stdio-common/printf-prs.c: Likewise.
68653         * stdio-common/printf_fp.c: Likewise.
68654         * stdio-common/printf_fphex.c: Likewise.
68655         * stdio-common/printf_size.c: Likewise.
68656         * stdio-common/putw.c: Likewise.
68657         * stdio-common/scanf.c: Likewise.
68658         * stdio-common/sprintf.c: Likewise.
68659         * stdio-common/tmpfile.c: Likewise.
68660         * stdio-common/vfprintf.c: Likewise.
68661         * stdio-common/vfscanf.c: Likewise.
68662         * stdlib/strfmon_l.c: Likewise.
68663         * sunrpc/openchild.c: Likewise.
68664         * sunrpc/xdr_stdio.c: Likewise.
68665         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
68666         * sysdeps/mach/hurd/tmpfile.c: Likewise.
68668 2012-05-24  Roland McGrath  <roland@hack.frob.com>
68670         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
68672         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
68673         in the third column, to generate for the shared library an IFUNC
68674         that uses _dl_vdso_vsym.
68675         * Makerules (COMPILE.c, compile-stdin.c): New variables.
68676         * Makeconfig (object-suffixes-noshared): New variable.
68678         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
68679         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
68680         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
68681         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
68683         [BZ #14132]
68684         * include/sys/time.h (__gettimeofday): Remove macro.
68685         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
68686         * time/gettimeofday.c (__gettimeofday): Remove #undef.
68687         Remove INTDEF.
68688         (__gettimeofday): Add libc_hidden_def.
68689         (gettimeofday): Add libc_hidden_weak.
68690         * sysdeps/mach/gettimeofday.c: Likewise.
68691         * sysdeps/posix/gettimeofday.c: Likewise.
68692         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
68693         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
68694         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
68695         (__gettimeofday_internal): Remove strong_alias.
68696         (__gettimeofday): Add libc_hidden_def.
68697         (gettimeofday): Add libc_hidden_weak.
68698         * sysdeps/unix/syscalls.list (gettimeofday):
68699         Remove __gettimeofday_internal alias.
68701 2012-05-24  Daniel Jacobowitz  <drow@false.org>
68702             H.J. Lu  <hongjiu.lu@intel.com>
68704         [BZ #12495]
68705         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
68706         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
68707         (largebin_index_32_big): New.
68708         (largebin_index): Use it for 16-byte alignment.
68709         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
68710         correction with front_misalign.
68712 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
68714         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
68715         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
68716         Likewise.
68717         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
68718         Likewise.
68719         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
68720         Likewise.
68721         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
68722         Likewise.
68723         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
68724         Likewise.
68725         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
68726         Likewise.
68727         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
68728         Likewise.
68729         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
68730         Likewise.
68731         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
68732         Likewise.
68733         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
68734         Likewise.
68735         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
68736         Likewise.
68737         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
68738         Likewise.
68740         * scripts/data/c++-types-x32-linux-gnu.data: New file.
68741         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
68743 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
68745         [BZ #10846]
68746         [BZ #14036]
68747         * math/libm-test.inc (exp_test): Add test from bug 14036.
68748         (pow_test): Add test from bug 10846.
68750         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
68751         and other flags.
68752         (special_function): Do not include flags in test name.
68753         (parse_args): Likewise.
68754         * sysdeps/i386/fpu/libm-test-ulps: Update.
68755         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68756         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
68757         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
68758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68760         * math/gen-libm-test.pl (%beautify): Add entries for underflow
68761         exceptions.
68762         * math/libm-test.inc ("Philosophy"): Update comment about
68763         exception testing.
68764         (UNDERFLOW_EXCEPTION): New macro.
68765         (UNDERFLOW_EXCEPTION_OK): Likewise.
68766         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
68767         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
68768         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
68769         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
68770         (INVALID_EXCEPTION_OK): Update value.
68771         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
68772         (OVERFLOW_EXCEPTION_OK): Likewise.
68773         (IGNORE_ZERO_INF_SIGN): Likewise.
68774         (test_exceptions): Handle underflow exceptions.
68775         (acos_test): Update for underflow exception expectations.
68776         (cexp_test): Likewise.
68777         (clog_test): Likewise.
68778         (clog10_test): Likewise.
68779         (csqrt_test): Likewise.
68780         (ctan_test): Likewise.
68781         (ctanh_test): Likewise.
68782         (exp_test): Likewise.
68783         (exp10_test): Likewise.
68784         (exp2_test): Likewise.
68785         (expm1_test): Likewise.
68786         (fma_test): Likewise.
68787         (j0_test): Likewise.
68788         (jn_test): Likewise.
68789         (nexttoward_test): Likewise.
68790         (pow_test): Likewise.
68791         (scalbn_test): Likewise.
68792         (scalbln_test): Likewise.
68793         (tan_test): Likewise.
68794         (y1_test): Likewise.
68795         * sysdeps/i386/fpu/libm-test-ulps: Update.
68796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68798 2012-05-23  David S. Miller  <davem@davemloft.net>
68800         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
68801         (__libc_sigaction): Remove unused local variables.
68803 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68805         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
68807 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
68809         mktime: avoid signed integer overflow
68810         * time/mktime.c (__mktime_internal): Do not mishandle the case
68811         where diff == INT_MIN.
68813         mktime: simplify computation of average
68814         * time/mktime.c (ranged_convert): Use new time_t_avg function
68815         instead of rolling our own (probably-slower) code.
68817         mktime: do not assume signed right shift propagates sign bit
68818         * time/mktime.c (isdst_differ): New static function.
68819         (__mktime_internal): No need to normalize tm_isdst now.
68820         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
68821         tm_isdst values.
68823         mktime: merge another wrapv change from gnulib
68824         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
68825         from some compilers.
68827         mktime: remove incorrect attempt at unusual arithmetics
68828         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
68829         The code didn't really work on such machines anyway.
68830         (TYPE_MINIMUM): Assume two's complement.
68831         (twos_complement_arithmetic): Verify that long_int and time_t
68832         are two's complement (or unsigned, in the latter case).
68834         mktime: check signed shifts on long_int and time_t, too
68835         * time/mktime.c (SHR): Check that shifts work as desired
68836         on the types long_int and time_t too, as SHR is used on
68837         such types.
68839         mktime: do not assume 'long' is wide enough
68840         * time/mktime.c (verify): Move decl up.
68841         (long_int): New type.
68842         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
68843         to remove assumption in the code that 'long' is wide enough to
68844         store year values.  This assumption is not true on x32 and on
68845         some non-glibc platforms.
68847         mktime: merge wrapv change from gnulib
68848         * time/mktime.c (WRAPV): New macro.
68849         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
68850         (guess_time_tm, __mktime_internal): Do not assume that signed
68851         integer overflow wraps around; modern compilers generate code
68852         where this assumption is no longer valid.
68854 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68856         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
68857         Replace "jmp L(pseudo_end)" with "ret".
68858         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
68859         Likewise.
68861 2012-05-23  Andreas Jaeger  <aj@suse.de>
68863         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
68864         * sysdeps/unix/sysv/linux/poll.c: Remove file.
68866 2012-05-23  Andreas Jaeger  <aj@suse.de>
68867             Maximilian Attems  <max@stro.at>
68869         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
68870         New macros.
68872 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68874         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
68875         code so that pseudo_end is just ret and the stack pointer is
68876         correct also for static library in error case.
68878 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
68880         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
68881         move to syscalls.list.
68882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
68883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
68884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
68885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
68887         * manual/install.texi (Running make install): Do not mention Linux
68888         kernel version for which pt_chown is not needed.
68889         (Linux): Do not mention problems with nscd with 2.0 kernels.
68890         * INSTALL: Regenerated.
68892 2012-05-23  Andreas Jaeger  <aj@suse.de>
68894         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
68895         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
68896         macro.
68897         * sysdeps/unix/sysv/linux/s390/bits/mman.h
68898         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68899         * sysdeps/unix/sysv/linux/sh/bits/mman.h
68900         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68901         * sysdeps/unix/sysv/linux/i386/bits/mman.h
68902         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68903         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
68904         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68905         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
68906         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68907         * sysdeps/unix/sysv/linux/bits/in.h
68908         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
68910 2012-05-22  Roland McGrath  <roland@hack.frob.com>
68912         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
68913         (PREPARE_VERSION): Just use assert instead, it will be elided
68914         under [NDEBUG] anyway.
68916 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68918         * sysdeps/unix/sysv/linux/Makefile: Include
68919         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
68920         (sysdep_routines): Remove sysctl.
68921         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
68922         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
68923         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
68924         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
68925         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
68927 2012-05-22  Andreas Jaeger  <aj@suse.de>
68929         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
68930         that pseudo_end is just ret and the stack pointer is correct also
68931         for static library in error case.
68933 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
68935         [BZ #14122]
68936         * nss/nsswitch.c (defconfig_entries): New variable.
68937         (__nss_database_lookup): Don't leak defconfig entries.
68938         (nss_parse_service_list): Don't leak on error paths.
68939         (free_database_entries): New function.
68940         (free_defconfig): New function.
68941         (free_mem): Move common code to free_database_entries.
68943 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68945         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
68946         Add arch_prctl.
68947         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
68949         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
68950         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
68951         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
68952         New macro.
68953         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
68954         (INTERNAL_SYSCALL_TYPES): Likewise.
68955         (LOAD_ARGS_TYPES_[1-6]): Likewise.
68956         (LOAD_REGS_TYPES_[1-6]): Likewise.
68957         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
68958         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
68960 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68962         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
68963         copysignl for GLIBC_2_0.
68964         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
68965         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
68966         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
68967         logbl for GLIBC_2_0.
68968         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
68969         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
68971 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68973         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
68974         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68976         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
68977         Use "neg %eax".
68979         * time/mktime.c: Update copyright years.
68981 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
68983         mktime: merge comment-quoting-style change from gnulib
68984         * time/mktime.c: Quote 'like this' in comments.
68985         The GNU coding standards suggest that we no longer quote `like this',
68986         as "`" and "'" are typically rendered asymmetrically nowadays.
68987         The typical gnulib style is to quote 'like this' when quoting
68988         code, and "like this" when quoting English.
68990         * time/mktime.c (compile-command): Add "-I.".
68992         mktime: merge mktime-internal.h change from gnulib
68993         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
68995         mktime: merge time_r change from gnulib
68996         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
68998         mktime: merge DEBUG change from gnulib
68999         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
69000         case system <time.h> has a #define.
69002         mktime: merge <sys/types.h> change from gnulib
69003         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
69004         since <time.t> is now guaranteed to define time_t.
69006         mktime: merge HAVE_CONFIG_H change from gnulib
69007         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
69009 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
69011         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
69012         Use "neg %eax".
69014         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
69015         __rlim_t cast.
69016         (struct rusage): Use anonymous union to pad each field to
69017         __syscall_slong_t.
69019 2012-05-21  David S. Miller  <davem@davemloft.net>
69021         * Makefules (o-iterator): Remove .s cases.
69022         (compile-command.s): Delete.
69023         (COMPILE.s): Delete.
69024         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
69026 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
69028         * configure.in (libc_cv_predef_stack_protector): Only consider
69029         "foobar" and "__stack_chk_fail" lines in libc_undefs.
69030         * configure: Regenerated.
69032 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
69034         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
69035         New macro.  Use R*LP on int and pointer.
69036         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
69037         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
69038         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
69039         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
69041         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
69042         [__WORDSIZE_TIME64_COMPAT32] instead of
69043         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
69044         (struct utmp): Likewise.
69045         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
69046         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
69047         Renamed to ...
69048         (__WORDSIZE_TIME64_COMPAT32): This.
69049         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
69050         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
69051         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
69052         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
69053         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
69054         (__WORDSIZE_TIME64_COMPAT32): New macro.
69056 2012-05-21  Andreas Jaeger  <aj@suse.de>
69058         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
69059         only if [SHARED]. Add prototype for __wcschr_ia32.
69061 2012-05-21  Roland McGrath  <roland@hack.frob.com>
69063         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
69064         of %rbp unmolested in the jmp_buf while mangling the low bits.
69065         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
69066         unmolested high bits of %rbp while demangling the low bits.
69067         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
69069 2012-05-21  Andreas Jaeger  <aj@suse.de>
69071         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
69072         * sunrpc/svc_simple.c: Use it for registerrpc.
69073         * sunrpc/xcrypt.c: Use it for passwd2des.
69075         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
69077 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
69079         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
69080         Don't define if [__SYSCALL_WORDSIZE != 32].
69081         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
69082         New macro.
69084 2012-05-21  Bruno Haible  <bruno@clisp.org>
69085             Andreas Jaeger  <aj@suse.de>
69087         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
69088         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
69089         inptr and inend for must_buffer_ch.
69090         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
69091         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
69092         * stdio-common/Makefile (tests): Remove bug15.
69093         (bug15-ENV): Remove macro.
69094         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
69095         anymore.
69097 2012-05-19  Andreas Jaeger  <aj@suse.de>
69098             Roland McGrath  <roland@hack.frob.com>
69100         * manual/contrib.texi: Completely rewritten. It contains now an
69101         alphabetical list of contributors and their contributions.
69103 2012-05-21  Richard Henderson  <rth@twiddle.net>
69105         * misc/getauxval.c (__getauxval): Use unsigned long int.
69106         * misc/sys/auxv.h: Include <sys/cdefs.h>.
69107         (getauxval): Use unsigned long int.
69109 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
69111         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
69113 2012-05-21  Roland McGrath  <roland@hack.frob.com>
69115         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
69116         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
69117         __alignof__ (long double).
69119 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69121         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69123 2012-05-20  Richard Henderson  <rth@twiddle.net>
69125         * misc/getauxval.c: New file.
69126         * misc/sys/auxv.h: New file.
69127         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
69128         (routines): Add getauxval.
69129         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
69130         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
69131         * elf/dl-sysdep.c (_dl_auxv): Remove.
69132         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
69133         * elf/dl-support.c (_dl_auxv): New variable.
69134         (_dl_aux_init): Initialize it.
69135         * manual/startup.texi (Auxiliary Vector): New node.
69136         * sysdeps/generic/bits/hwcap.h: New file.
69137         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
69138         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
69139         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
69140         * sysdeps/sparc/sysdep.h: ... here.  Include it.
69141         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
69142         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
69143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69144         Update.
69145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
69146         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
69147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
69148         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
69149         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
69150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
69151         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
69152         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
69154 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69156         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69158 2012-05-19  David S. Miller  <davem@davemloft.net>
69160         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69162 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
69164         [BZ #14123]
69165         * math/s_ccosh.c: Include <float.h>
69166         (__ccosh): Avoid internal overflow calculating sinh and cosh
69167         values before multiplying by sin and cos values.
69168         * math/s_ccoshf.c: Likewise.
69169         * math/s_ccoshl.c: Likewise.
69170         * math/s_csin.c: Likewise.
69171         * math/s_csinf.c: Likewise.
69172         * math/s_csinl.c: Likewise.
69173         * math/s_csinh.c: Likewise.
69174         * math/s_csinhf.c: Likewise.
69175         * math/s_csinhl.c: Likewise.
69176         * math/libm-test.inc (ccos_test): Add more tests.
69177         (ccosh_test): Likewise.
69178         (csin_test): Likewise.
69179         (csinh_test): Likewise.
69180         * sysdeps/i386/fpu/libm-test-ulps: Update.
69181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69183 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
69185         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
69186         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
69188         * sysdeps/x86_64/x32/_itoa.h: Add comment.
69190 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
69192         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
69193         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
69194         * sysdeps/powerpc/soft-fp/Versions: Likewise.
69195         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
69196         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
69197         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
69198         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
69199         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
69200         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
69201         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
69202         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
69203         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
69204         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
69205         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
69206         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
69207         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
69208         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
69209         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
69210         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
69211         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
69212         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
69213         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
69214         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
69215         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
69216         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
69217         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
69218         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
69219         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
69220         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
69221         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
69222         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
69224 2012-05-18  Andreas Jaeger  <aj@suse.de>
69226         * csu/.gitignore: Delete.
69228 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
69230         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
69231         (timex): Use __syscall_slong_t.
69233 2012-05-18  Andreas Jaeger  <aj@suse.de>
69234             Carlos O'Donell  <carlos_odonell@mentor.com>
69236         * manual/install.texi (Configuring and compiling): Update
69237         description about files modified in the source directory.
69238         * INSTALL: Regenerated.
69240 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
69242         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
69243         value.  Use "or" to set return value to -1.
69244         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
69245         negate return value.
69247 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69249         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
69250         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
69251         failure if the compiler has Graphite support disabled.
69252         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
69253         Likewise.
69254         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
69255         (CFLAGS-memmove.c): Likewise.
69256         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
69257         Likewise.
69259 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
69261         * sysdeps/x86_64/x32/_itoa.h: New file.
69263         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
69264         getdents system call only if kernel and user dirents have the
69265         same d_ino and d_off.
69267         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
69268         LLONG_MAX != LONG_MAX.
69269         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69270         (_fitoa_word): Likewise.
69272         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
69273         years.
69274         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
69275         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
69276         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
69278         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
69279         include <bits/wordsize.h>.  Check __x86_64__ instead of
69280         __WORDSIZE.
69281         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
69282         if __x86_64__ is defined.  Use anonymous union on fpstate.
69284         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
69285         anonymous union.
69287 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
69289         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
69290         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
69291         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
69292         Refer to _rtld_local_ro instead of _rtld_global_ro.
69293         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
69294         Likewise.
69295         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
69296         Likewise.
69297         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
69298         Likewise.
69299         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
69300         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
69301         of _rtld_global, and rtld_progname instead of _dl_argv[0].
69303         [BZ #10882]
69304         * sysdeps/powerpc/powerpc32/dl-machine.c
69305         (__elf_machine_runtime_setup) [PROF]: Don't reference
69306         _dl_prof_resolve.
69308 2012-05-18  Andreas Jaeger  <aj@suse.de>
69310         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
69311         function only available for GCCs before 3.4 since GCC 3.4
69312         introduced a builtin.
69313         (lrint): Likewise.
69314         (llrintf): Likewise.
69315         (llrint): Likewise.
69316         (fmaxf): Likewise.
69317         (fmax): Likewise.
69318         (fminf): Likewise.
69319         (fmin): Likewise.
69320         (rint): Likewise.
69321         (rintf): Likewise.
69322         (nearbyint): Likewise.
69323         (nearbyintf): Likewise.
69324         (ceil): Likewise.
69325         (ceilf): Likewise.
69326         (floor): Likewise.
69327         (floorf): Likewise.
69329 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
69331         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
69332         on both fields and cast pointer to __syscall_ulong_t.
69334         * bits/types.h (__fsword_t): New type.
69335         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
69336         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
69337         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69338         (__FSWORD_T_TYPE): Likewise.
69339         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69340         (__FSWORD_T_TYPE): Likewise.
69341         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69342         (__FSWORD_T_TYPE): Likewise.
69343         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
69344         (__FSWORD_T_TYPE): Likewise.
69345         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
69346         __SWORD_TYPE with __fsword_t.
69347         (statfs64): Likewise.
69349 2012-05-17  David S. Miller  <davem@davemloft.net>
69351         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
69353 2012-05-17  Andreas Jaeger  <aj@suse.de>
69355         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
69356         warning.
69358 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
69360         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
69362 2012-05-17  Andreas Jaeger  <aj@suse.de>
69364         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
69365         when it is used.
69367 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
69369         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
69371 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
69373         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
69374         * sysdeps/x86_64/tst-mallocalign1.c: New file.
69376 2012-05-17  Andreas Jaeger  <aj@suse.de>
69377             Carlos O'Donell  <carlos_odonell@mentor.com>
69379         [BZ #14059]
69380         * sysdeps/x86_64/multiarch/init-arch.h
69381         (bit_YMM_Usable): Rename to...
69382         (bit_AVX_Usable): ... this.
69383         (bit_FMA4_Usable): New macro.
69384         (bit_XMM_state): New macro.
69385         (bit_YMM_state): New macro.
69386         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
69387         [__ASSEMBLER__] (index_AVX_Usable): ... this.
69388         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
69389         (CPUID_OSXSAVE): New macro.
69390         (CPUID_AVX): New macro.
69391         (CPUID_FMA4): New macro.
69392         (index_YMM_Usable): Rename to...
69393         (index_AVX_Usable): ... this.
69394         (HAS_AVX): Use HAS_ARCH_FEATURE.
69395         (HAS_FMA4): Likewise.
69396         (HAS_YMM_USABLE): Remove.
69397         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69398         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
69399         are present.
69400         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
69401         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
69402         * sysdeps/x86_64/multiarch/Makefile: Likewise.
69403         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
69404         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
69406 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
69408         * math/libm-test.c: Support platforms without multiple rounding modes.
69409         * math/bug-nextafter.c: Support platforms without FP exceptions.
69410         * math/bug-nexttoward.c: Likewise.
69411         * math/test-fenv.c: Likewise.
69412         * math/test-misc.c: Likewise.
69413         * stdlib/bug-getcontext.c: Likewise.
69415 2012-05-17  Andreas Jaeger  <aj@suse.de>
69417         * manual/examples/search.c (critter_cmp): Change signature to
69418         avoid warnings.
69419         * manual/string.texi (Collation Functions): Likewise.
69421 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69423         * bits/types.h: Fold copyright years.
69424         * bits/typesizes.h: Likewise.
69425         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
69426         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
69427         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
69428         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
69429         * time/time.h: Likewise.
69431 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
69433         [BZ #208]
69434         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
69435         in instead of returning them.  Return void.
69436         (__libc_mallinfo): Accumulate over all arenas.
69437         (__malloc_stats): Adjust for change in int_mallinfo interface.
69439 2012-05-16  Roland McGrath  <roland@hack.frob.com>
69441         [BZ #10375]
69442         * configure.in (NM): Add AC_CHECK_TOOL for it.
69443         (libc_extra_cflags): New substituted variable.
69444         Check for -fstack-protector being used implicitly.
69445         * configure: Regenerated.
69446         * config.make.in (config-extra-cflags): New variable,
69447         gets @libc_extra_cflags@.
69448         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
69450         [BZ #10375]
69451         * configure.in: Check for _FORTIFY_SOURCE being predefined.
69452         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
69453         * configure: Regenerated.
69454         * config.make.in (CPPUNDEFS): New substituted variable.
69455         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
69456         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
69457         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
69459 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69461         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
69462         (mq_attr): Use __syscall_slong_t.
69464 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69466         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
69467         Check __x86_64__ instead of __WORDSIZE.
69468         (_STAT_VER_LINUX): Likewise.
69469         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
69470         __syscall_ulong_t and __syscall_slong_t.
69471         (stat64): Likewise.
69473 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69475         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
69477 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69479         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
69481 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69483         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
69484         __syscall_ulong_t.
69486         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
69487         include <bits/wordsize.h>.  Check __x86_64__ instead of
69488         __WORDSIZE.
69489         (greg_t): Use "__extension__ long long int" if __x86_64__ is
69490         defined.
69491         (mcontext_t): Replace "unsigned long" with "unsigned long long".
69493         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
69494         include <bits/wordsize.h>.  Check __x86_64__ instead of
69495         __WORDSIZE.
69496         (user_regs_struct): Use "__extension__ unsigned long long"
69497         instead of "unsigned long" if __x86_64__ is defined.
69498         (user): Likewise.  Pad after pointer field if __ILP32__ is
69499         defined.
69501 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
69503         * configure.in (makeinfo): Require version 4.5 or later.  Allow
69504         versions 5 to 9.
69505         * configure: Regenerated.
69506         * manual/install.texi (texinfo): Increase version requirement to
69507         4.5 or later.
69508         * INSTALL: Regenerated.
69510         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
69512 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69514         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
69516         * sysdeps/x86_64/x32/ffs.c: New file.
69518         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
69519         __syscall_ulong_t.
69520         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
69521         defined.  Use __syscall_ulong_t.
69522         (shminfo): Use __syscall_ulong_t.
69523         (shm_info): Likewise.
69525         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
69526         __syscall_ulong_t.
69528         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
69529         <bits/wordsize.h>.
69530         (msgqnum_t): Use __syscall_ulong_t.
69531         (msglen_t): Likewise.
69532         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
69533         __syscall_ulong_t.
69535         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
69536         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
69538         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
69540         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
69541         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
69543         * sysvipc/sys/msg.h (msgbuf): Replace long int with
69544         __syscall_slong_t.
69546         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
69547         include <bits/wordsize.h>.  Check __x86_64__ instead of
69548         __WORDSIZE.
69550         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
69551         "unsigned long long int" if __x86_64__ is defined.
69552         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
69554         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
69555         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
69556         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
69558         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
69559         <stdint.h>.
69560         (GET_PC): Cast to uintptr_t first.
69561         (GET_FRAME): Likewise.
69562         (GET_STACK): Likewise.
69564         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
69565         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
69566         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
69567         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
69568         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
69569         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
69570         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
69571         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
69572         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
69573         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
69574         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
69575         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
69576         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
69577         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
69578         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
69579         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
69580         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
69581         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
69582         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
69583         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
69584         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
69585         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
69586         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
69587         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
69588         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
69589         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
69590         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
69591         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
69592         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
69594 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
69596         * Makerules (+depfiles): Also collect depfiles from .oS in
69597         $(extra-objs).
69598         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
69599         .oS, $(libnldbl-routines)).
69601         * Makerules (native-compile-mkdep-flags): Define.
69602         * sunrpc/Makefile (extra-objs): Add $(addprefix
69603         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
69604         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
69605         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
69606         calling $(make-target-directory).
69608 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69610         * bits/types.h (__snseconds_t): Removed.
69611         * time/time.h (struct timespec): Replace __snseconds_t with
69612         __syscall_slong_t.
69613         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
69614         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
69615         Likewise.
69616         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69617         (__SNSECONDS_T_TYPE): Likewise.
69618         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69619         (__SNSECONDS_T_TYPE): Likewise.
69620         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69621         (__SNSECONDS_T_TYPE): Likewise.
69623 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69625         * sysdeps/mach/hurd/bits/typesizes.h
69626         (__SYSCALL_SLONG_TYPE): New macro.
69627         (__SYSCALL_ULONG_TYPE): Likewise.
69629 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69631         * bits/types.h (__syscall_slong_t): New type.
69632         (__syscall_ulong_t): Likewise.
69634         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
69635         (__SYSCALL_ULONG_TYPE): Likewise.
69636         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69637         (__SYSCALL_SLONG_TYPE): Likewise.
69638         (__SYSCALL_ULONG_TYPE): Likewise.
69639         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69640         (__SYSCALL_SLONG_TYPE): Likewise.
69641         (__SYSCALL_ULONG_TYPE): Likewise.
69642         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69643         (__SYSCALL_SLONG_TYPE): Likewise.
69644         (__SYSCALL_ULONG_TYPE): Likewise.
69646 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69648         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
69649         Add sigaltstack-offsets.sym.
69650         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
69651         <sigaltstack-offsets.h>.
69652         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
69653         longjmp_msg pointer.
69654         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
69655         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
69656         signal stack.
69657         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
69659 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
69661         * elf/stackguard-macros.h: Remove file.
69662         * sysdeps/generic/stackguard-macros.h: New file.
69663         * sysdeps/i386/stackguard-macros.h: Likewise.
69664         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
69665         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
69666         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
69667         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
69668         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
69669         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
69670         * sysdeps/x86_64/stackguard-macros.h: Likewise.
69671         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
69672         <elf/stackguard-macros.h>.
69674         [BZ #14109]
69675         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
69676         __aligned__ in attribute.
69677         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
69678         (gregset_t): Likewise.
69680 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69682         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
69683         * sysdeps/x86_64/64/Implies-after: Here.  New file.
69684         * sysdeps/x86_64/x32/Implies-after: New file.
69686 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69688         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
69689         and access return value for _dl_profile_fixup.  Use R10_LP to
69690         load frame size.
69692 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69694         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
69696 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69698         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
69699         * sysdeps/x86_64/x32/sysdep.h: New file.
69701 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69703         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
69704         * sysdeps/x86_64/setjmp.S: Likewise.
69706 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69708         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
69709         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
69710         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
69711         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
69712         remove unused global constant.
69714 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
69716         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
69717         include of <not-cancel.h>.
69719 2012-05-15  Roland McGrath  <roland@hack.frob.com>
69721         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
69723 2012-05-15  Jeff Law  <law@redhat.com>
69724             Andreas Jaeger  <aj@suse.de>
69726         [BZ #13594]
69727         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
69728         out from...
69729         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
69730         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
69731         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
69732         code changing __hst_map_handle.map.
69734 2012-05-15  Roland McGrath  <roland@hack.frob.com>
69736         * configure.in (sysnames): Look for Implies-before and Implies-after
69737         files.
69738         * configure: Regenerated.
69740 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69742         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
69743         8-byte data alignment with LP_SIZE alignment.
69745 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69747         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
69748         into R10_LP.
69750 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69752         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
69754 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69756         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
69757         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
69758         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
69759         Likewise.
69760         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
69762 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69764         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
69765         (stackinfo_sub_sp): Likewise.
69767 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69769         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
69770         RAX_LP.
69772 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69774         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
69775         into R*_LP.
69777 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69779         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
69780         sizes into R*_LP.
69782 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69784         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
69786 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69788         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
69789         into R11_LP and load __x86_64_shared_cache_size_half into
69790         R8_LP.
69792 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69794         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
69795         R8_LP.
69797 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69799         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
69800         logb for POWER7.
69801         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
69802         logbf for POWER7.
69803         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
69804         logbl for POWER7.
69805         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
69806         powerpc32/power7/fpu/s_logb.c via #include.
69807         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
69808         powerpc32/power7/fpu/s_logbf.c via #include.
69809         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
69810         powerpc32/power7/fpu/s_logbl.c via #include.
69812 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
69814         * README.libm: Remove file.
69816 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69818         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
69819         count for x32.  Use R*_LP and omit operand-size suffix.
69821 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69823         * shlib-versions: Move x86_64-.*-linux.* entries to ...
69824         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
69825         * sysdeps/x86_64/x32/shlib-versions: New file.
69827 2012-05-14  Roland McGrath  <roland@hack.frob.com>
69829         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
69830         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
69831         Use _dl_fatal_printf instead.
69833 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
69835         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
69836         set if not set by the user.  Do not allow for being unset.
69837         * sysdeps/unix/sysv/linux/configure: Regenerated.
69839 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69841         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
69842         the `q' suffix from lea and replace .quad with ASM_ADDR.
69844 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69846         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
69847         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
69848         instead of $17.
69849         (PTR_DEMANGLE): Likewise.
69851 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69853         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
69854         (LP_OP): Likewise.
69855         (ASM_ADDR): Likewise.
69856         (RAX_LP): Likewise.
69857         (RBP_LP): Likewise.
69858         (RBX_LP): Likewise.
69859         (RCX_LP): Likewise.
69860         (RDI_LP): Likewise.
69861         (RSI_LP): Likewise.
69862         (RSP_LP): Likewise.
69863         (R8_LP): Likewise.
69864         (R9_LP): Likewise.
69865         (R10_LP): Likewise.
69866         (R10_LP): Likewise.
69867         (R11_LP): Likewise.
69868         (R12_LP): Likewise.
69869         (R13_LP): Likewise.
69870         (R14_LP): Likewise.
69871         (R15_LP): Likewise.
69873 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69875         * sysdeps/x86_64/x32/dl-machine.h: New file.
69877 2012-05-14  Andreas Jaeger  <aj@suse.de>
69879         * manual/Makefile (subdir): Remove export of subdir.
69880         (all): Remove target.
69881         (.PHONY): Remove all from list.
69882         (mkinstalldirs): Remove.
69883         (.PHONY): Remove installdirs from list.
69884         ($(inst_infodir)/libc.info): Use make-target-directory.
69885         (installdirs): Remove.
69886         (subdir_%): Remove.
69887         (glibc-targets): Remove.
69888         (lib): Remove.
69889         (stubs): Remove.
69890         ($(objpfx)stubs ../po/manual.pot): Remove.
69891         ($(objpfx)stamp%): Remove.
69892         (make-target-directory): Remove.
69893         (subdir_install): Remove.
69894         (routines): Remove.
69895         (aux): Remove.
69896         (sources): Remove.
69897         (objects): Remove.
69898         (headers): Remove.
69900         [BZ #13750]
69901         * manual/.gitignore: Remove, it's not needed anymore.
69902         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
69903         all files in it.
69904         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
69905         directory.
69906         (texis): Renamed to $(objpfx)texis.
69907         (texis-path): New, contains path to generated files.
69908         (chapters.%): Use texis-path for complete path, add extra argument
69909         libc-texinfo.sh.
69910         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
69911         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
69912         (summary,texi, stamp-summary): Use complete path of
69913         files. Generate files in build dir.
69914         (dir-add.texi): Build in build dir.
69915         (libm-err.texi,stamp-libm-err): Likewise.
69916         (version.texi, stamp-version): Likewise.
69917         (.%c.texi): Likewise.
69918         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
69919         (mostlyclean): Remove target.
69920         (realclean): Remove target.
69921         (generated): Add new variable with contents from mostlyclean and
69922         realclean, remove entries duplicated in common-mostlyclean, add
69923         stamp-libm-err and stamp-version.
69924         (generated-dirs): Add libc directory.
69925         ($(inst_infodir)/libc.info): Install files from build dir.
69927         * manual/install.texi (Configuring and compiling): Adjust since
69928         the info files are not part of the tar ball anymore.
69930 2012-05-14  Andreas Jaeger  <aj@suse.de>
69932         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
69933         variable.
69935 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
69937         [BZ #13717]
69938         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
69939         to 2.2.0 where earlier.
69940         * sysdeps/unix/sysv/linux/configure: Regenerated.
69941         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
69942         Remove conditional code.
69943         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
69944         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
69945         Remove conditional code.
69946         [!__NR_lchown]: Likewise.
69947         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69948         [__NR_lchown]: Likewise.
69949         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
69950         comment referencing __ASSUME_LCHOWN_SYSCALL.
69951         * sysdeps/unix/sysv/linux/i386/sigaction.c
69952         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69953         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69954         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
69955         Remove conditional code.
69956         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
69957         (__protocol_available): Remove #if 0 code.
69958         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
69959         conditional code.
69960         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
69961         * sysdeps/unix/sysv/linux/kernel-features.h
69962         (__ASSUME_GETCWD_SYSCALL): Don't define.
69963         (__ASSUME_REALTIME_SIGNALS): Likewise.
69964         (__ASSUME_PREAD_SYSCALL): Likewise.
69965         (__ASSUME_PWRITE_SYSCALL): Likewise.
69966         (__ASSUME_POLL_SYSCALL): Likewise.
69967         (__ASSUME_LCHOWN_SYSCALL): Likewise.
69968         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
69969         non-SPARC.
69970         (__ASSUME_SIOCGIFNAME): Don't define.
69971         (__ASSUME_MSG_NOSIGNAL): Likewise.
69972         (__ASSUME_SENDFILE): Define unconditionally.
69973         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
69974         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
69975         conditional code.
69976         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
69977         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
69978         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
69979         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69980         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
69981         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
69982         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
69984         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69985         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
69987         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69988         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
69990         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69991         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
69993         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69994         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
69996         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69997         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
69999         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
70000         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
70001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
70002         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
70003         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
70004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
70005         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
70006         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
70007         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
70008         Remove conditional code.
70009         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
70010         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
70011         Remove conditional code.
70012         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
70013         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
70014         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
70015         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
70016         Remove conditional code.
70017         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
70018         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
70019         Remove conditional code.
70020         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
70021         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
70022         Remove conditional code.
70023         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
70024         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
70025         Remove conditional code.
70026         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
70027         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
70028         Remove conditional code.
70029         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
70030         * sysdeps/unix/sysv/linux/sh/pwrite64.c
70031         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
70032         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
70033         * sysdeps/unix/sysv/linux/sigaction.c
70034         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
70035         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
70036         * sysdeps/unix/sysv/linux/sigpending.c
70037         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
70038         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
70039         * sysdeps/unix/sysv/linux/sigprocmask.c
70040         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
70041         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
70042         * sysdeps/unix/sysv/linux/sigsuspend.c
70043         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
70044         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
70045         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
70046         (__libc_missing_rt_sigs): Remove.
70047         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
70048         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
70049         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
70050         Remove conditional code.
70051         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
70052         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
70053         return 1.
70054         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
70055         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
70056         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
70057         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
70059 2012-05-14  Andreas Jaeger  <aj@suse.de>
70061         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
70062         it's not used in glibc.
70063         (__coshm1): Likewise.
70064         (__acosh1p): Likewise.
70065         (__sgn): Likewise.
70067         * manual/string.texi (Copying and Concatenation): Add missing
70068         variable in concat example.
70069         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
70071 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
70073         [BZ #14103]
70074         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
70075         __builtin_clzl with __builtin_clzll.
70077 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
70079         [BZ #14104]
70080         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
70081         libc_freeres_ptr.
70083 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70085         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
70086         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
70087         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
70088         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
70090 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
70092         * NEWS: Update ia64 info.
70094 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
70096         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
70097         used as bcopy.
70099 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
70101         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
70102         * sysdeps/unix/syscalls.list (dup3): Likewise.
70103         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
70104         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
70106 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
70108         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
70109         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
70111 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
70113         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
70114         thread pointer.
70115         (TLS_IE): Use mov/add instead of movq/addq to load thread
70116         pointer.
70117         (TLS_GD_PREFIX): New.
70118         (TLS_GD): Use it.
70120 2012-05-11  David S. Miller  <davem@davemloft.net>
70122         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
70123         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
70124         (_FPU_SETCW): Likewise.
70126 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
70128         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
70129         is 32-byte aligned.
70131 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
70133         [BZ #11837]
70134         * iconvdata/gb18030.c: Update tables.
70135         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
70136         characters specially.
70137         (BODY for TO_LOOP): Add encoding of missing ranges.
70139 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
70141         [BZ #13673]
70142         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
70143         * sysdeps/mach/hurd/dup3.c: Likewise.
70144         * sysdeps/mach/hurd/readlinkat.c: Likewise.
70145         * sysdeps/powerpc/memmove.c:: Likewise.
70147 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
70149         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
70150         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
70152 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
70154         * elf/elf.h (R_X86_64_RELATIVE64): New.
70155         (R_X86_64_NUM): Updated.
70156         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
70157         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
70158         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
70159         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
70160         tst-quad1pie tst-quad2pie
70161         (modules-names): Add tst-quadmod1 tst-quadmod2.
70162         ($(objpfx)tst-quad1): New dependency.
70163         ($(objpfx)tst-quad2): Likewise.
70164         ($(objpfx)tst-quad1pie): Likewise.
70165         ($(objpfx)tst-quad2pie): Likewise.
70166         * sysdeps/x86_64/tst-quad1.c: New file.
70167         * sysdeps/x86_64/tst-quad1pie.c: New file.
70168         * sysdeps/x86_64/tst-quad2.c: Likewise.
70169         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
70170         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
70171         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
70172         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
70173         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
70175 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70177         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
70178         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
70179         * streams/stropts.h (t_scalar_t): Define type.
70181         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
70182         (_PATH_PRESERVE): Set to "/var/lib".
70183         (_PATH_RWHODIR): Set to "/var/spool/rwho".
70185         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
70186         instead of int.
70188         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
70189         if __dir_mkfile succeeded.
70191         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
70192         checking for _hurd_dtablesize.  Unlock it right after having
70193         finished _hurd_dtable allocation.
70195 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70197         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
70198         * sysdeps/mach/hurd/configure: Regenerated.
70199         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
70200         special-casing to...
70201         * sysdeps/gnu/configure.in: ... this new file.
70202         * sysdeps/unix/sysv/linux/configure: Regenerated.
70203         * sysdeps/gnu/configure: New generated file.
70205         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
70206         for Linux: use nsec instead of usec, as well as:
70207         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
70208         members of type struct timespec.
70209         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
70210         New macros.
70211         (struct stat64): Likewise.
70212         (_STATBUF_ST_NSEC): New macro.
70213         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
70215         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
70216         __strtoul_internal rather than strtoul.
70218 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
70220         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
70221         and reject them.
70223 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70225         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
70226         which preserves existing values.
70227         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
70229 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
70231         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
70232         TIMEOUT values.  Return EINVAL for NFDS values either negative or
70233         greater than FD_SETSIZE.
70235 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70237         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
70238         allocated, call __vm_protect to finish enabling the existing space, and
70239         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
70240         allocate the remainder.
70242 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
70244         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
70245         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
70247 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70249         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
70250         sysdeps/mach/hurd/readlink.c.
70252         * posix/tst-sysconf.c (posix_options): Only use
70253         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
70254         _POSIX_SYNCHRONIZED_IO when they are defined
70255         * sysdeps/mach/hurd/bits/posix_opt.h:
70256         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
70257         (_XOPEN_REALTIME): Undefine macro.
70258         (_XOPEN_REALTIME_THREADS): Undefine macro.
70259         (_XOPEN_SHM): Undefine macro.
70260         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
70261         macro to -1.
70262         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
70263         macro to -1.
70264         (_POSIX_ASYNC_IO): Undefine macro.
70265         (_POSIX_PRIORITIZED_IO): Undefine macro.
70266         (_POSIX_SPIN_LOCKS): Define macro to -1.
70268         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
70269         SA_NODEFER, SA_RESETHAND.
70270         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
70271         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
70272         F_DUPFD_CLOEXEC.
70274 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70276         * elf/Makefile (pldd-modules): Define unconditionally.
70278 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70280         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
70282 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70284         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
70285         Return ENOENT when name is empty.
70286         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
70288 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70290         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
70292         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
70294 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70296         Fix mlock in all cases except non-readable pages.
70297         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
70298         instead of VM_PROT_ALL as parameter to __vm_wire function.
70300         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
70301         (__mkdir): When path is `/', just fail with EEXIST.
70302         * sysdeps/mach/hurd/mkdirat.c: Likewise.
70304 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70306         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
70307         <sys/uio.h> (for writev).
70308         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
70309         and <sys/param.h> (for MIN).
70311 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
70313         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
70314         REQUESTED_TIME.  Properly set the remaining time and return EINTR
70315         if interrupted.
70317 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70319         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
70320         Depend on against $(link-rpcuserlibs).
70322 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70324         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
70325         (__libc_stack_end): Do not use attribute_relro.
70326         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
70327         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
70328         to libthread-provided value.
70329         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
70330         attribute_relro.
70332 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70334         [BZ #3748]
70335         * bits/libc-lock.h (__libc_once_get): New macro.
70336         * sysdeps/mach/bits/libc-lock.h: Likewise.
70337         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
70338         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
70339         instead of using implementation details.
70341         * libio/fileops.c: Unconditionally include <kernel-features.h>.
70342         * libio/freopen.c: Likewise.
70343         * libio/freopen64.c: Likewise.
70344         * misc/syslog.c: Likewise.
70345         * nscd/connections.c: Likewise.
70346         * nscd/netgroupcache.c: Likewise.
70347         * sysdeps/posix/getcwd.c: Likewise.
70349 2012-05-10  Roland McGrath  <roland@hack.frob.com>
70351         * math/w_ilogbf.c: Add #include <limits.h>.
70353 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70355         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
70356         path instead of returning without unlocking.
70358         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
70359         immediate-write ioctls.
70360         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
70362 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70364         * sysdeps/mach/hurd/i386/init-first.c (init): Use
70365         __builtin_frame_address instead of making assumptions about the
70366         location of the return address relative to DATA.  Force early load of
70367         the return address.
70368         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
70369         __builtin_frame_address.
70371         dup3 for GNU Hurd.
70372         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
70373         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
70374         implement dup3 and do some further code clean-ups.
70375         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
70376         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
70378 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70380         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
70382         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
70383         HURD_CRITICAL_END around holding _hurd_dtable_lock.
70384         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
70385         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
70386         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
70387         d->port.lock.
70389         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
70390         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
70391         when handler == SIG_ERR, not when handler != SIG_ERR.
70393 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70395         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
70396         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
70397         definitions.
70399         accept4 for GNU Hurd.
70400         * include/sys/socket.h (__libc_accept4): New prototype.
70401         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
70402         to implement __libc_accept4.
70403         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
70404         __libc_accept4.
70405         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
70407         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
70408         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
70409         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
70410         signal-defines.sym.
70412 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70414         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
70416 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70418         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
70419         assertion on O_CLOEXEC flag.
70420         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
70421         * hurd/intern-fd.c: Likewise.
70422         * hurd/port2fd.c: Likewise.
70424 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70426         [BZ #3906]
70427         * bits/in.h (IPV6_PKTINFO): Define new macro.
70428         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
70430 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70432         [BZ #13954]
70433         [BZ #13955]
70434         [BZ #13956]
70435         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
70436         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
70437         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
70438         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
70439         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
70440         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
70441         * math/libm-test.inc (logb_test) : Additional logb tests.
70443 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
70444             Andreas Jaeger  <aj@suse.de>
70446         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
70447         * configure: Regenerated.
70448         * config.h.in (LINK_OBSOLETE_RPC): New macro.
70449         * config.make.in (link-obsolete-rpc): New substituted variable.
70450         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
70451         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
70452         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
70453         (shared-only-routines): Don't set it under [link-obsolete-rpc],
70454         so that libc.a contains the symbols.
70455         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
70456         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
70457         * sunrpc/auth_none.c: Likewise.
70458         * sunrpc/auth_unix.c: Likewise.
70459         * sunrpc/authdes_prot.c: Likewise.
70460         * sunrpc/authuxprot.c: Likewise.
70461         * sunrpc/clnt_gen.c: Likewise.
70462         * sunrpc/clnt_perr.c: Likewise.
70463         * sunrpc/clnt_raw.c: Likewise.
70464         * sunrpc/clnt_simp.c: Likewise.
70465         * sunrpc/clnt_tcp.c: Likewise.
70466         * sunrpc/clnt_udp.c: Likewise.
70467         * sunrpc/clnt_unix.c: Likewise.
70468         * sunrpc/des_crypt.c: Likewise.
70469         * sunrpc/des_soft.c: Likewise.
70470         * sunrpc/get_myaddr.c: Likewise.
70471         * sunrpc/key_call.c: Likewise.
70472         * sunrpc/key_prot.c: Likewise.
70473         * sunrpc/netname.c: Likewise.
70474         * sunrpc/pm_getmaps.c: Likewise.
70475         * sunrpc/pm_getport.c: Likewise.
70476         * sunrpc/pmap_clnt.c: Likewise.
70477         * sunrpc/pmap_prot.c: Likewise.
70478         * sunrpc/pmap_prot2.c: Likewise.
70479         * sunrpc/pmap_rmt.c: Likewise.
70480         * sunrpc/publickey.c: Likewise.
70481         * sunrpc/rpc_cmsg.c: Likewise.
70482         * sunrpc/rpc_common.c: Likewise.
70483         * sunrpc/rpc_dtable.c: Likewise.
70484         * sunrpc/rpc_prot.c: Likewise.
70485         * sunrpc/rpc_thread.c: Likewise.
70486         * sunrpc/rtime.c: Likewise.
70487         * sunrpc/svc.c: Likewise.
70488         * sunrpc/svc_auth.c: Likewise.
70489         * sunrpc/svc_raw.c: Likewise.
70490         * sunrpc/svc_run.c: Likewise.
70491         * sunrpc/svc_tcp.c: Likewise.
70492         * sunrpc/svc_udp.c: Likewise.
70493         * sunrpc/svc_unix.c: Likewise.
70494         * sunrpc/svcauth_des.c: Likewise.
70495         * sunrpc/xcrypt.c: Likewise.
70496         * sunrpc/xdr.c: Likewise.
70497         * sunrpc/xdr_array.c: Likewise.
70498         * sunrpc/xdr_float.c: Likewise.
70499         * sunrpc/xdr_intXX_t.c: Likewise.
70500         * sunrpc/xdr_mem.c: Likewise.
70501         * sunrpc/xdr_rec.c: Likewise.
70502         * sunrpc/xdr_ref.c: Likewise.
70503         * sunrpc/xdr_sizeof.c: Likewise.
70504         * sunrpc/xdr_stdio.c: Likewise.
70506 2012-05-10  Roland McGrath  <roland@hack.frob.com>
70508         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
70509         change.  Update copyright years.
70511 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
70513         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
70515 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
70516             Joseph Myers  <joseph@codesourcery.com>
70517             Paul Pluzhnikov  <ppluzhnikov@google.com>
70519         [BZ #14012]
70520         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
70521         requiring rpcgen.
70522         [cross-compiling] (extra-libs): Likewise.
70523         [cross-compiling] (extra-libs-others): Likewise.
70524         [cross-compiling] (librpcsvc-routines): Likewise.
70525         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
70526         [cross-compiling] (omit-deps): Likewise.
70527         (sunrpc-CPPFLAGS): New variable.
70528         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
70529         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
70530         (cross-rpcgen-objs): New variable.
70531         (extra-objs): Append $(cross-rpcgen-objs).
70532         ($(cross-rpcgen-objs)): New rule.
70533         ($(objpfx)cross-rpcgen): Likewise.
70534         (rpcgen-cmd): Define to use $(built-program-file).  Expand
70535         comment.
70536         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
70537         ($(objpfx)x%.stmp): Likewise.
70538         * sunrpc/proto.h [IS_IN_build] (_): Define.
70539         [IS_IN_build] (_libc_intl_domainname): Likewise.
70541 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
70543         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
70544         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
70545         and R_X86_64_TPOFF64.
70547 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
70549         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
70550         sysdeps/unix/sysv/syscalls.list.
70551         (stime): Likewise.
70552         (utime): Likewise.
70553         * sysdeps/unix/sysv/syscalls.list: Remove file.
70555 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
70557         [BZ #3440]
70558         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
70559         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
70560         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
70561         (__LC_IDENTIFICATION): Make these macros useful in #if
70562         expressions, as required by C99.
70564 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
70566         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
70567         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
70568         after this.
70570 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
70572         * stdlib/longlong.h: Updated from GCC.
70574 2012-05-09  Andreas Jaeger  <aj@suse.de>
70576         * nscd/nscd.c (run_modes): Make named enum, reorder so that
70577         default is first entry.
70578         (run_mode): Set type.
70579         (main): Remove informal message about syslog.
70580         (options): Fix typo.
70582         [BZ #14053]
70583         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
70584         to asm.
70585         (lrint): Likewise.
70586         (llrintf): Likewise.
70587         (llrint): Likewise.
70588         (rint): Likewise.
70589         (rintf): Likewise.
70590         (nearbyint): Likewise.
70591         (nearbyintf): Likewise.
70593 2012-05-09  Andreas Jaeger  <aj@suse.de>
70594             Pedro Alves  <palves@redhat.com>
70596         * nscd/nscd.c (run_mode): Use enum.
70597         (main): Cleanup coding style issue.
70599 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
70600             Andreas Jaeger  <aj@suse.de>
70602         * nscd/nscd.c (go_background): Replaced with...
70603         (run_mode): ... this.
70604         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
70605         (options): Add -F --foreground.
70606         (main): Implement it.
70607         (parse_opt): Parse it.
70609 2012-05-09  Andreas Jaeger  <aj@suse.de>
70611         [BZ #14083]
70612         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
70613         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
70614         -Wconversion warning.
70615         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
70616         Likewise.
70618 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
70620         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
70621         == 0.
70622         (LC_ALL): Use macro-int-constant.
70623         (LC_COLLATE): Likewise.
70624         (LC_CTYPE): Likewise.
70625         (LC_MESSAGES): Likewise.
70626         (LC_MONETARY): Likewise.
70627         (LC_NUMERIC): Likewise.
70628         (LC_TIME): Likewise.
70629         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
70630         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
70631         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70632         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
70633         Specify type.
70634         [C99-based standards] (float_t): Expect type.
70635         [C99-based standards] (double_t): Expect type.
70636         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
70637         type.
70638         [C99-based standards] (HUGE_VALL): Likewise.
70639         [C99-based standards] (INFINITY): Likewise.
70640         [C99-based standards] (NAN): Likewise.
70641         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
70642         [C99-based standards] (FP_NAN): Likewise.
70643         [C99-based standards] (FP_NORMAL): Likewise.
70644         [C99-based standards] (FP_SUBNORMAL): Likewise.
70645         [C99-based standards] (FP_ZERO): Likewise.
70646         [C99-based standards] (FP_FAST_FMA): Use
70647         optional-macro-int-constant.  Specify type.  Require == 1.
70648         [C99-based standards] (FP_FAST_FMAF): Likewise.
70649         [C99-based standards] (FP_FAST_FMAL): Likewise.
70650         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
70651         [C99-based standards] (FP_ILOGBNAN): Likewise.
70652         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
70653         Specify type.
70654         [C99-based standards] (MATH_ERREXCEPT): Likewise.
70655         [C99-based standards] (math_errhandling): Specify type.
70656         [ISO99 || ISO11] (signgam): Do not allow.
70657         [non-C99-based standards] (copysignf): Do not allow.
70658         [non-C99-based standards] (exp2f): Likewise.
70659         [non-C99-based standards] (log2f): Likewise.
70660         [non-C99-based standards] (modff): Allow.
70661         [non-C99-based standards] (erff): Do not allow.
70662         [non-C99-based standards] (erfcf): Likewise.
70663         [non-C99-based standards] (gammaf): Likewise.
70664         [non-C99-based standards] (hypotf): Likewise.
70665         [non-C99-based standards] (j0f): Likewise.
70666         [non-C99-based standards] (j1f): Likewise.
70667         [non-C99-based standards] (jnf): Likewise.
70668         [non-C99-based standards] (lgammaf): Likewise.
70669         [non-C99-based standards] (tgammaf): Likewise.
70670         [non-C99-based standards] (y0f): Likewise.
70671         [non-C99-based standards] (y1f): Likewise.
70672         [non-C99-based standards] (ynf): Likewise.
70673         [non-C99-based standards] (isnanf): Likewise.
70674         [non-C99-based standards] (acoshf): Likewise.
70675         [non-C99-based standards] (asinhf): Likewise.
70676         [non-C99-based standards] (atanhf): Likewise.
70677         [non-C99-based standards] (cbrtf): Likewise.
70678         [non-C99-based standards] (expm1f): Likewise.
70679         [non-C99-based standards] (ilogbf): Likewise.
70680         [non-C99-based standards] (log1pf): Likewise.
70681         [non-C99-based standards] (logbf): Likewise.
70682         [non-C99-based standards] (nextafterf): Likewise.
70683         [non-C99-based standards] (remainderf): Likewise.
70684         [non-C99-based standards] (rintf): Likewise.
70685         [non-C99-based standards] (scalbf): Likewise.
70686         [non-C99-based standards] (copysignl): Likewise.
70687         [non-C99-based standards] (exp2l): Likewise.
70688         [non-C99-based standards] (log2l): Likewise.
70689         [non-C99-based standards] (modfl): Allow.
70690         [non-C99-based standards] (erfl): Do not allow.
70691         [non-C99-based standards] (erfcl): Likewise.
70692         [non-C99-based standards] (gammal): Likewise.
70693         [non-C99-based standards] (hypotl): Likewise.
70694         [non-C99-based standards] (j0l): Likewise.
70695         [non-C99-based standards] (j1l): Likewise.
70696         [non-C99-based standards] (jnl): Likewise.
70697         [non-C99-based standards] (lgammal): Likewise.
70698         [non-C99-based standards] (tgammal): Likewise.
70699         [non-C99-based standards] (y0l): Likewise.
70700         [non-C99-based standards] (y1l): Likewise.
70701         [non-C99-based standards] (ynl): Likewise.
70702         [non-C99-based standards] (isnanl): Likewise.
70703         [non-C99-based standards] (acoshl): Likewise.
70704         [non-C99-based standards] (asinhl): Likewise.
70705         [non-C99-based standards] (atanhl): Likewise.
70706         [non-C99-based standards] (cbrtl): Likewise.
70707         [non-C99-based standards] (expm1l): Likewise.
70708         [non-C99-based standards] (ilogbl): Likewise.
70709         [non-C99-based standards] (log1pl): Likewise.
70710         [non-C99-based standards] (logbl): Likewise.
70711         [non-C99-based standards] (nextafterl): Likewise.
70712         [non-C99-based standards] (remainderl): Likewise.
70713         [non-C99-based standards] (rintl): Likewise.
70714         [non-C99-based standards] (scalbl): Likewise.
70715         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70716         [non-C99-based standards] (FP_*): Do not allow.
70717         [C99-based standards] (FP_*): Change to
70718         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
70719         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70720         allow.
70721         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
70722         (SIG_ERR): Likewise.
70723         [X/Open-based standards] (SIG_HOLD): Likewise.
70724         (SIG_IGN): Likewise.
70725         (SIGABRT): Use macro-int-constant.  Specify type.  Require
70726         positive value.
70727         (SIGFPE): Likewise.
70728         (SIGILL): Likewise.
70729         (SIGINT): Likewise.
70730         (SIGSEGV): Likewise.
70731         (SIGTER): Likewise.
70732         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
70733         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
70734         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
70735         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
70736         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
70737         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
70738         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
70739         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
70740         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
70741         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
70742         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
70743         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
70744         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
70745         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
70746         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
70747         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
70748         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
70749         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
70750         [X/Open-based standards] (SIGTRAP): Likewise.
70751         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
70752         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
70753         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
70754         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
70755         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70756         allow.
70758 2012-05-08  Ian Wienand  <ianw@vmware.com>
70760         [BZ #14080]
70761         * time/tzset.c (__tzset_parse_tz): Update default rules for
70762         daylight time changes in the Energy Policy Act of 2005.
70764 2012-05-09  Andreas Jaeger  <aj@suse.de>
70766         [BZ #13983]
70767         * elf/ldconfig.c (parse_conf): Change string to make clear that
70768         ldconfig only issued a warning if ld.so.conf does not exist.
70770 2012-05-08  David S. Miller  <davem@davemloft.net>
70772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
70773         movxtod instead of popping the value on the stack.
70775         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70777 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
70779         * config.h.in: Add HAVE_ARM_PCS_VFP.
70781 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
70783         [BZ #13979]
70784         * include/features.h: Warn if user requests __FORTIFY_SOURCE
70785         checking but the checks are disabled for any reason.
70787 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
70789         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
70790         and ELF64_R_TYPE with ELFW(R_TYPE).
70792 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
70794         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
70795         (ulimit): Likewise.
70797         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
70798         (settimeofday): Likewise.
70800 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
70802         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
70803         a struct th_u2 inside the union, and move tu_block/tu_code into
70804         a new th_u3 union of tu_block/tu_code inside of that.  Move
70805         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
70806         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
70807         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
70808         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
70809         (th_stuff): Change to th_u1.tu_stuff.
70810         (th_data): Define.
70811         (th_msg): Change to th_u1.th_u2.tu_data.
70813 2012-05-07  David S. Miller  <davem@davemloft.net>
70815         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70817         [BZ #14074]
70818         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
70819         (SETUP_PIC_REG): Use it.
70820         (SETUP_PIC_REG_LEAF): Use it.
70822 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
70824         [BZ #13885]
70825         [BZ #13923]
70826         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70827         USE_AS_EXPM1L.
70828         (EXPL_FINITE): Likewise.
70829         (FLDLOG): Likewise.
70830         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
70831         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
70832         e_expl.S.
70833         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70834         USE_AS_EXPM1L.
70835         (EXPL_FINITE): Likewise.
70836         (FLDLOG): Likewise.
70837         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
70838         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
70839         e_expl.S.
70840         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
70841         test of -max_value argument for long double.
70842         * sysdeps/i386/fpu/libm-test-ulps: Update.
70843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70845 2012-05-06  David S. Miller  <davem@davemloft.net>
70847         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
70848         quad soft-float symbols whose references which are compiler
70849         generated.
70850         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
70852 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
70854         [BZ #13884]
70855         [BZ #13914]
70856         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70857         USE_AS_EXP10L.
70858         (EXPL_FINITE): Likewise.
70859         (FLDLOG): Likewise.
70860         (c0): Likewise.
70861         (c1): Likewise.
70862         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
70863         Adjust comments for base varying.
70864         (__expl_finite): Change alias to EXPL_FINITE.
70865         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
70866         e_expl.S.
70867         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
70868         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
70869         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
70870         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
70871         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70872         USE_AS_EXP10L.
70873         (EXPL_FINITE): Likewise.
70874         (FLDLOG): Likewise.
70875         (c0): Likewise.
70876         (c1): Likewise.
70877         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
70878         Adjust comments for base varying.
70879         (__expl_finite): Change alias to EXPL_FINITE.
70880         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
70881         tests for bugs.
70882         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70884         [BZ #14064]
70885         * math/libm-test.inc (check_float_internal): Correct ulp
70886         calculation for subnormal expected results.
70888 2012-05-06  Andreas Jaeger  <aj@suse.de>
70890         * Makeconfig (+math-flags): New, set to -frounding-math.
70891         (+cflags): Add +math-flags so that all of glibc gets compiled with
70892         it.
70894         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
70896 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
70898         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
70899         Disable one test.
70901         [BZ #13787]
70902         [BZ #13922]
70903         [BZ #14036]
70904         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
70905         (__ieee754_expl): Allow for and saturate large arguments.
70906         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
70907         (u_threshold): Likewise.
70908         (__exp): Call __ieee754_exp before checking for overflow and
70909         underflow.
70910         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
70911         (u_threshold): Likewise.
70912         (__expf): Call __ieee754_expf before checking for overflow and
70913         underflow.
70914         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
70915         (u_threshold): Likewise.
70916         (__expl): Call __ieee754_expl before checking for overflow and
70917         underflow.
70918         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
70919         (__ieee754_expl): Allow for and saturate large arguments.
70920         * math/libm-test.inc (exp_test): Add another test.  Do not allow
70921         missing overflow exception on overflow.
70922         (expm1_test): Do not allow missing overflow exception on overflow.
70924         * sysdeps/i386/fpu/e_expl.c: Move to ...
70925         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
70926         rather than using inline asm.
70927         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
70928         * sysdeps/x86_64/fpu/e_expl.S: Copy from
70929         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
70931         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
70932         (nice): Likewise.
70933         (poll): Likewise.
70934         (signal): Likewise.
70935         (time): Likewise.
70936         (times): Likewise.
70938 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70940         * sysdeps/unix/syscalls.list (adjtime): Add entry from
70941         sysdeps/unix/common/syscalls.list.
70942         (fchmod): Likewise.
70943         (fchown): Likewise.
70944         (ftruncate): Likewise.
70945         (getrusage): Likewise.
70946         (gettimeofday): Likewise.
70947         (setpgid): Likewise.
70948         (setregid): Likewise.
70949         (setreuid): Likewise.
70950         (sigaction): Likewise.
70951         (truncate): Likewise.
70952         (vhangup): Likewise.
70953         * sysdeps/unix/common/syscalls.list: Remove file.
70954         * sysdeps/unix/bsd/Implies: Don't include unix/common.
70955         * sysdeps/unix/sysv/linux/Implies: Likewise.
70957 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
70959         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
70960         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
70961         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
70962         Moved to ...
70963         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
70964         Here.
70965         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
70966         to ...
70967         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
70968         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
70969         to ...
70970         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
70971         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
70972         to ...
70973         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
70974         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
70975         to ...
70976         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
70977         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
70978         to ...
70979         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
70980         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
70981         to ...
70982         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
70983         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
70984         to ...
70985         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
70986         Here.
70987         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
70988         to ...
70989         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
70990         Here.
70991         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
70992         to ...
70993         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
70994         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
70995         Moved to ...
70996         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
70997         Here.
70998         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
70999         to ...
71000         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
71002 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
71004         * sysdeps/unix/common/bits/dirent.h: Remove file.
71005         * sysdeps/unix/common/bits/fcntl.h: Likewise.
71007         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
71008         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
71009         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
71010         * sysdeps/unix/bsd/isatty.c: Likewise.
71011         * sysdeps/unix/bsd/tcdrain.c: Likewise.
71012         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
71013         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
71015 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71017         [BZ #13563]
71018         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
71019         long double comparison inaccuracies.
71020         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
71021         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71023 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
71025         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
71026         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
71028 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
71030         [BZ #14049]
71031         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
71032         nonzero digits before rounding a hex value.
71033         * stdlib/tst-strtod.c (tests): Add another test.
71035 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71037         * sysdeps/s390/fpu/libm-test-ulps: Update.
71039 2012-05-03  Andreas Jaeger  <aj@suse.de>
71041         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
71042         does not get optimized out.
71043         (malloc_opt_barrier): New.
71045 2012-05-03  Andreas Jaeger  <aj@suse.de>
71046             Roland McGrath  <roland@hack.frob.com>
71048         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
71049         intermediate file deletion.
71050         (generated): Add .symlist files.
71052 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
71054         [BZ #13775]
71055         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
71056         Redirect under this condition.
71057         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
71058         [__USE_GNU] (__dprintf_chk): Not under this condition.
71059         [__USE_GNU] (__vdprintf_chk): Likewise.
71060         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
71061         under this condition.
71062         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
71063         [__USE_XOPEN2K8] (dprintf): Define under this condition.
71064         [__USE_XOPEN2K8] (vdprintf): Likewise.
71065         [__USE_GNU] (__dprintf_chk): Not under this condition.
71066         [__USE_GNU] (__vdprintf_chk): Likewise.
71067         [__USE_GNU] (dprintf): Likewise.
71068         [__USE_GNU] (vdprintf): Likewise.
71070 2012-05-03  Roland McGrath  <roland@hack.frob.com>
71072         * elf/Makefile (common-generated): Set this instead of generated for
71073         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
71074         $(all-built-dso)-derived lists.
71076 2012-05-03  Andreas Jaeger  <aj@suse.de>
71078         * sysdeps/i386/fpu/libm-test-ulps: Update.
71080         * FAQ: Removed.
71081         * FAQ.in: Likewise.
71082         * scripts/gen-FAQ.pl: Likewise.
71083         * manual/install.texi (Installation): Point to online location of
71084         FAQ.
71085         * Makefile (files-for-dist): Remove FAQ.
71086         (FAQ): Remove.
71088 2012-05-02  Allan McRae  <allan@archlinux.org>
71090         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
71091         (LDFLAGS-reldepmod5.so): Likewise.
71092         (LDFLAGS-reldep6mod1.so): Likewise.
71093         (LDFLAGS-reldep6mod4.so): Likewise.
71094         (LDFLAGS-reldep8mod3.so): Likewise.
71095         (LDFLAGS-unload4mod1.so): Likewise.
71096         (LDFLAGS-unload4mod2.so): Likewise.
71097         (LDFLAGS-tst-initorder): Likewise.
71098         (LDFLAGS-tst-initordera2.so): Likewise.
71099         (LDFLAGS-tst-initordera3.so): Likewise.
71100         (LDFLAGS-tst-initordera4.so): Likewise.
71101         (LDFLAGS-tst-initorderb2.so): Likewise.
71102         (LDFLAGS-noload): Likewise.
71103         (LDFLAGS-next): Likewise.
71104         (LDFLAGS-order2mod1.so): Likewise.
71105         (LDFLAGS-order2mod2.so): Likewise.
71106         (LDFLAGS-tst-initorder2): Likewise.
71107         (LDFLAGS-tst-initorder2a.so): Likewise.
71108         (LDFLAGS-tst-initorder2b.so): Likewise.
71109         (LDFLAGS-tst-initorder2c.so): Likewise.
71110         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
71112 2012-05-02  David S. Miller  <davem@davemloft.net>
71114         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71116 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
71118         [BZ #14055]
71119         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
71121 2012-05-02  Andreas Jaeger  <aj@suse.de>
71123         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
71124         since we manipulate rounding mode.
71125         (CPPFLAGS-test-idouble.c): Likewise.
71126         (CPPFLAGS-test-ifloat.c): Likewise.
71127         (CFLAGS-test-ldouble.c): Likewise.
71128         (CFLAGS-test-double.c): Likewise.
71129         (CFLAGS-test-float.c): Likewise.
71130         (CFLAGS-test-misc.c): Likewise.
71131         (CFLAGS-test-test-fenv.c): Likewise.
71133 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71135         [BZ #2550]
71136         [BZ #2570]
71137         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
71138         comparisons to determine direction to adjust input.
71140 2012-05-01  Roland McGrath  <roland@hack.frob.com>
71142         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
71143         output to the target.
71145         * scripts/localplt.awk: New file.
71146         * elf/Makefile ($(objpfx)check-localplt): Target removed.
71147         (check-localplt-CFLAGS): Variable removed.
71148         ($(all-built-dso:=.jmprel)): New static pattern rule.
71149         (generated): Add those targets.
71150         (localplt-built-dso): New variable.
71151         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
71153         * elf/check-localplt.c: File removed.
71155         * scripts/check-execstack.awk: New file.
71156         * elf/Makefile ($(objpfx)check-execstack): Target removed.
71157         (check-execstack-CFLAGS): Variable removed.
71158         ($(objpfx)check-execstack.h): Target removed.
71159         ($(objpfx)execstack-default): New target.
71160         (generated): Add that instead of check-execstack.h.
71161         ($(all-built-dso:=.phdr)): New static pattern rule.
71162         (generated): Add those targets.
71163         * elf/check-execstack.c: File removed.
71165         * scripts/check-textrel.awk: New file.
71166         * elf/Makefile ($(objpfx)check-textrel): Target removed.
71167         (check-textrel-CFLAGS): Variable removed.
71168         (all-built-dso): Use := to define.o
71169         ($(all-built-dso:=.dyn)): New static pattern rule.
71170         (generated): Add those targets.
71171         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
71172         * config.make.in (READELF): New substituted variable.
71173         * elf/check-textrel.c: File removed.
71175 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
71177         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
71178         allow.
71179         * conform/data/ctype.h-data [C99-based standards] (isblank):
71180         Expect function.
71181         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
71182         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
71183         [ISO || ISO99 || ISO11] (*_t): Do not allow.
71184         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
71185         Specify type.  Require positive value.
71186         (EILSEQ): Likewise.
71187         (ERANGE): Likewise.
71188         [ISO || POSIX] (EILSEQ): Do not expect.
71189         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
71190         Specify type.  Require positive value.
71191         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
71192         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
71193         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
71194         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
71195         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
71196         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
71197         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
71198         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
71199         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
71200         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
71201         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
71202         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
71203         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
71204         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
71205         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
71206         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
71207         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
71208         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
71209         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
71210         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
71211         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
71212         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
71213         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
71214         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
71215         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
71216         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
71217         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
71218         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
71219         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
71220         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
71221         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
71222         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
71223         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
71224         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
71225         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
71226         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
71227         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
71228         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
71229         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
71230         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
71231         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
71232         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
71233         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
71234         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
71235         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
71236         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
71237         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
71238         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
71239         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
71240         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
71241         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
71242         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
71243         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
71244         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
71245         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
71246         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
71247         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
71248         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
71249         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
71250         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
71251         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
71252         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
71253         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
71254         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
71255         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
71256         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
71257         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
71258         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
71259         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
71260         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
71261         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
71262         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
71263         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
71264         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
71265         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
71266         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
71267         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
71268         Require >= 2.
71269         (FLT_ROUNDS): Expect as macro, not constant.
71270         (FLT_MANT_DIG): Use macro-int-constant.
71271         (DBL_MANT_DIG): Likewise.
71272         (LDBL_MANT_DIG): Likewise.
71273         (FLT_DIG): Likewise.
71274         (DBL_DIG): Likewise.
71275         (LDBL_DIG): Likewise.
71276         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
71277         (DBL_MIN_EXP): Likewise.
71278         (LDBL_MIN_EXP): Likewise.
71279         (FLT_MAX_EXP): Use macro-int-constant.
71280         (DBL_MAX_EXP): Likewise.
71281         (LDBL_MAX_EXP): Likewise.
71282         (FLT_MAX_10_EXP): Likewise.
71283         (DBL_MAX_10_EXP): Likewise.
71284         (LDBL_MAX_10_EXP): Likewise.
71285         (FLT_MAX): Use macro-constant.
71286         (DBL_MAX): Likewise.
71287         (LDBL_MAX): Likewise.
71288         (FLT_EPSILON): Use macro-constant.  Give upper bound.
71289         (DBL_EPSILON): Likewise.
71290         (LDBL_EPSILON): Likewise.
71291         (FLT_MIN): Likewise.
71292         (DBL_MIN): Likewise.
71293         (LDBL_MIN): Likewise.
71294         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
71295         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
71296         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
71297         [ISO11] (FLT_HAS_SUBNORM): Likewise.
71298         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
71299         [ISO11] (DBL_DECIMAL_DIG): Likewise.
71300         [ISO11] (FLT_DECIMAL_DIG): Likewise.
71301         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
71302         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
71303         [ISO11] (FLT_TRUE_MIN): Likewise.
71304         [ISO11] (LDBL_TRUE_MIN): Likewise.
71305         [ISO || ISO99 || ISO11] (*_t): Do not allow.
71306         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
71307         (SCHAR_MIN): Use macro-int-constant.  Specify type.
71308         (SCHAR_MAX): Likewise.
71309         (UCHAR_MAX): Likewise.
71310         (CHAR_MIN): Likewise.
71311         (CHAR_MAX): Likewise.
71312         (MB_LEN_MAX): Use macro-int-constant.
71313         (SHRT_MIN): Use macro-int-constant.  Specify type.
71314         (SHRT_MAX): Likewise.
71315         (USHRT_MAX): Likewise.
71316         (INT_MAX): Likewise.
71317         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
71318         bound negative.
71319         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
71320         bound with "U".
71321         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
71322         bound with "L".
71323         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
71324         bound negative.  Suffix upper bound with "L".
71325         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
71326         bound with "UL".
71327         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
71328         Specify type.
71329         [C99-based standards] (LLONG_MAX): Likewise.
71330         [C99-based standards] (ULLONG_MAX): Likewise.
71331         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
71332         == 0.
71333         [ISO11] (max_align_t): Require type.
71334         [ISO || ISO99 || ISO11] (*_t): Do not allow.
71336         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
71337         from $CFLAGS, without defining away __attribute__ calls.
71338         (checknamespace): Use $CFLAGS_namespace.
71340         * conform/conformtest.pl (@keywords): Only include C99 keywords
71341         for standards based on C99 or C11.
71343         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
71344         Disable tests.
71345         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
71346         UNIX98]: Likewise.
71348         * conform/conformtest.pl: Handle "macro-int-constant" and test for
71349         usability of symbols in #if.
71351         * conform/conformtest.pl: If macro or constant types start
71352         "promoted:", expect the symbol to be of the following type
71353         promoted by the integer promotions.
71355         * conform/conformtest.pl: Parse all "constant" and "macro" lines
71356         in one place.  Also handle "macro-constant".
71358         * conform/conformtest.pl: Only accept expected macro values with
71359         "==".  Parse all "macro" lines in one place.
71360         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
71362         * conform/conformtest.pl: Handle braced types on "constant" lines
71363         instead of handling "typed-constant".
71364         * conform/data/signal.h-data: Use "constant" instead of
71365         "typed-constant".
71367         * conform/conformtest.pl: Handle "optional-" at start of lines in
71368         one place rather than duplicating several cases.  Handle each
71369         format of "macro" line with initial "optional-".
71371         * conform/conformtest.pl: Only accept expected constant or
71372         optional-constant values with "==".  Parse all "constant" lines in
71373         one place.  Parse all "optional-constant" lines in one place.
71374         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
71375         * conform/data/fmtmsg.h-data: Likewise.
71376         * conform/data/netinet/in.h-data: Likewise.
71377         * conform/data/tar.h-data: Likewise.
71378         * conform/data/limits.h-data: Use "==" form on "constant" and
71379         "optional-constant" lines.
71381         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
71382         Use -std=c99 for XOPEN2K.
71383         (@knownproblems): Remove.
71384         (newtoken): Don't check %isknown.
71386         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
71387         Do not expect macro.
71388         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
71389         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
71390         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
71391         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
71392         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
71393         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
71394         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
71395         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
71396         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
71397         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
71398         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
71399         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
71400         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
71401         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
71402         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
71403         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
71404         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
71405         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
71406         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
71407         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
71408         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
71409         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
71410         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
71411         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
71412         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
71413         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
71414         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
71415         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
71416         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
71417         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
71418         [XPG3] (acosh): Likewise.
71419         [XPG3] (asinh): Likewise.
71420         [XPG3] (atanh): Likewise.
71421         [XPG3] (cbrt): Likewise.
71422         [XPG3] (expm1): Likewise.
71423         [XPG3] (ilogb): Likewise.
71424         [XPG3] (log1p): Likewise.
71425         [XPG3] (logb): Likewise.
71426         [XPG3] (nextafter): Likewise.
71427         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
71428         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
71429         [XPG3] (remainder): Likewise.
71430         [XPG3] (rint): Likewise.
71431         [XPG3 || XPG4 || UNIX98] (round): Likewise.
71432         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
71433         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
71434         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
71435         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
71436         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
71437         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
71438         [UNIX98 || XOPEN2K] (scalb): Expect.
71439         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
71440         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
71441         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
71442         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
71443         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
71444         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
71445         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
71446         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
71447         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
71448         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
71449         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
71450         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
71451         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
71452         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
71453         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
71454         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
71455         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
71456         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
71457         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
71458         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
71459         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
71460         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
71461         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
71462         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
71463         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
71464         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
71465         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
71466         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
71467         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
71468         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
71469         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
71470         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
71471         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
71472         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
71473         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
71474         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
71475         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
71476         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
71477         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
71478         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
71479         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
71480         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
71481         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
71482         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
71483         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
71484         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
71485         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
71486         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
71487         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
71488         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
71489         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
71490         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
71491         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
71492         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
71493         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
71494         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
71495         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
71496         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
71497         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
71498         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
71499         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
71500         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
71501         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
71502         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
71503         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
71504         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
71505         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
71506         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
71507         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
71508         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
71509         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
71510         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
71511         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
71512         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
71513         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
71514         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
71515         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
71516         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
71517         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
71518         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
71519         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
71520         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
71521         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
71522         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
71523         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
71524         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
71525         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
71526         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
71527         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
71528         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
71529         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
71530         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
71531         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
71532         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
71533         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
71534         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
71535         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
71536         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
71537         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
71538         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
71539         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
71540         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
71541         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
71542         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
71543         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
71544         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
71545         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
71546         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
71547         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
71548         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
71549         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
71550         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
71551         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
71552         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
71553         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
71554         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
71555         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
71556         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
71557         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
71558         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
71559         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
71560         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
71561         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
71562         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
71563         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
71564         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
71565         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
71566         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
71567         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
71568         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
71569         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
71570         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
71571         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
71572         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
71573         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
71574         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
71575         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
71577         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
71578         _XOPEN_SOURCE_EXTENDED for XPG4.
71580         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
71582         * Makeconfig (localtime): Remove variable.
71583         (inst_localtime-file): Likewise.
71585 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
71587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
71588         Update.
71589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71590         Update.
71591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
71592         Update.
71593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
71594         Update.
71595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
71596         Update.
71597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
71598         Update.
71599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71600         Update.
71601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
71602         Update.
71603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
71604         Update.
71606 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
71608         [BZ #2550]
71609         [BZ #2570]
71610         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
71611         comparisons to determine direction to adjust input.
71612         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
71613         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
71614         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
71615         Likewise.
71616         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
71617         Likewise.
71618         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
71619         Likewise.
71620         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
71621         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
71622         Likewise.
71623         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
71624         Likewise.
71625         * math/libm-test.inc (nexttoward_test): Add more tests.
71627 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
71629         [BZ #14040]
71630         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
71631         in version GLIBC_2.1, not GLIBC_2.0.
71632         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
71633         Likewise.
71635 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
71637         [BZ #13942]
71638         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
71639         (1 - x) * (1 + x).
71640         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
71641         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
71642         * math/libm-test.inc (acos_test): Add more tests.
71643         (asin_test): Likewise.
71644         * sysdeps/i386/fpu/libm-test-ulps: Update.
71645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71647         [BZ #14034]
71648         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
71649         of square root.
71650         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
71651         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
71652         * math/libm-test.inc (acos_test_tonearest): New function.
71653         (acos_test_towardzero): Likewise.
71654         (acos_test_downward): Likewise.
71655         (acos_test_upward): Likewise.
71656         (asin_test_tonearest): Likewise.
71657         (asin_test_towardzero): Likewise.
71658         (asin_test_downward): Likewise.
71659         (asin_test_upward): Likewise.
71660         (main): Call the new functions.
71661         * sysdeps/i386/fpu/libm-test-ulps: Update.
71662         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71664         [BZ #13884]
71665         [BZ #13924]
71666         * math/e_exp10.c: Include <float.h>.
71667         (__ieee754_exp10): Handle underflow here rather than multiplying
71668         large negative argument by M_LN10.
71669         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
71670         of __ieee754_expf.
71671         * math/e_exp10l.c: Include <float.h>.
71672         (__ieee754_exp10l): Handle underflow here rather than multiplying
71673         large negative argument by M_LN10l.
71674         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
71675         spurious overflow exception on underflow.
71677 2012-04-29  Marek Polacek  <polacek@redhat.com>
71679         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
71680         (__fortify_function): New macro.
71681         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
71682         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
71683         __extern_always_inline.
71684         * libio/bits/stdio2.h: Likewise.
71685         * libio/bits/stdio.h: Likewise.
71686         * string/string.h: Likewise.
71687         * string/bits/string3.h: Likewise.
71688         * include/stdio.h: Likewise.
71689         * stdlib/bits/stdlib.h: Likewise.
71690         * stdlib/stdlib.h: Likewise.
71691         * rt/bits/mqueue2.h: Likewise.
71692         * rt/mqueue.h: Likewise.
71693         * posix/bits/unistd.h: Likewise.
71694         * posix/unistd.h: Likewise.
71695         * io/bits/poll2.h: Likewise.
71696         * io/bits/fcntl2.h: Likewise.
71697         * io/fcntl.h: Likewise.
71698         * io/sys/poll.h: Likewise.
71699         * misc/bits/syslog.h: Likewise.
71700         * misc/bits/syslog-ldbl.h: Likewise.
71701         * misc/sys/syslog.h: Likewise.
71702         * socket/bits/socket2.h: Likewise.
71703         * socket/sys/socket.h: Likewise.
71704         * debug/tst-chk1.c: Likewise.
71705         * wcsmbs/bits/wchar2.h: Likewise.
71706         * wcsmbs/bits/wchar-ldbl.h: Likewise.
71707         * wcsmbs/wchar.h: Likewise.
71709 2012-04-29  Andreas Jaeger  <aj@suse.de>
71711         * Makerules (tests): Remove enable-check-abi protection.
71712         (check-abi-warn): Remove.
71713         (check-abi-%): Remove check-abi-warn usage.
71715         * configure.in: Remove check-abi configure option.
71716         * configure: Regenerated.
71717         * config.make.in (enable-check-abi): Remove.
71719 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
71721         [BZ #14033]
71722         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
71723         double functions to double *_finite functions.
71725         [BZ #13941]
71726         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
71727         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
71728         LDBL_MIN_EXP.
71729         * stdio-common/Makefile (tests): Add tst-sprintf3.
71730         * stdio-common/tst-sprintf3.c: New file.
71732         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
71733         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
71735 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
71737         * conform/conformtest.pl: Remove duplicate typed-constant
71738         handling.
71740 2012-04-28  David S. Miller  <davem@davemloft.net>
71742         * Makerules (%.abilist): Add vpath on sysdep_dirs.
71743         (check-abi-%): Remove AWK script prerequisite and explicit
71744         abilist directory.
71745         (check-abi): Rewrite to just diff the symlist with the abilist.
71746         (config-tls, config-abi-config): Delete, no longer used.
71747         (update-abi-%): Remove AWK script and explicit abilist directory.
71748         (update-abi): Rewrite to simply compare and conditionally copy the
71749         symlist and the sysdep abilist file.  Remove update-abi-config
71750         checks.
71751         * abilist/ld.abilist: Remove.
71752         * abilist/libBrokenLocale.abilist: Remove.
71753         * abilist/libanl.abilist: Remove.
71754         * abilist/libcrypt.abilist: Remove.
71755         * abilist/libdl.abilist: Remove.
71756         * abilist/librt.abilist: Remove.
71757         * abilist/libthread_db.abilist: Remove.
71758         * abilist/libutil.abilist: Remove.
71759         * scripts/extract-abilist.awk: Remove.
71760         * scripts/merge-abilist.awk: Remove.
71761         * sysdeps/generic/libcidn.abilist: New file.
71762         * sysdeps/generic/libnss_compat.abilist: New file.
71763         * sysdeps/generic/libnss_db.abilist: New file.
71764         * sysdeps/generic/libnss_dns.abilist: New file.
71765         * sysdeps/generic/libnss_files.abilist: New file.
71766         * sysdeps/generic/libnss_hesiod.abilist: New file.
71767         * sysdeps/generic/libnss_nis.abilist: New file.
71768         * sysdeps/generic/libnss_nisplus.abilist: New file.
71769         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
71770         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
71771         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
71772         file.
71773         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
71774         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
71775         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
71776         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
71777         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
71778         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
71779         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
71780         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
71781         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
71782         file.
71783         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
71784         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
71785         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
71786         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
71787         file.
71788         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
71789         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
71790         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
71791         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
71792         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
71793         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
71794         file.
71795         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
71796         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
71797         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
71798         file.
71799         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
71800         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
71801         New file.
71802         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
71803         New file.
71804         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
71805         New file.
71806         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
71807         New file.
71808         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
71809         New file.
71810         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
71811         New file.
71812         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
71813         New file.
71814         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
71815         New file.
71816         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
71817         New file.
71818         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
71819         New file.
71820         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
71821         New file.
71822         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
71823         New file.
71824         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
71825         New file.
71826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
71827         file.
71828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
71829         New file.
71830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
71831         New file.
71832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
71833         file.
71834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
71835         New file.
71836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
71837         New file.
71838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
71839         file.
71840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
71841         New file.
71842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
71843         New file.
71844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
71845         New file.
71846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
71847         New file.
71848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
71849         New file.
71850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
71851         New file.
71852         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
71853         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
71854         file.
71855         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
71856         New file.
71857         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
71858         file.
71859         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
71860         file.
71861         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
71862         file.
71863         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
71864         file.
71865         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
71866         file.
71867         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
71868         New file.
71869         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
71870         file.
71871         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
71872         file.
71873         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
71874         New file.
71875         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
71876         file.
71877         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
71878         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
71879         file.
71880         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
71881         New file.
71882         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
71883         file.
71884         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
71885         file.
71886         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
71887         file.
71888         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
71889         file.
71890         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
71891         file.
71892         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
71893         New file.
71894         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
71895         file.
71896         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
71897         file.
71898         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
71899         New file.
71900         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
71901         file.
71902         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
71903         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
71904         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
71905         file.
71906         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
71907         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
71908         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
71909         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
71910         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
71911         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
71912         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
71913         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
71914         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
71915         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
71916         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
71917         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
71918         file.
71919         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
71920         New file.
71921         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
71922         file.
71923         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
71924         file.
71925         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
71926         file.
71927         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
71928         file.
71929         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
71930         file.
71931         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
71932         New file.
71933         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
71934         New file.
71935         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
71936         file.
71937         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
71938         New file.
71939         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
71940         file.
71941         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
71942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
71943         file.
71944         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
71945         New file.
71946         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
71947         file.
71948         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
71949         file.
71950         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
71951         file.
71952         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
71953         file.
71954         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
71955         file.
71956         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
71957         New file.
71958         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
71959         New file.
71960         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
71961         file.
71962         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
71963         New file.
71964         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
71965         file.
71967 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
71969         * conform/conformtest.pl: Fix typo in handling typed-constant from
71970         allow-header.
71972 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
71974         * README: Cut down references to pre-2.6 Linux kernels and
71975         Linuxthreads.  Update lists of configurations in libc and ports
71976         and sort alphabetically.  Say "or newer" with Linux kernel version
71977         requirements.
71979         * config.h.in [IS_IN_build]: Allow compiling without optimization.
71981 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
71983         [BZ #887]
71984         * math/libm-test.inc (logb_test_downward): New test to expose
71985         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
71986         rounding mode.
71988 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
71990         [BZ #14027]
71991         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
71992         to be done.
71993         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
71994         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
71996 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
71998         * sysdeps/unix/i386/brk.S: Remove file.
71999         * sysdeps/unix/i386/dl-brk.S: Likewise.
72000         * sysdeps/unix/i386/pipe.S: Likewise.
72001         * sysdeps/unix/i386/sigreturn.S: Likewise.
72002         * sysdeps/unix/i386/syscall.S: Likewise.
72003         * sysdeps/unix/i386/vfork.S: Likewise.
72004         * sysdeps/unix/i386/wait.S: Likewise.
72006         * sysdeps/unix/common/tcsendbrk.c: Move to ...
72007         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
72009         * configure.in (arm*-none*): Do not allow without
72010         --enable-hacker-mode.
72011         (netbsd*): Remove case setting base_os.
72012         (386bsd*): Likewise.
72013         (freebsd*): Likewise.
72014         (bsdi*): Likewise.
72015         (osf*): Likewise.
72016         (sunos*): Likewise.
72017         (ultrix*): Likewise.
72018         (newsos*): Likewise.
72019         (dynix*): Likewise.
72020         (*bsd*): Likewise.
72021         (sysv*): Likewise.
72022         (isc*): Likewise.
72023         (esix*): Likewise.
72024         (sco*): Likewise.
72025         (minix*): Likewise.
72026         (irix4*): Likewise.
72027         (irix6*): Likewise.
72028         (solaris[2-9]*): Likewise.
72029         (none): Likewise.
72030         * configure: Regenerated.
72032 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72034         [BZ #11521]
72035         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
72036         overflow or cancellation in calculating denominator.
72037         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
72038         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
72039         down expression to avoid unexpected rounding in newer GCCs.
72040         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
72042 2012-04-26  David S. Miller  <davem@davemloft.net>
72044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
72045         long-double compat symbols.
72046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
72047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
72048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
72049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
72050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
72051         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
72052         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
72053         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
72054         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
72055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
72056         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
72057         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
72058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
72060 2012-04-25  David S. Miller  <davem@davemloft.net>
72062         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
72063         HWCAP_* values only after the memory barriers have been defined.
72064         (atomic_full_barrier): Define.
72065         (atomic_read_barrier): Define.
72066         (atomic_write_barrier): Define.
72068 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
72070         * shlib-versions: Add libgcc_s version information.
72071         * sysdeps/generic/libgcc_s.h: Remove.
72072         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
72073         libgcc_s.h.
72074         * sysdeps/gnu/unwind-resume.c: Likewise.
72075         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
72077 2012-04-25  David S. Miller  <davem@davemloft.net>
72079         * sysdeps/unix/sparc/brk.S: Delete.
72080         * sysdeps/unix/sparc/dl-brk.S: Delete.
72081         * sysdeps/unix/sparc/pipe.S: Delete.
72082         * sysdeps/unix/sparc/sysdep.S: Delete.
72083         * sysdeps/unix/sparc/sysdep.h: Delete.
72084         * sysdeps/unix/sparc/vfork.S: Delete.
72085         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
72086         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
72087         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
72088         (ret_ERRVAL, r0, r1, MOVE): Define.
72089         (JUMPTARGET): Remove.
72090         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
72091         sysdeps/unix/sparc/sysdep.h
72092         (ENTRY, END): Remove.
72093         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72095 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
72097         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
72098         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
72099         -DIS_IN_build.
72101         * timezone/README: Update upstream location and email address for
72102         tzcode and tzdata.
72103         * timezone/zdump.c: Update from tzcode 2012b.
72104         * timezone/zic.c: Likewise.
72106         * configure.in (libc_cv_as_needed): Remove test.
72107         * configure: Regenerated.
72108         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
72109         conditional definition.
72110         [$(have-as-needed) != yes] (no-as-needed): Likewise.
72111         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
72112         * config.make.in (have-as-needed): Remove variable.
72114 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
72115             Paul Pluzhnikov  <ppluzhnikov@google.com>
72117         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
72118         strings correctly.
72120 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
72122         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
72123         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
72124         * sysdeps/sh/strlen.S: Likewise.
72126 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
72128         * sysdeps/unix/fork.S: Remove file.
72129         * sysdeps/unix/i386/fork.S: Likewise.
72130         * sysdeps/unix/sparc/fork.S: Likewise.
72132         * sysdeps/unix/system.c: Remove file.
72133         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
72135         * sysdeps/unix/getegid.S: Remove file.
72136         * sysdeps/unix/geteuid.S: Likewise.
72138 2012-04-24  Roland McGrath  <roland@hack.frob.com>
72140         * scripts/check-localplt.awk: New file.
72141         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
72142         of diff.
72143         * scripts/data/localplt-generic.data: Add a comment.
72145         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
72146         NODE when __dir_mkfile failed.
72147         * sysdeps/mach/hurd/symlinkat.c: Likewise.
72148         Reported by Ludovic Courtès <ludo@gnu.org>.
72150 2012-04-24  Andreas Jaeger  <aj@suse.de>
72152         * Makerules (common-clean): Also remove gen-as-const-headers
72153         files.
72155 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
72157         * Makerules (native-compile): Do not change working directory for
72158         build.  Use $(OUTPUT_OPTION) in command.
72159         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
72161 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72163         [BZ #13886]
72164         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
72165         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
72166         * math/libm-test.inc (floor_test): Add more tests.
72167         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
72169 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
72171         * sysdeps/unix/getdents.c: Remove file.
72172         * sysdeps/unix/sysv/getdents.c: Likewise.
72173         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
72175         * sysdeps/unix/syscalls.list (madvise): Add syscall from
72176         sysdeps/unix/mman/syscalls.list.
72177         (mmap): Likewise.
72178         (mprotect): Likewise.
72179         (msync): Likewise.
72180         (munmap): Likewise.
72181         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
72182         * sysdeps/unix/mman/syscalls.list: Remove.
72183         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
72185         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
72186         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
72187         * configure: Regenerated.
72188         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
72189         $(libgcc_s_suffix).
72190         * config.make.in (libgcc_s_suffix): Remove variable.
72192 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
72194         * sysdeps/unix/sysv/gethostname.c: Move to ...
72195         * sysdeps/posix/gethostname.c: ... here.
72197         * sysdeps/unix/execve.S: Remove file.
72199         * sysdeps/unix/_exit.S: Remove file.
72201 2012-04-23  Andreas Jaeger  <aj@suse.de>
72203         [BZ #13739]
72204         * manual/Makefile: Remove make dist support, there's no
72205         need for a stand-alone documentation tar ball.
72206         (TEXI2DVI): Define always, it's not in Makeconfig.
72207         (dist): Removed.
72208         (tar-it): Removed.
72209         (edition): Removed.
72210         (glibc-doc-$(edition).tar): Removed
72211         (%.Z): Removed.
72212         (%.gz): Removed.
72213         (%.uu): Removed.
72214         (ETAGS): Remove, it's in Makeconfig.
72215         (move-if-change): Remove, it's in Makeconfig.
72217 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
72219         [BZ #13970]
72220         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
72221         (strtod, strtof, strtold, strtol, strtoul, strtoq)
72222         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
72223         (strtod_l, strtof_l, strtold_l): Remove __wur.
72224         It is not necessarily an error to ignore strtol's return value.
72225         One can reliably look at the stored endptr to decide whether
72226         the number had valid syntax.
72228 2012-04-21  Andreas Jaeger  <aj@suse.de>
72230         [BZ #13739]
72231         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
72233 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
72235         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
72236         * sysdeps/unix/sysv/Versions: Remove file.
72238 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
72240         [BZ #13927]
72241         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72243 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
72245         [BZ #7064]
72246         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
72247         version from __vm86.
72249 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
72251         * sysdeps/unix/common/lxstat.c: Remove file.
72252         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
72254         * sysdeps/unix/sysv/Makefile: Remove file.
72256         * sysdeps/unix/sysv/direct.h: Remove file.
72258         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
72259         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
72260         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
72261         * sysdeps/unix/sysv/bits/signum.h: Likewise.
72262         * sysdeps/unix/sysv/bits/stat.h: Likewise.
72263         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
72264         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
72266         * sysdeps/unix/sysv/setrlimit.c: Remove file.
72268         * sysdeps/unix/xmknod.c: Remove file.
72269         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
72271         * sysdeps/unix/sysv/settimeofday.c: Remove file.
72273         * sysdeps/unix/sysv/i386/time.S: Remove file.
72275         * sysdeps/unix/fxstat.c: Remove file.
72276         * sysdeps/unix/xstat.c: Likewise.
72277         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
72279         * sysdeps/unix/sysv/sigaction.c: Remove file.
72281         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
72282         (sysdep_headers): Remove variable.
72283         [termio.h not in sysdep_headers] (generated): Likewise.
72284         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
72285         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
72286         * sysdeps/unix/sysv/tcdrain.c: Likewise.
72287         * sysdeps/unix/sysv/tcflow.c: Likewise.
72288         * sysdeps/unix/sysv/tcflush.c: Likewise.
72289         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
72290         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
72291         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
72292         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
72293         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
72295         * sysdeps/unix/siglist.c: Remove file.
72297         * sysdeps/unix/getppid.S: Remove file.
72299         * sysdeps/unix/mkdir.c: Remove file.
72300         * sysdeps/unix/rmdir.c: Likewise.
72302 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
72304         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
72305         ERR_MAX value.
72306         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
72307         errlist-compat value.
72309 2012-04-18  David S. Miller  <davem@davemloft.net>
72311         * sysdeps/generic/memcopy.h (reg_char): Delete.
72312         * debug/strcat_chk.c: Use char, not reg_char.
72313         * debug/strcpy_chk.c: Likewise.
72314         * debug/strncat_chk.c: Likewise.
72315         * debug/strncpy_chk.c: Likewise.
72316         * string/memchr.c: Likewise.
72317         * string/memrchr.c: Likewise.
72318         * string/rawmemchr.c: Likewise.
72319         * string/strcat.c: Likewise.
72320         * string/strchr.c: Likewise.
72321         * string/strchrnul.c: Likewise.
72322         * string/strcmp.c: Likewise.
72323         * string/strcpy.c: Likewise.
72324         * string/strncat.c: Likewise.
72325         * string/strncmp.c: Likewise.
72326         * string/strncpy.c: Likewise.
72328 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
72330         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
72331         __builtin_memcopy is called when src and dest ranges are known to not
72332         overlap.
72334 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
72336         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
72337         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
72338         fwd_align_merge macro call.
72339         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
72340         bwd_align_merge macro call.
72341         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
72343 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
72345         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
72346         bwd_align_merge macros.
72347         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
72348         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
72349         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
72351 2012-04-18  David S. Miller  <davem@davemloft.net>
72353         * sysdeps/sparc/sparc64/memcopy.h: Delete.
72355 2012-04-18  Andreas Jaeger  <aj@suse.de>
72357         [BZ# 6794]
72358         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
72359         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
72360         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
72362         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
72363         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
72364         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
72366         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
72367         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
72368         Adjust for changed ldbl-128 files.
72370         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
72371         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
72372         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
72374 2012-04-17  David S. Miller  <davem@davemloft.net>
72376         * sysdeps/sparc/sparc32/memcopy.h: Delete.
72378 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
72380         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
72381         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
72382         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
72383         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
72384         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
72385         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
72387 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72389         [BZ #6794]
72390         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
72391         * math/libm-test.inc: Add ilogb errno and exception tests.
72392         * math/w_ilogb.c: New file: ilogb wrapper.
72393         * math/w_ilogbf.c: New file: ilogbf wrapper.
72394         * math/w_ilogbl.c: New file: ilogbl wrapper.
72395         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
72396         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
72397         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
72398         exception being thrown with 0.0 as argument.
72399         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
72400         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
72401         exception being thrown with 0.0 as argument.
72402         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
72403         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
72404         exception being thrown with 0.0 as argument.
72405         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
72406         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
72407         exception being thrown with 0.0 as argument.
72408         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
72409         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
72410         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
72411         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
72412         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
72413         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
72414         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
72415         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
72416         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
72418 2012-04-17  Petr Baudis  <pasky@ucw.cz>
72420         * include/sys/uio.h: Change __vector to __iovec to avoid clash
72421         with altivec.
72423 2012-04-16  Marek Polacek  <polacek@redhat.com>
72425         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
72427 2012-04-16  Marek Polacek  <polacek@redhat.com>
72429         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
72430         operands of fdivp instruction.
72432 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
72434         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
72435         * elf/tst-auditmod3b.c: Likewise.
72436         * elf/tst-auditmod4b.c: Likewise.
72437         * elf/tst-auditmod5b.c: Likewise.
72438         * elf/tst-auditmod6b.c: Likewise.
72439         * elf/tst-auditmod6c.c: Likewise.
72440         * elf/tst-auditmod7b.c: Likewise.
72441         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
72442         * sysdeps/x86_64/preconfigure.in: Likewise.
72443         * sysdeps/x86_64/preconfigure: Regenerated.
72445 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
72447         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
72448         __ILP32__.
72450 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
72452         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72453         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
72455 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
72457         [BZ #13973]
72458         * locale/iso-639.def: Fix gl language name. Spotted by
72459         Yaron Shahrabani.
72461 2012-04-12  Roland McGrath  <roland@hack.frob.com>
72463         [BZ #2074]
72464         * libio/libio.h (__io_write_fn): Update comment.
72466 2012-04-12  Petr Baudis  <pasky@ucw.cz>
72468         [BZ #2074]
72469         * stdio.texi (Hook Functions): The user provided writer function
72470         is not allowed to return -1.
72472 2012-04-11  David S. Miller  <davem@davemloft.net>
72474         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72476 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
72478         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
72479         Add a leading slash to rtkaio.
72481 2012-04-11  Jim Meyering  <meyering@redhat.com>
72483         [BZ #11959]
72484         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
72485         It is not necessarily an error to ignore fwrite's return
72486         value.  One can reliably use ferror to test for errors after
72487         the fact.
72489 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
72491         * bits/types.h (__snseconds_t): New type.
72492         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
72494         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
72495         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72496         (__SNSECONDS_T_TYPE): Likewise.
72497         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
72498         (__SNSECONDS_T_TYPE): Likewise.
72499         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72500         (__SNSECONDS_T_TYPE): Likewise.
72502 2012-04-10  Andreas Jaeger  <aj@suse.de>
72504         [BZ #2636]
72505         * manual/time.texi (Processor Time): Return type of times is
72506         elapsed real time since an arbitrary point in the past.
72507         (CPU Time): Move CLK_TCK from here...
72508         (Processor Time): ...to here.  Correct description.
72509         * manual/conf.texi (Constants for Sysconf): Correct description of
72510         _SC_CLK_TCK.
72512 2012-04-10  David S. Miller  <davem@davemloft.net>
72514         [BZ #13967]
72515         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
72516         where the is a gap between DT_REL(A) and DT_JMPREL.
72518 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
72520         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
72521         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
72522         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
72524 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
72526         * elf/dl-support.c (_dl_inhibit_cache): New variable.
72527         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
72528         (dl_main): Handle --inhibit-cache.
72529         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
72530         _dl_inhibit_cache.
72531         * elf/dl-load.c (_dl_map_object): Use it.
72532         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
72534 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
72536         [BZ #13872]
72537         * sysdeps/i386/fpu/e_powl.S (p78): New object.
72538         (__ieee754_powl): Saturate large exponents rather than testing for
72539         overflow of y*log2(x).
72540         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72541         * math/libm-test.inc (pow_test): Do not permit spurious overflow
72542         exceptions.
72544         [BZ #11521]
72545         * math/s_ctan.c: Include <float.h>.
72546         (__ctan): Avoid internal overflow or cancellation in calculating
72547         denominator.
72548         * math/s_ctanf.c: Likewise.
72549         * math/s_ctanl.c: Likewise.
72550         * math/s_ctanh.c: Likewise.
72551         * math/s_ctanhf.c: Likewise.
72552         * math/s_ctanhl.c: Likewise.
72553         * math/libm-test.inc (ctan_test): Add more tests.
72554         (ctanh_test): Likewise.
72555         * sysdeps/i386/fpu/libm-test-ulps: Update.
72556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72558 2012-04-09  Andreas Jaeger  <aj@suse.de>
72560         [BZ #6894]
72561         * manual/filesys.texi (Directory Entries): Mention that d_namlen
72562         is an optional BSD extension.
72564         [BZ #10254]
72565         * manual/stdio.texi (Opening Streams): Document additional fopen
72566         parameters.
72568 2012-04-09  Roland McGrath  <roland@hack.frob.com>
72570         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
72571         %eax without telling the compiler.
72573 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
72575         [BZ # 13963]
72576         * manual/install.texi: Use sourceware.org.
72578 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
72580         [BZ #13873]
72581         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
72582         (__ieee754_pow): Generate overflow and underflow using huge*huge
72583         and tiny*tiny rather than just returning constant infinity or zero
72584         for large exponents.
72585         * math/libm-test.inc (pow_test): Require overflow exceptions for
72586         applicable cases of large exponents.
72588         [BZ #706]
72589         * sysdeps/i386/fpu/e_pow.S (p10): New object.
72590         (__ieee754_pow): Use iterative multiplication algorithm only for
72591         integer exponents with absolute value below 1024.  Check for odd
72592         integer exponents when using algorithm for real exponents.
72593         * math/libm-test.inc (pow_test): Add more tests.
72594         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72596 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
72598         [BZ #13705]
72599         * math/libm-test.inc (exp_test): Do not allow overflow exception
72600         on underflow test.
72602 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
72604         [BZ #13705]
72605         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
72606         instead of __kernel_standard_f.
72608 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
72610         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
72611         * sysdeps/x86_64/memset_chk.S: Likewise.
72613 2012-04-08  Andreas Jaeger  <aj@suse.de>
72615         [BZ #10153]
72616         * manual/startup.texi (Environment Access): Describe return value
72617         for putenv and setenv.
72619         [BZ #6895]
72620         * manual/filesys.texi (Directory Entries): Add description for
72621         DT_LNK.
72623         [BZ #6890]
72624         * manual/filesys.texi (Directory Entries): Clarify that it's file
72625         system not operating system in the description of DT_UNKNOWN.
72627         [BZ #6578]
72628         * manual/syslog.texi (closelog): Fix reference, it's openlog.
72630 2012-04-08  Stephen Compall  <s11@member.fsf.org>
72632         [BZ #6649]
72633         * manual/llio.texi (Opening and Closing Files): Add cross
72634         reference to explain mode argument.
72636 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
72638         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
72639         * sysdeps/x86_64/memset_chk.S: Likewise.
72641 2012-04-07  David S. Miller  <davem@davemloft.net>
72643         * elf/elf.h (R_SPARC_WDISP10): Define.
72644         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
72645         R_SPARC_SIZE32.
72646         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
72647         R_SPARC_SIZE64 and R_SPARC_H34.
72649 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
72651         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
72652         conditions and remove no longer applicable assertion.
72654 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
72656         * bits/byteswap.h: Include <features.h>.
72657         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
72658         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
72660 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
72662         * bits/byteswap.h (__bswap_16): Removed.
72663         Include <bits/byteswap-16.h> to get __bswap_16.
72664         * sysdeps/i386/bits/byteswap.h: Likewise.
72665         * sysdeps/s390/bits/byteswap.h: Likewise.
72666         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72667         * bits/byteswap-16.h: New file.
72668         * sysdeps/i386/bits/byteswap-16.h: Likewise.
72669         * sysdeps/s390/bits/byteswap-16.h: Likewise.
72670         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
72671         * string/Makefile (headers): Add bits/byteswap-16.h.
72673 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
72675         [BZ #13895]
72676         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
72677         extra indirection.
72678         * nss/Makefile (tests-static, tests): Add tst-nss-static.
72679         * nss/tst-nss-static.c: New.
72681 2012-04-06  Robert Millan  <rmh@gnu.org>
72683         [BZ #6486]
72684         * manual/llio.texi (File Position Primitive): lseek
72685         refers to WHENCE when it really means OFFSET.
72687 2012-04-06  Andreas Jaeger  <aj@suse.de>
72689         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
72690         strncmp declarations.
72692         * abilist/libc.abilist: Add __poll and __ppoll.
72694 2012-04-05  David S. Miller  <davem@davemloft.net>
72696         * scripts/check-local-headers.sh: Accept a host triplet in the
72697         path matched by the exclude regexp.
72699         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
72700         definition.
72701         * sysdeps/powerpc/powerpc32/dl-machine.h
72702         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
72703         * sysdeps/s390/s390-32/dl-machine.h
72704         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72705         * sysdeps/sparc/sparc32/dl-machine.h
72706         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72707         * sysdeps/sparc/sparc64/dl-machine.h
72708         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72710         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
72711         lazy binding.
72712         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
72713         undefined symbol errors.
72715         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
72716         DT_NEEDED entries.
72718 2012-04-05  Michael Matz  <matz@suse.de>
72720         [BZ #13592]
72721         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
72723 2012-04-05  Andreas Jaeger  <aj@suse.de>
72725         [BZ #13908]
72726         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
72727         comment.
72729 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72731         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
72732         which ROUND is no valid rounding mode.
72734 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72736         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
72737         read again.
72738         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
72740 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72742         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
72743         an exception using FPU order intentionally.
72745 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72747         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
72748         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
72749         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
72750         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
72752 2012-04-05  Simon Josefsson  <simon@josefsson.org>
72754         [BZ #12340]
72755         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
72756         EINVAL when BUFLEN is too smal.
72758 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
72760         [BZ #13553]
72761         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
72762         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
72764 2012-04-03  Andreas Jaeger  <aj@suse.de>
72766         [BZ #13938]
72767         * manual/setjmp.texi (System V contexts): Fix sentence.
72769         [BZ #13926]
72770         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
72771         New macro for this case.
72772         [!__GNUC__] (__bswap_64): New inline function for this case.
72773         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72774         * bits/byteswap.h: Likewise.
72775         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
72776         ull, guard with __GLIBC_HAVE_LONG_LONG.
72778         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
72779         __GLIBC_HAVE_LONG_LONG.
72781         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
72782         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
72784 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
72786         [BZ #13691]
72787         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
72788         inptr and inend, rather than using last_ch.
72790 2012-04-02  David S. Miller  <davem@davemloft.net>
72792         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
72793         * stdio-common/printf-parse.h (read_int): Change return type to
72794         'int', return -1 on INT_MAX overflow.
72795         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
72796         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
72797         overflows INT_MAX.  Check for overflow of in-format-string precision
72798         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
72799         SIZE_MAX not INT_MAX for integer overflow test.
72800         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
72801         skip the construct in the format string but do not record anything.
72802         * stdio-common/bug22.c: Adjust to test both width/prevision
72803         INT_MAX overflow as well as total length INT_MAX overflow.  Check
72804         explicitly for proper errno values.
72806 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
72808         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
72809         CHAR_MAX.
72810         * string/test-strcmp.c [! WIDE]: Likewise.
72811         * time/tst-mktime2.c: Likewise for INT_MAX.
72812         * string/test-string.h: #include <sys/param.h> for MIN.
72814         * csu/init-first.c (__libc_init_first): Call __ctype_init.
72815         * sysdeps/i386/init-first.c (init): Likewise.
72816         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
72817         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
72818         * sysdeps/sh/init-first.c (init): Likewise.
72820 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
72822         * po/ru.po: Update from translation team.
72823         * po/vi.po: Likewise.
72825 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
72827         * resolv/nss_dns/dns-host.c: Merge copyright years.
72829 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72831         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
72832         Optimize memcpy with prefetch if
72833         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
72834         src, dst pointers have unequal 16 byte alignments.
72836 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
72838         [BZ #13928]
72839         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
72840         from a CNAME entry and return the minimum ttl for the query.
72841         (gaih_getanswer_slice): Likewise.
72843 2012-03-30  Jeff Law  <law@redhat.com>
72845         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
72846         due to long keys.
72847         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
72848         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
72850         * resolv/nss_dns/dns-host.c: Update copyright year.
72852 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
72854         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
72855         requests to save a system call.  Fix check that all bytes are sent.
72857         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
72858         comments for sendmmsg.
72860 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72862         [BZ #13691]
72863         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
72864         with only 1 character between 0x0041 and 0x01b0.
72865         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
72866         * wcsmbs/tst-mbsnrtowcs.c: New file.
72868 2012-03-29  David S. Miller  <davem@davemloft.net>
72870         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
72871         small copies by hand.
72873 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72875         [BZ #13761]
72876         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
72877         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
72878         group memberships.
72880 2012-03-28  David S. Miller  <davem@davemloft.net>
72882         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
72883         that branches into memcpy.
72884         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
72885         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
72886         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
72887         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
72888         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
72889         bits.
72890         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
72891         implementation too.
72892         * sysdeps/sparc/mempcpy.S: New file.
72894         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
72895         the IFUNC routine in the libc case.
72896         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
72898         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
72899         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
72900         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
72901         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
72902         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
72903         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
72904         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
72905         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
72907         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
72908         loop to 256 bytes instead of 64 bytes and fix test signedness.
72910         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
72911         * sysdeps/sparc/sparc32/Makefile: rather than here...
72912         * sysdeps/sparc/sparc64/Makefile: and here.
72914 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
72916         * malloc/mallocbug.c: Avoid warnings about unused variables.
72918 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
72920         [BZ #13760]
72921         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
72922         in the right place. Discard and retry query if response is
72923         larger than input buffer size.
72925 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
72927         [BZ #369]
72928         [BZ #2678]
72929         [BZ #3866]
72930         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
72931         x for large integer exponent.
72932         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
72933         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
72934         sign of result as needed afterwards.
72935         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
72936         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
72937         result for underflowing pow the same as for overflow.
72938         (__kernel_standard_l): Handle powl overflow and underflow here
72939         rather than calling __kernel_standard.
72940         * math/libm-test.inc (pow_test): Add more tests.
72942         [BZ #3868]
72943         [BZ #13879]
72944         [BZ #13910]
72945         [BZ #13911]
72946         [BZ #13912]
72947         [BZ #13913]
72948         [BZ #13915]
72949         [BZ #13916]
72950         [BZ #13917]
72951         [BZ #13918]
72952         [BZ #13919]
72953         [BZ #13920]
72954         [BZ #13921]
72955         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
72956         * sysdeps/ieee754/k_standard.c: Include <float.h>.
72957         (__kernel_standard_l): New function.
72958         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
72959         __kernel_standard.
72960         * math/w_acosl.c (__acosl): Likewise.
72961         * math/w_asinl.c (__asinl): Likewise.
72962         * math/w_atan2l.c (__atan2l): Likewise.
72963         * math/w_atanhl.c (__atanhl): Likewise.
72964         * math/w_coshl.c (__coshl): Likewise.
72965         * math/w_exp10l.c (__exp10l): Likewise.
72966         * math/w_exp2l.c (__exp2l): Likewise.
72967         * math/w_fmodl.c (__fmodl): Likewise.
72968         * math/w_hypotl.c (__hypotl): Likewise.
72969         * math/w_j0l.c (__j0l, __y0l): Likewise.
72970         * math/w_j1l.c (__j1l, __y1l): Likewise.
72971         * math/w_jnl.c (__jnl, __ynl): Likewise.
72972         * math/w_lgammal.c (__lgammal): Likewise.
72973         * math/w_log10l.c (__log10l): Likewise.
72974         * math/w_log2l.c (__log2l): Likewise.
72975         * math/w_logl.c (__logl): Likewise.
72976         * math/w_powl.c (__powl): Likewise.
72977         * math/w_remainderl.c (__remainderl): Likewise.
72978         * math/w_scalbl.c (sysv_scalbl): Likewise.
72979         * math/w_sinhl.c (__sinhl): Likewise.
72980         * math/w_sqrtl.c (__sqrtl): Likewise.
72981         * math/w_tgammal.c (__tgammal): Likewise.
72982         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
72983         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
72984         * math/libm-test.inc (acos_test): Add more tests.
72985         (acosh_test): Likewise.
72986         (asin_test): Likewise.
72987         (atanh_test): Likewise.
72988         (exp_test): Likewise.
72989         (exp10_test): Likewise.
72990         (exp2_test): Likewise.
72991         (expm1_test): Likewise.
72992         (lgamma_test): Likewise.
72993         (log_test): Likewise.
72994         (log10_test): Likewise.
72995         (log1p_test): Likewise.
72996         (log2_test): Likewise.
72997         (pow_test): Do not allow some spurious overflow exceptions.
72998         (sqrt_test): Add more tests.
72999         (tgamma_test): Likewise.
73000         (y0_test): Likewise.
73001         (y1_test): Likewise.
73002         (yn_test): Likewise.
73004 2012-03-27  Anton Blanchard  <anton@samba.org>
73006         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
73007         MAP_HUGETLB.
73008         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
73009         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
73010         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
73012 2012-03-27  David S. Miller  <davem@davemloft.net>
73014         * conform/Makefile: Run run-conformtest.sh using $(BASH).
73016         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
73017         have-as-vis3 check.
73019 2012-03-27  Andreas Jaeger  <aj@suse.de>
73021         * sysdeps/x86_64/elf/configure.in: Moved to ...
73022         * sysdeps/x86_64/configure.in: ... here.
73023         * sysdeps/x86_64/elf/start.S: Moved to ...
73024         * sysdeps/x86_64/start.S: ... here.
73025         * sysdeps/x86_64/elf/configure: Delete.
73027         * sysdeps/x86_64/configure.in: Merge contents from
73028         sysdeps/i386/configure.in (without i686 check).
73030         * sysdeps/i386/elf/Versions: Merge into ...
73031         * sysdeps/i386/Versions: ... this.
73032         * sysdeps/i386/elf/Versions: Delete file.
73033         * sysdeps/i386/elf/start.S: Moved to ...
73034         * sysdeps/i386/start.S: ...here.
73035         * sysdeps/i386/elf/configure.in: Merge into...
73036         * sysdeps/i386/configure.in: ...here.
73037         * sysdeps/i386/elf/configure.in: Delete file.
73038         * sysdeps/i386/elf/configure: Delete file.
73040         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
73041         * debug/backtracesyms.c: ... here.
73042         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
73043         * debug/backtracesymsfd.c: ... here.
73044         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
73045         * sysdeps/generic/ifunc-sel.h: ... here.
73047         * sysdeps/unix/i386/start.c: Delete file.
73048         * sysdeps/unix/sparc/start.c: Delete file.
73049         * sysdeps/unix/start.c: Delete file.
73051         * sysdeps/sh/elf/configure.in: Moved to ...
73052         * sysdeps/sh/configure.in: ... here.
73053         * sysdeps/sh/elf/start.S: Moved to ...
73054         * sysdeps/sh/start.S: ... here.
73055         * sysdeps/sh/elf/configure: Delete file.
73057         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
73058         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
73059         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
73060         * sysdeps/powerpc/powerpc64/entry.h: ... here.
73061         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
73062         * sysdeps/powerpc/powerpc64/start.S: here.
73063         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
73064         * sysdeps/powerpc/powerpc64/Makefile: ... this.
73065         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
73066         * sysdeps/powerpc/powerpc64/configure.in: ... this.
73067         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
73069         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
73070         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
73071         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
73072         * sysdeps/powerpc/powerpc32/start.S: ... here.
73073         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
73074         * sysdeps/powerpc/powerpc32/configure.in: ... this.
73075         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
73077         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
73078         * sysdeps/powerpc/ifunc-sel.h: ... here.
73079         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
73080         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
73082         * sysdeps/sparc/elf/configure.in: Moved to ...
73083         * sysdeps/sparc/configure.in: ... here.
73084         * sysdeps/sparc/elf/configure: Delete file.
73085         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
73086         * sysdeps/sparc/sparc32/start.S: ... here.
73087         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
73088         * sysdeps/sparc/sparc64/start.S: ... here.
73089         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
73090         * sysdeps/sparc/sparc32/Makefile: ... this.
73091         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
73092         * sysdeps/sparc/sparc64/Makefile: ... this.
73094         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
73095         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
73096         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
73097         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
73098         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
73099         * sysdeps/s390/s390-32/setjmp.S: ... here.
73100         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
73101         * sysdeps/s390/s390-32/configure.in: ... here.
73102         * sysdeps/s390/s390-32/elf/configure: Delete file.
73103         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
73104         * sysdeps/s390/s390-32/start.S: ... here.
73106         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
73107         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
73108         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
73109         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
73110         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
73111         * sysdeps/s390/s390-64/setjmp.S: ... here.
73112         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
73113         * sysdeps/s390/s390-64/configure.in: ... here
73114         * sysdeps/s390/s390-64/elf/configure: Delete file.
73115         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
73116         * sysdeps/s390/s390-64/start.S: ... here.
73117         * sysdeps/s390/s390-64/elf/configure: Delete.
73119         * configure.in: Remove support for elf directories in sysdeps.
73121         * configure: Regenerated.
73122         * sysdeps/i386/configure: Regenerated.
73123         * sysdeps/powerpc/powerpc32/configure: Regenerated.
73124         * sysdeps/powerpc/powerpc64/configure: Regenerated.
73125         * sysdeps/s390/s390-32/configure: Regenerated.
73126         * sysdeps/s390/s390-64/configure: Regenerated.
73127         * sysdeps/sh/configure: Regenerated.
73128         * sysdeps/sparc/configure: Regenerated.
73129         * sysdeps/x86_64/configure: Regenerated.
73131 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
73133         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73135         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
73136         denormal result into account.
73138 2012-03-25  Roland McGrath  <roland@hack.frob.com>
73140         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
73141         Reported by Allan McRae <allan@archlinux.org>.
73143 2012-03-23  Jeff Law  <law@redhat.com>
73145         * nss/getnssent.c (__nss_getent): Fix typo.
73147 2012-03-23  David S. Miller  <davem@davemloft.net>
73149         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73151 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
73153         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
73154         to pad to uint64_t for each field.
73155         (dl_tls_index): Replace unsigned long with uint64_t.
73157 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
73158         Paul Pluzhnikov  <ppluzhnikov@google.com>
73160         [BZ #6528]
73161         * grp/Makefile (otherlibs): Don't set it.
73162         * inet/Makefile (otherlibs): Likewise.
73163         * login/Makefile (otherlibs): Likewise.
73164         * nscd/Makefile (otherlibs): Likewise.
73165         * posix/Makefile (otherlibs): Likewise.
73166         * pwd/Makefile (otherlibs): Likewise.
73167         * rt/Makefile (otherlibs): Likewise.
73168         * sunrpc/Makefile (otherlibs): Likewise.
73169         * nss/Makefile (otherlibs): Likewise.
73170         Add libnss_files to routines and static-only-routines.
73171         ($(objpfx)getent): Remove rule.
73172         * resolv/Makefile: Add libnss_dns and libresolv to routines and
73173         static-only-routines.
73175 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
73177         [BZ #13892]
73178         * math/s_cexp.c: Include <float.h>.
73179         (__cexp): Handle exp result overflowing not necessarily
73180         overflowing both real and imaginary parts of result.
73181         * math/s_cexpf.c: Likewise.
73182         * math/s_cexpl.c: Likewise.
73183         * math/libm-test.inc (cexp_test): Add more tests.
73184         * sysdeps/i386/fpu/libm-test-ulps: Update.
73185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73187 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
73189         * include/link.h (ELFW): New macro.
73190         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
73191         Replace ELF64_R_TYPE with ELFW(R_TYPE).
73193 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
73195         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
73196         with uint64_t.
73198 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
73200         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
73201         declaration.
73202         (struct La_x32_retval): Likewise.
73204 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
73206         * sysdeps/x86_64/preconfigure.in: New file.
73207         * sysdeps/x86_64/preconfigure: New generated file.
73209 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
73211         [BZ #13824]
73212         * math/e_exp2l.c: Include <float.h>.
73213         (__ieee754_exp2l): Handle overflow and underflow cases
73214         separately.  Only pass fractional part of argument to
73215         __ieee754_expl.
73216         * math/libm-test.inc (exp2_test): Add more tests.
73218         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
73219         negating x to take absolute value.
73220         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
73221         Likewise.
73222         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
73223         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
73224         Likewise.
73225         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
73226         computing low part if x was negated.
73227         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
73229 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
73231         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
73232         la_x32_gnu_pltexit.
73233         (pltexit): Cast int_retval to ptrdiff_t.
73234         * elf/tst-auditmod3b.c: Likewise.
73235         * elf/tst-auditmod4b.c: Likewise.
73236         * elf/tst-auditmod5b.c: Likewise.
73237         * elf/tst-auditmod6b.c: Likewise.
73238         * elf/tst-auditmod6c.c: Likewise.
73239         * elf/tst-auditmod7b.c: Likewise.
73241         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
73242         and x32_gnu_pltexit.
73244         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
73245         __ELF_NATIVE_CLASS.
73246         (La_x32_regs): New macro.
73247         (La_x32_retval): Likewise.
73248         (la_x32_gnu_pltenter): New function prototype.
73249         (la_x32_gnu_pltexit): Likewise.
73251 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
73253         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
73254         exponent.
73256         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73258         * configure.in (libc_cv_cc_nofma): Check for option to disable
73259         generation of FMA instructions.
73260         * configure: Regenerate.
73261         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
73262         * sysdeps/ieee754/dbl-64/Makefile: New file.
73263         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
73264         Remove brandred-fma4.
73265         (CFLAGS-brandred-fma4.c): Remove.
73266         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
73267         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
73268         define.
73269         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
73270         define.
73272 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
73274         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
73275         LLONG_MAX != LONG_MAX.
73276         (_itoa_word): Use _ITOA_WORD_TYPE on value.
73277         (_fitoa_word): Likewise.
73278         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
73279         LLONG_MAX != LONG_MAX.
73280         * stdio-common/_itowa.h: Include <_itoa.h>.
73281         (_itowa_word): Use _ITOA_WORD_TYPE on value.
73282         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
73283         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
73284         only if not defined.
73285         (_ITOA_WORD_TYPE): Likewise.
73286         (_itoa_word): Use _ITOA_WORD_TYPE on value.
73287         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
73289 2012-03-21  David S. Miller  <davem@davemloft.net>
73291         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73293 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
73295         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
73296         of x86_64 when setting libc_cv_slibdir, libdir and
73297         libc_cv_localedir.
73298         * sysdeps/unix/sysv/linux/configure: Regenerated.
73300 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
73302         * manual/lang.texi (Old Varargs): Remove section.
73303         (How Variadic): Update menu.
73304         (va_start): Do not mention varargs.h.
73306 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
73307             Joseph Myers  <joseph@codesourcery.com>
73309         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
73310         link test.
73311         * configure: Regenerated.
73313 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
73315         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
73316         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
73317         conformtest.pl
73319 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
73321         * NOTES: Remove.
73322         * Makefile (files-for-dist): Remove NOTES.
73323         (NOTES): Remove rule.
73324         * README: Don't refer to NOTES.
73325         * manual/creature.texi: Don't include macros.texi.
73326         * manual/intro.texi (creature.texi): Remove comment referring to
73327         NOTES.
73329         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
73330         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
73331         * configure: Regenerated.
73332         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
73333         LIBC_TRY_CC_OPTION.
73334         (libc_cv_as_i686): Likewise.
73335         (libc_cv_cc_avx): Likewise.
73336         (libc_cv_cc_sse2avx): Likewise.
73337         (libc_cv_cc_fma4): Likewise.
73338         (libc_cv_cc_novzeroupper): Likewise.
73339         * sysdeps/i386/configure: Regenerated.
73341         [BZ #13883]
73342         * sysdeps/i386/fpu/s_cexp.S: Remove.
73343         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
73344         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
73345         * math/libm-test.inc (cexp_test): Add more tests.
73346         * sysdeps/i386/fpu/libm-test-ulps: Update.
73347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73349 2012-03-21  Allan McRae  <allan@archlinux.org>
73351         * timezone/Makefile: Do not install iso3166.tab and zone.tab
73353 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
73355         [BZ #13871]
73356         * math/w_exp2.c: Do not include <float.h>.
73357         (o_threshold, u_threshold): Remove.
73358         (__exp2): Calculate result before checking finiteness and calling
73359         __kernel_standard.
73360         * math/w_exp2f.c: Likewise.
73361         * math/w_exp2l.c: Likewise.
73362         * math/libm-test.inc (exp2_test): Require overflow exception for
73363         1e6 input.
73365         [BZ #3866]
73366         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
73367         range of signed 64-bit integers before using fistpll.  Remove
73368         checks for whether integers fit in mantissa bits.
73369         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
73370         the range of signed 32-bit integers before using fistpl.  Remove
73371         checks for whether integers fit in mantissa bits.
73372         * sysdeps/i386/fpu/e_powl.S (p64): New object.
73373         (__ieee754_powl): Test for y outside the range of signed 64-bit
73374         integers before using fistpll.  Reduce 64-bit values to 63-bit
73375         ones as needed.
73376         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
73377         divide-by-zero is raised for zero to large negative powers.
73378         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
73379         (__ieee754_powl): Test for y outside the range of signed 64-bit
73380         integers before using fistpll.  Reduce 64-bit values to 63-bit
73381         ones as needed.
73382         * math/libm-test.inc (pow_test): Add more tests.
73384 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
73386         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
73387         <stdio-common/_itoa.h>.
73388         * debug/segfault.c: Likewise.
73389         * elf/dl-cache.c: Likewise.
73390         * elf/dl-minimal.c: Likewise.
73391         * elf/dl-misc.c: Likewise.
73392         * elf/dl-sysdep.c: Likewise.
73393         * elf/dl-version.c: Likewise.
73394         * elf/rtld.c: Likewise.
73395         * hurd/hurdsock.c: Likewise.
73396         * hurd/lookup-retry.c: Likewise.
73397         * malloc/malloc.c: Likewise.
73398         * malloc/mtrace.c: Likewise.
73399         * nscd/nscd_getgr_r.c: Likewise.
73400         * nscd/nscd_getpw_r.c: Likewise.
73401         * nscd/nscd_getserv_r.c: Likewise.
73402         * posix/getopt_init.c: Likewise.
73403         * posix/wordexp.c: Likewise.
73404         * stdio-common/_itoa.c: Likewise.
73405         * stdio-common/printf_fphex.c: Likewise.
73406         * stdio-common/vfprintf.c: Likewise.
73407         * string/_strerror.c: Likewise.
73408         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
73409         * sysdeps/i386/i686/hp-timing.h: Likewise.
73410         * sysdeps/mach/_strerror.c: Likewise.
73411         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
73412         * sysdeps/mach/hurd/sethostid.c: Likewise.
73413         * sysdeps/mach/hurd/xmknodat.c: Likewise.
73414         * sysdeps/mach/xpg-strerror.c: Likewise.
73415         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
73416         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
73417         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
73418         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
73419         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
73420         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
73421         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
73422         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
73423         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
73424         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
73425         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
73426         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
73427         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
73428         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
73429         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
73430         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
73431         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
73432         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
73433         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
73434         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
73435         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
73437         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
73439         * stdio-common/_itoa.h: Moved to ...
73440         * sysdeps/generic/_itoa.h: Here.
73442         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
73444         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
73445         instead of "_itoa.h" and "_itowa.h".
73446         * stdio-common/vfprintf.: Likewise.
73448 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
73450         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
73451         <bits/wordsize.h>.
73452         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
73453         (__signbit): Likwise.
73454         (llrintf): Likwise.
73455         (llrint): Likwise.
73457 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
73459         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
73460         __WORDSIZE != 64.
73462 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
73464         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
73465         OVERFLOW_EXCEPTION_OK.
73466         * math/libm-test.inc ("Philosophy"): Update comment about
73467         exception testing.
73468         (OVERFLOW_EXCEPTION): Define.
73469         (OVERFLOW_EXCEPTION_OK): Likewise.
73470         (INVALID_EXCEPTION_OK): Renumber.
73471         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
73472         (IGNORE_ZERO_INF_SIGN): Likewise.
73473         (test_exceptions): Handle FE_OVERFLOW.
73474         (exp10_test): Expect overflow exceptions.
73475         (exp2_test): Likewise.
73476         (expm1_test): Likewise.
73477         (nextafter_test): Likewise.
73478         (pow_test): Likewise.
73479         (scalbn_test): Likewise.
73480         (scalbln_test): Likewise.
73482 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73484         * sysdeps/x86_64/bits/atomic.h
73485         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
73486         64bit integer.
73487         (atomic_exchange_acq): Likewise.
73488         (__arch_exchange_and_add_body): Likewise.
73489         (__arch_add_body): Likewise.
73490         (atomic_add_negative): Likewise.
73491         (atomic_add_zero): Likewise.
73493 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73495         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
73496         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
73498 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73500         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
73501         Check __x86_64__ instead of __WORDSIZE.
73503 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73505         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
73507 2012-03-19  David S. Miller  <davem@davemloft.net>
73509         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73511         * sysdeps/sparc/fpu/fenv_private.h: New file.
73512         * sysdeps/sparc/fpu/math_private.h: Use it.
73513         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
73514         Remove.
73515         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
73516         (libc_feholdexcept_setroundl): Remove.
73517         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
73518         Remove.
73519         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
73520         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
73522 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73524         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
73525         int64_t instead of long int.
73526         (INSERT_WORDS64): Likwise.
73528 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73530         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
73531         _Unwind_GetCFA return to _Unwind_Ptr first.
73533 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
73535         [BZ #13629]
73536         * math/s_clog.c: Include <float.h>.
73537         (__clog): Scale large or subnormal inputs.
73538         * math/s_clogf.c: Likewise.
73539         * math/s_clogl.c: Likewise.
73540         * math/s_clog10.c: Include <float.h>.
73541         (M_LOG10_2): Define.
73542         (__clog10): Scale large or subnormal inputs.
73543         * math/s_clog10f.c: Likewise.
73544         * math/s_clog10l.c: Likewise.
73545         * math/libm-test.inc (clog_test): Add more tests.
73546         (clog10_test): Likewise.
73547         * sysdeps/i386/fpu/libm-test-ulps: Update.
73548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73550         [BZ #11451]
73551         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
73552         x and y.
73553         * math/libm-test.inc (atan2_test): Add another test.
73555         * Makerules (common-objdir-compile): Remove.
73556         * sysdeps/unix/Makefile (config-generated): Do not add
73557         $(unix-generated) to variable.
73558         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
73559         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
73560         Remove rule.
73561         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
73562         Likewise.
73563         [generic bits/local_lim.h] (before-compile): Do not append to
73564         variable.
73565         [generic bits/local_lim.h] (common-generated): Likewise.
73566         [generic sys/param.h] (before-compile): Do not append to variable.
73567         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
73568         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
73569         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
73570         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
73571         include.
73572         [generic sys/param.h] (sys/param.h-includes): Remove variable.
73573         [generic sys/param.h] (sys/param.h-includes): Remove rule.
73574         [generic sys/param.h] ($(addprefix
73575         $(common-objpfx),$(sys/param.h-includes))): Likewise.
73576         [generic sys/param.h] (common-generated): Do not append to
73577         variable.
73578         [generic sys/param.h] (sysdep_headers): Likewise.
73579         [generic bits/errno.h] (before-compile): Do not append to
73580         variable.
73581         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
73582         rule.
73583         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
73584         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
73585         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
73586         [generic bits/errno.h] (common-generated): Do not append to
73587         variable.
73588         [generic bits/ioctls.h] (before-compile): Do not append to
73589         variable.
73590         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
73591         rule.
73592         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
73593         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
73594         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
73595         rule.
73596         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
73597         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
73598         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
73599         [generic bits/ioctls.h] (common-generated): Do not append to
73600         variable.
73601         [generic sys/syscall.h] (syscall.h): Remove variable.
73602         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
73603         rule.
73604         [generic sys/syscall.h] (before-compile): Do not append to
73605         variable.
73606         [generic sys/syscall.h] (common-generated): Likewise.
73607         * sysdeps/unix/errnos-tmpl.c: Remove file.
73608         * sysdeps/unix/errnos.awk: Likewise.
73609         * sysdeps/unix/ioctls-tmpl.c: Likewise.
73610         * sysdeps/unix/ioctls.awk: Likewise.
73611         * sysdeps/unix/mk-local_lim.c: Likewise.
73612         * sysdeps/unix/snarf-ioctls: Likewise.
73614 2012-03-19  Richard Henderson  <rth@twiddle.net>
73616         * sysdeps/i386/fpu/fenv_private.h: New file.
73617         * sysdeps/i386/fpu/math_private.h: Use it.
73618         (math_opt_barrier, math_force_eval): Remove.
73619         (libc_feholdexcept_setround_53bit): Remove.
73620         (libc_feupdateenv_53bit): Remove.
73621         * sysdeps/x86_64/fpu/math_private.h: Likewise.
73622         (math_opt_barrier, math_force_eval): Remove.
73623         (libc_feholdexcept): Remove.
73624         (libc_feholdexcept_setround): Remove.
73625         (libc_fetestexcept, libc_fesetenv): Remove.
73626         (libc_feupdateenv_test): Remove.
73627         (libc_feupdateenv, libc_feholdsetround): Remove.
73628         (libc_feresetround): Remove.
73630         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
73631         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
73633         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
73634         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
73635         (libc_feupdateenv_testl): New.
73636         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
73637         (libc_feupdateenv_testf): New.
73638         (libc_feupdateenv): Use libc_feupdateenv_test.
73639         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
73640         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
73642         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
73643         (libc_feholdsetroundf, libc_feholdsetroundl): New.
73644         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
73645         (libc_feresetround_noex): New.
73646         (libc_feresetround_noexf): New.
73647         (libc_feresetround_noexl): New.
73648         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
73649         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
73650         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
73651         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
73652         SET_RESTORE_ROUND.
73653         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
73654         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
73655         (__cos): Likewise.
73656         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
73657         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
73658         SET_RESTORE_ROUND_NOEX.
73659         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
73660         SET_RESTORE_ROUND_NOEXF.
73661         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
73662         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
73663         (libc_feholdsetroundf): New.
73664         (libc_feresetround, libc_feresetroundf): New.
73666         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
73667         (libc_feholdexcept_setround_53bit): Convert from macro to function.
73668         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
73670         * sysdeps/generic/math_private.h: Include <fenv.h>.
73671         (default_libc_feholdexcept): New.
73672         (default_libc_feholdexcept_setround): New.
73673         (default_libc_fesetenv, default_libc_feupdateenv): New.
73674         (libc_feholdexcept): Only define if undefined.
73675         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
73676         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
73677         (libc_feholdexcept_setroundl): Likewise.
73678         (libc_feholdexcept_setround_53bit): Likewise.
73679         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
73680         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
73681         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
73682         (libc_feupdateenv_53bit): Likewise.
73683         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
73684         (libc_feholdexcept): Convert from macro to inline function.
73685         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
73686         (libc_fesetenv, libc_feupdateenv): Likewise.
73688         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
73689         not previously defined.
73690         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
73691         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
73692         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
73693         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
73694         * sysdeps/ieee754/flt-32/math_private.h: New file.
73695         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
73696         math_private.h below SET_FLOAT_WORD.
73697         (__isnan, __isinf_ns, __finite): Remove.
73698         (__isnanf, __isinf_nsf, __finitef): Remove.
73700 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
73702         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73704 2012-03-17  David S. Miller  <davem@davemloft.net>
73706         [BZ #6471]
73707         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
73708         for 2.16.
73710 2012-03-16  David S. Miller  <davem@davemloft.net>
73712         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
73713         warnings.
73715         [BZ #6471]
73716         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
73717         properly.
73718         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
73719         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
73720         sysdep_routines when subdir is sysvipc.
73721         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
73722         __getshmlba helper.
73724         * sysdeps/sparc/fpu/libm-test/ulps: Update.
73726 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73728         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
73729         [__LP64__].
73731 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73733         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
73734         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
73735         (__lround): Renamed to ...
73736         (__llround): This.  Replace long int with long long int.
73737         Define lround functions as aliases of llround functions.
73738         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
73740 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73742         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
73743         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
73744         adresses to uintptr_t.  Replace "long int" and "unsigned long
73745         int" with "greg_t" on va_arg.
73747 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73749         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
73750         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
73752         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
73753         Move e_machine check before EI_CLASS check.  Handle x32
73754         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
73755         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
73756         SKIP_EM_IA_64 and include
73757         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
73759         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
73760         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
73761         (add_system_dir): New macro.
73763         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
73764         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
73766 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
73768         [BZ #2551]
73769         [BZ #2552]
73770         [BZ #2553]
73771         [BZ #2554]
73772         [BZ #2562]
73773         [BZ #2563]
73774         [BZ #2565]
73775         [BZ #2566]
73776         [BZ #2576]
73777         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
73778         (y0): Likewise.
73779         * math/w_j0f.c (j0f): Likewise.
73780         (y0f): Likewise.
73781         * math/w_j0l.c (__j0l): Likewise.
73782         (__y0l): Likewise.
73783         * math/w_j1.c (j1): Likewise.
73784         (y1): Likewise.
73785         * math/w_j1f.c (j1f): Likewise.
73786         (y1f): Likewise.
73787         * math/w_j1l.c (__j1l): Likewise.
73788         (__y1l): Likewise.
73789         * math/w_jn.c (jn): Likewise.
73790         (yn): Likewise.
73791         * math/w_jnf.c (jnf): Likewise.
73792         (ynf): Likewise.
73793         * math/w_jnl.c (__jnl): Likewise.
73794         (__ynl): Likewise.
73795         * math/libm-test.inc (j0_test): Add more tests.
73796         (j1_test): Likewise.
73797         (jn_test): Likewise.  Add trailing semicolon to existing test.
73798         (y0_test): Likewise.
73799         (y1_test): Likewise.
73800         * sysdeps/i386/fpu/libm-test-ulps: Update.
73801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73803         [BZ #13851]
73804         [BZ #13854]
73805         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
73806         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
73807         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
73808         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
73809         (__tanl): Set errno for infinite argument.
73810         * sysdeps/i386/fpu/mptan.c: Remove.
73811         * sysdeps/i386/fpu/s_tan.S: Likewise.
73812         * sysdeps/i386/fpu/s_tanl.S: Likewise.
73813         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
73814         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
73815         * math/libm-test.inc (tan_test): Add more tests and enable more
73816         tests for double and long double.
73817         * sysdeps/i386/fpu/libm-test-ulps: Update.
73818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73820 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
73822         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
73823         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
73825 2012-03-16  Roland McGrath  <roland@hack.frob.com>
73827         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
73828         * configure.in: Use it for both main tree and add-ons.
73829         * configure: Regenerated.
73831 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73833         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
73835 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
73837         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
73838         in comment.
73840         [BZ #13851]
73841         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
73842         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
73843         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
73844         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
73845         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
73846         infinite argument.
73847         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
73848         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
73849         != 0 for prec == 2.
73850         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
73851         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
73852         * sysdeps/i386/fpu/s_cosl.S: Likewise.
73853         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
73854         * sysdeps/i386/fpu/s_sinl.S: Likewise.
73855         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
73856         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
73857         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
73858         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
73859         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
73860         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
73861         * math/libm-test.inc (cos_test): Add more tests and enable more
73862         tests for long double.
73863         (sin_test): Likewise.
73864         (sincos_test): Likewise.
73865         * sysdeps/i386/fpu/libm-test-ulps: Update.
73866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73868 2012-03-16  David S. Miller  <davem@davemloft.net>
73870         * sysdeps/sparc/fpu/math_private.h: New file.
73872 2012-03-15  David S. Miller  <davem@davemloft.net>
73874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
73875         file.
73876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
73877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
73878         file.
73879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
73880         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
73881         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
73882         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
73883         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
73884         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
73885         sysdep routines.
73886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
73888         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
73889         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
73891         * sysdeps/sparc/sparc-ifunc.h: New file.
73892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
73893         sparc-ifunc.h
73894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
73895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
73896         Likewise.
73897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
73898         Likewise.
73899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
73900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
73901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
73902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
73903         Likewise.
73904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
73905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
73906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
73907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
73908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
73909         Likewise.
73910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
73911         Likewise.
73912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
73913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
73914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
73915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
73916         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
73917         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
73918         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
73919         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
73920         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
73921         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
73922         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
73923         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
73924         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
73925         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
73926         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
73927         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
73928         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
73929         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
73930         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
73931         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
73932         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
73933         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
73934         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
73935         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
73937 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
73939         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
73940         scaling.
73941         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73943 2012-03-15  Andreas Jaeger  <aj@suse.de>
73945         [BZ #13852]
73946         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
73947         ieee754/flt-32 implementation for sin, cos and sincos.
73948         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
73949         * sysdeps/i386/fpu/s_cosf.S: Likewise.
73950         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
73951         * sysdeps/i386/fpu/s_sinf.S: Likewise.
73952         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
73953         ieee754/flt-32 implementation for tan.
73955         * math/libm-test.inc (cos_test): Enable some large input tests for
73956         float as well
73957         (sin_test): Likewise.
73958         (sincos_test): Likewise.
73959         (tan_test): Add tests for large input.
73961         * sysdeps/i386/fpu/libm-test-ulps: Update.
73963 2012-03-15  Andreas Jaeger  <aj@suse.de>
73965         [BZ #13658]
73966         * math/libm-test.inc (cos_test): Add more test cases.
73967         (sin_test): Likewise.
73968         (sincos_test): Likewise.
73970 2012-03-15  Andreas Jaeger  <aj@suse.de>
73972         [BZ #13837]
73973         * math/libm-test.inc (cos_test): Add a test case for large input
73974         value.
73975         (sin_test): Likewise.
73976         (sincos_test): Likewise.
73978 2012-03-15  Andreas Jaeger  <aj@suse.de>
73979             Joseph Myers  <joseph@codesourcery.com>
73981         [BZ #13658]
73982         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
73983         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
73984         * sysdeps/i386/fpu/branred.c: Likewise.
73985         * sysdeps/i386/fpu/dosincos.c: Likewise.
73986         * sysdeps/i386/fpu/mpa.c: Likewise.
73987         * sysdeps/i386/fpu/s_cos.S: Likewise.
73988         * sysdeps/i386/fpu/s_sin.S: Likewise.
73989         * sysdeps/i386/fpu/s_sincos.S: Likewise.
73990         * sysdeps/i386/fpu/sincos32.c: Likewise.
73992         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
73993         Define.
73994         (libc_feupdateenv_53bit): Define.
73995         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
73996         Define.
73997         (libc_feupdateenv_53bit): Define.
73999         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
74000         53 bit (without extend i386 double precision).
74002         * math/libm-test.inc (sincos_test): Add tests for large input.
74003         (sin): Likewise.
74004         (cos): Likewise.
74006         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
74008 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
74010         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74012 2012-03-15  David S. Miller  <davem@davemloft.net>
74014         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
74015         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
74016         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
74017         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
74018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
74019         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
74020         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
74021         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
74022         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
74023         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
74024         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
74025         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
74026         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
74027         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
74028         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
74029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
74030         file.
74031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
74032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
74033         file.
74034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
74035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
74036         file.
74037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
74038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
74039         file.
74040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
74041         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
74042         fmin/fmax sysdep routines.
74043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
74045 2012-03-14  David S. Miller  <davem@davemloft.net>
74047         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
74048         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
74049         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
74050         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
74051         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
74052         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
74053         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
74054         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
74055         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
74056         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
74057         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
74058         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
74059         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
74060         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
74061         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
74062         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
74063         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
74064         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
74065         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
74066         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
74067         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
74068         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
74069         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
74070         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
74071         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
74072         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
74073         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
74074         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
74075         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
74076         routines.
74077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
74078         file.
74079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
74080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
74081         file.
74082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
74083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
74084         file.
74085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
74086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
74087         file.
74088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
74089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
74090         file.
74091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
74092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
74093         file.
74094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
74095         file.
74096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
74097         file.
74098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
74099         file.
74100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
74101         New file.
74102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
74103         file.
74104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
74105         file.
74106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
74107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
74108         file.
74109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
74110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
74111         file.
74112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
74113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
74114         file.
74115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
74116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
74117         VIS3 routines.
74119         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
74120         New file.
74122         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74124         * sysdeps/sparc/configure.in: New file.
74125         * sysdeps/sparc/configure: Generate.
74126         * configure.in (libc_cv_sparc_as_vis3): Substitute.
74127         * configure: Regenerate.
74128         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
74129         * config.make.in (have-as-vis3): New.
74130         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
74131         available use -Av9d instead of -Av9a.
74132         * sysdeps/sparc/sparc64/Makefile: Likewise.
74133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
74134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
74135         New file.
74136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
74137         file.
74138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
74139         New file.
74140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
74141         file.
74142         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
74143         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
74144         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
74145         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
74146         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
74148         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
74149         fzeros/fnegs to load 0x80000000 into a float register instead of
74150         using the stack.
74151         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
74153 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
74155         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74156         bits/syscall.h.
74157         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
74158         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
74159         ($(inst_includedir)/bits/syscall.h): Remove rule.
74160         ($(objpfx)bits/syscall.d): Include instead of
74161         $(objpfx)syscall-list.d.
74162         (generated): Change syscall-list.h and syscall-list.d to
74163         bits/syscall.h and bits/syscall.d.
74165 2012-03-14  Roland McGrath  <roland@hack.frob.com>
74167         [BZ #13846]
74168         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
74170 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
74172         [BZ #13841]
74173         * math/s_csqrt.c: Include <float.h>.
74174         (__csqrt): Scale large or subnormal inputs.
74175         * math/s_csqrtf.c: Likewise.
74176         * math/s_csqrtl.c: Likewise.
74177         * math/libm-test.inc (csqrt_test): Add more tests.
74178         * sysdeps/i386/fpu/libm-test-ulps: Update.
74179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74181         [BZ #13840]
74182         * math/libm-test.inc (hypot_test): Add more tests.
74184 2012-03-13  David S. Miller  <davem@davemloft.net>
74186         [BZ #13840]
74187         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
74188         double-precision for the calculation instead of scaling.
74190 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
74192         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
74193         manipulate bits before adding and subtracting TWO52[sx].
74194         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
74195         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
74196         Likewise.
74197         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
74199 2012-03-13  David S. Miller  <davem@davemloft.net>
74201         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
74202         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
74203         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
74204         rtld-global-offsets.h
74205         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
74207         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
74208         large parameters.
74210         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
74212         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
74213         'err' in the ifdef scope in which it is actually used.
74215         * nss/nss_db/db-init.c: Include string.h
74217 2012-03-12  David S. Miller  <davem@davemloft.net>
74219         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
74220         masking out of the most significant byte of random value used.
74221         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74222         Fix coding style in previous change.
74224         * sysdeps/unix/sysv/linux/kernel-features.h
74225         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
74226         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
74227         expression.
74228         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
74229         later.
74231 2012-03-11  David S. Miller  <davem@davemloft.net>
74233         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
74234         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
74235         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
74236         for 'resultvar' otherwise things get truncated on 64-bit.
74238         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74239         Fix masking out of the most significant byte of random value used.
74241         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74243 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
74245         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74247 2012-03-09  David S. Miller  <davem@davemloft.net>
74249         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
74250         variables with appropriate CPP guards.
74251         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
74252         from the frame pointer, not the stack pointer.  Correct layout
74253         comments.  Fix test on resulting framesize and the management of
74254         the outregs buffer for pltexit.  Preserve floating point return
74255         values across _dl_call_pltexit call.
74256         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
74257         framesize and the management of the outregs buffer for pltexit.
74258         Preserve floating point return values across _dl_call_pltexit
74259         call.
74260         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
74261         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
74262         (la_sparc64_gnu_pltexit): New functions.
74263         (print_exit): Fix format string for return register value.
74265 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
74267         * sunrpc/Makefile (others): Add rpcgen.
74268         ($(objpfx)rpcgen): Remove special build rule and dependency on
74269         libc.
74270         * sunrpc/rpcgen.c: New file.
74272 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
74274         [BZ #13673]
74275         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
74276         * stdio-common/bug-vfprintf-nargs.c: Likewise.
74277         * sysdeps/i386/crti.S: Likewise.
74278         * sysdeps/i386/crtn.S: Likewise.
74279         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
74280         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
74281         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
74282         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
74283         * sysdeps/sh/crti.S: Likewise.
74284         * sysdeps/sh/crtn.S: Likewise.
74285         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
74287         [BZ #13673]
74288         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
74289         with URL.
74290         * locale/programs/locfile-kw.gperf: Likewise.
74291         * locale/programs/charmap-kw.h: Regenerated.
74292         * locale/programs/locfile-kw.h: Likewise.
74294         [BZ #13673]
74295         * intl/plural.y: Replace FSF snail mail address with URL.
74296         * intl/plural.c: Regenerated.
74298 2012-03-09  Richard Henderson  <rth@twiddle.net>
74300         * include/math_private.h: Remove file.
74301         * math/math_private.h: Move file ...
74302         * sysdeps/generic/math_private.h: ... here.
74304         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
74305         * sysdeps/powerpc/fpu/math_private.h: Likewise.
74306         * sysdeps/x86_64/fpu/math_private.h: Likewise.
74308         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
74309         and <math_private.h>.
74310         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
74311         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
74312         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
74313         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
74314         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
74315         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
74316         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
74317         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74318         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
74319         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74320         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74321         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
74322         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
74323         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74324         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
74325         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
74326         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74327         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
74328         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
74329         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
74330         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74331         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
74332         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
74333         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74334         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
74335         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
74336         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
74337         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74338         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74339         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
74340         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
74341         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74342         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
74343         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
74344         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
74345         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
74346         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
74347         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
74348         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
74349         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74350         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
74351         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
74352         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
74353         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
74354         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
74355         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
74356         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
74357         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
74358         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
74359         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
74360         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
74361         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
74362         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
74363         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
74364         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
74365         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
74366         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74367         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
74368         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
74369         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
74370         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
74371         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
74372         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74373         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
74374         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
74375         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
74376         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
74377         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
74378         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
74379         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
74380         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
74381         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74382         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
74383         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74384         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
74385         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
74386         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
74387         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
74388         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
74389         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
74390         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
74391         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
74392         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
74393         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
74394         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
74395         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
74396         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
74397         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
74398         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
74399         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
74400         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
74401         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
74402         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74403         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
74404         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
74405         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
74406         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74407         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
74408         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
74409         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
74410         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
74411         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
74412         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
74413         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
74414         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
74415         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
74416         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
74417         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
74418         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
74419         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
74420         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
74421         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
74422         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
74423         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
74424         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
74425         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74426         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
74427         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
74428         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
74429         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
74430         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
74431         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
74432         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74433         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
74434         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
74435         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
74436         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
74437         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
74438         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
74439         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
74440         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
74441         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
74442         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
74443         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
74444         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
74445         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
74446         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
74447         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
74448         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
74449         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
74450         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74451         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
74452         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
74453         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
74454         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
74455         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
74456         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
74457         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
74458         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
74459         * sysdeps/ieee754/k_standard.c: Likewise.
74460         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
74461         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
74462         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
74463         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
74464         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
74465         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
74466         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
74467         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
74468         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
74469         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
74470         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
74471         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
74472         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
74473         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
74474         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
74475         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
74476         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
74477         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
74478         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
74479         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
74480         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
74481         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
74482         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
74483         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
74484         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
74485         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
74486         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
74487         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
74488         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
74489         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
74490         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
74491         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
74492         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
74493         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
74494         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
74495         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
74496         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
74497         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
74498         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
74499         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
74500         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
74501         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
74502         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
74503         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
74504         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
74505         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
74506         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
74507         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
74508         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
74509         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
74510         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
74511         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
74512         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
74513         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
74514         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
74515         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
74516         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
74517         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
74518         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
74519         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
74520         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
74521         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
74522         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
74523         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
74524         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
74525         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
74526         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
74527         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
74528         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
74529         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
74530         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
74531         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
74532         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
74533         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
74534         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
74535         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
74536         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
74537         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
74538         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74539         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
74540         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
74541         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
74542         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
74543         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
74544         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
74545         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
74546         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
74547         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
74548         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
74549         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
74550         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
74551         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
74552         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
74553         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
74554         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
74555         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
74556         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
74557         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
74558         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
74559         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
74560         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
74561         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
74562         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
74563         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
74564         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
74565         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
74566         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
74567         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
74568         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
74569         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
74570         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
74571         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
74572         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
74573         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
74574         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
74575         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74576         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
74577         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
74578         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74579         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
74580         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
74581         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
74582         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
74583         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
74584         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
74585         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
74586         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
74587         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
74588         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
74589         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
74590         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
74591         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
74592         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
74593         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
74594         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
74595         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
74596         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
74597         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
74598         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
74599         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
74600         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
74601         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
74602         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
74603         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
74604         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
74605         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
74606         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
74607         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
74608         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
74609         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
74610         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
74611         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
74612         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
74613         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
74614         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
74615         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
74616         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
74617         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
74618         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
74619         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
74620         * sysdeps/ieee754/s_lib_version.c: Likewise.
74621         * sysdeps/ieee754/s_matherr.c: Likewise.
74622         * sysdeps/ieee754/s_signgam.c: Likewise.
74623         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
74624         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
74625         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
74626         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
74627         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
74628         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
74629         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
74630         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
74631         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
74632         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
74633         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
74634         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
74635         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
74636         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
74637         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
74638         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
74639         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
74640         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
74641         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
74642         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
74643         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
74645 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
74647         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
74648         * sunrpc/rpc_main.c: Likewise.
74649         * sunrpc/rpc_svcout.c: Likewise.
74651 2012-03-09  David S. Miller  <davem@davemloft.net>
74653         * include/math_private.h: New file.
74655 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
74657         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
74658         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
74659         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
74660         from <bits/socket_type.h>.
74661         (enum __socket_type): Don't define here.
74662         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
74663         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74664         bits/socket_type.h.
74666         [BZ #13566]
74667         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
74668         checking __USE_GNU.
74670         * Makerules ($(inst_includedir)/%.h): New rule.
74671         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
74672         (install-others): Remove variable setting.
74673         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
74675 2012-03-08  Richard Henderson  <rth@twiddle.net>
74677         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
74678         from macro to inline function; merge with the
74679         !__LIBC_INTERNAL_MATH_INLINES version.
74680         (__ieee754_sqrtf): Likewise.
74682         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
74683         to inline function.
74684         (__rintf, __floor, __floorf): Likewise.
74686         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
74687         macro to inline function.
74688         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
74690         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
74691         not <math/math_private.h>.
74693 2012-03-08  David S. Miller  <davem@davemloft.net>
74695         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
74696         copyright year.
74697         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
74699 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
74701         * resolv/gai_misc.c (handle_requests): Fix struct timespec
74702         normalization.
74703         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
74704         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
74706 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
74708         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
74709         be defined individually, they must be defined as a block.  Define
74710         S for printing a string instead of hidint the different by using a
74711         macro for adding the 'l'.
74712         * stdio-common/tst-fphex-wide.c: Adjust.
74714 2012-03-07  Marek Polacek  <polacek@redhat.com>
74716         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
74718 2012-03-08  Marek Polacek  <polacek@redhat.com>
74720         [BZ #13806]
74721         * stdio-common/Makefile (tests): Add tst-fphex-wide.
74722         * stdio-common/tst-fphex.c: Define a few macros to make the
74723         test reusable.  Use them.
74724         * stdio-common/tst-fphex-wide.c: New file.
74726 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
74728         [BZ #6911]
74729         * manual/macros.texi (gnusystems): New macro.
74730         (nongnusystems): Likewise.
74731         (gnulinuxhurdsystems): Likewise.
74732         (gnuhurdsystems): Likewise..
74733         (gnulinuxsystems): Likewise.
74734         * manual/charset.texi: Use new macros or @theglibc{} to refer to
74735         variants of the GNU system, not "GNU system".
74736         * manual/conf.texi: Likewise.
74737         * manual/errno.texi: Likewise.  Update example of errno macro
74738         expansion.
74739         * manual/filesys.texi: Likewise.
74740         (getumask): Document as specific to GNU/Hurd.
74741         * manual/install.texi: Likewise.  Reword some references to
74742         GNU/Linux.
74743         * manual/intro.texi: Likewise.
74744         * manual/io.texi: Likewise.
74745         (File Name Portability): Detail which constraints are inapplicable
74746         to all GNU systems and which are only inapplicable to GNU/Hurd.
74747         * manual/job.texi: Likewise.
74748         * manual/llio.texi: Likewise.
74749         (O_NOCTTY): Document as present on GNU/Linux.
74750         * manual/maint.texi: Likewise.
74751         * manual/memory.texi: Likewise.
74752         * manual/pattern.texi: Likewise.
74753         * manual/pipe.texi: Likewise.
74754         * manual/process.texi: Likewise.
74755         * manual/resource.texi: Likewise.
74756         (RUSAGE_CHILDREN): Remove statement about specifying a particular
74757         child on GNU/Hurd.
74758         * manual/setjmp.texi: Likewise.
74759         * manual/signal.texi: Likewise.
74760         * manual/startup.texi: Likewise.
74761         * manual/stdio.texi: Likewise.
74762         * manual/terminal.texi: Likewise.
74763         (ONLCR): Document as POSIX.
74764         (OXTABS): Document availability on GNU/Linux as XTABS.
74765         (ONOEOT): Document availability separately from other bits.
74766         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
74767         * manual/time.texi: Likewise.
74768         * manual/users.texi: Likewise.
74769         * INSTALL: Regenerated.
74770         * sysdeps/gnu/errlist.c: Regenerated.
74772         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
74773         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
74774         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
74775         puts.
74776         * configure: Regenerated.
74778 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
74780         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
74781         default includes instead of AC_HEADER_CHECK.
74782         * sysdeps/i386/configure: Regenerated.
74784         [BZ #10716]
74785         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
74786         * math/s_cacoshf.c (__cacoshf): Likewise.
74787         * math/s_cacoshl.c (__cacoshl): Likewise.
74788         * math/s_casinh.c (__casinh): Set signs of result from argument.
74789         * math/s_casinhf.c (__casinhf): Likewise.
74790         * math/s_casinhl.c (__casinhl): Likewise.
74791         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
74792         (casinh_test): Add more tests.
74793         * sysdeps/i386/fpu/libm-test-ulps: Update.
74794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74796 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
74798         * po/zh_TW.po: Update from translation team.
74800         * login/Makefile (distribute): Remove variable.
74801         * catgets/Makefile: Likewise.
74802         * mach/Makefile: Likewise.
74803         * malloc/Makefile: Likewise.
74804         * misc/Makefile: Likewise.
74805         * iconv/Makefile: Likewise.
74806         * nscd/Makefile: Likewise.
74807         * hurd/Makefile: Likewise.
74808         * manual/Makefile: Likewise.
74809         * locale/Makefile: Likewise.
74810         * intl/Makefile: Likewise.
74811         * conform/Makefile: Likewise.
74812         * nss/Makefile: Likewise.
74813         * time/Makefile: Likewise.
74814         * soft-fp/Makefile: Likewise.
74815         * dirent/Makefile: Likewise.
74816         * gmon/Makefile: Likewise.
74817         * po/Makefile: Likewise.
74818         * rt/Makefile: Likewise.
74819         * socket/Makefile: Likewise.
74820         * math/Makefile: Likewise.
74821         * signal/Makefile: Likewise.
74822         * debug/Makefile: Likewise.
74823         * elf/Makefile: Likewise.
74824         * timezone/Makefile: Likewise.
74825         * stdlib/Makefile: Likewise.
74826         * iconvdata/Makefile: Likewise.
74827         * sunrpc/Makefile: Likewise.
74828         * io/Makefile: Likewise.
74829         * argp/Makefile: Likewise.
74830         * inet/Makefile: Likewise.
74831         * hesiod/Makefile: Likewise.
74832         * grp/Makefile: Likewise.
74833         * csu/Makefile: Likewise.
74834         * wctype/Makefile: Likewise.
74835         * crypt/Makefile: Likewise.
74836         * libio/Makefile: Likewise.
74837         * string/Makefile: Likewise.
74838         * nis/Makefile: Likewise.
74839         * resolv/Makefile: Likewise.
74840         * stdio-common/Makefile: Likewise.
74841         * wcsmbs/Makefile: Likewise.
74842         * dlfcn/Makefile: Likewise.
74843         * posix/Makefile: Likewise.
74845         [BZ #6959]
74846         * timezone/Makefile: Don't install timezone files, just the programs
74847         and scripts.
74849 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
74851         * nss/databases.def: Add missing gshadow entry.
74853         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
74855 2012-03-06  Marek Polacek  <polacek@redhat.com>
74857         [BZ #13726]
74858         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
74859         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
74860         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
74861         * stdio-common/tst-long-dbl-fphex.c: New file.
74863 2012-03-06  David S. Miller  <davem@davemloft.net>
74865         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74866         (set_obp_int): New function.
74867         (get_obp_int): New function.
74868         (__get_clockfreq_via_dev_openprom): Likewise.
74869         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
74870         Avoid unused variable warnings on 'val' and use builtin_expect.
74871         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
74872         __builtin_expect.
74873         (INLINE_CLONE_SYSCALL): Likewise.
74875 2012-03-05  David S. Miller  <davem@davemloft.net>
74877         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74879 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
74881         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74883         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
74884         only for |x| >= 40.
74885         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74887 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
74889         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
74890         Replace gettimeofday with __vdso_gettimeofday.
74892         * sysdeps/unix/sysv/linux/x86_64/init-first.c
74893         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
74894         __vdso_clock_gettime and __vdso_getcpu.
74896         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
74897         time with __vdso_time.
74899 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
74901         * manual/lang.texi (size_t): Note types to which size_t may be
74902         equivalent with the GNU C Library, but do not describe when
74903         differences between them are significant.
74905 2012-03-05  Andreas Jaeger  <aj@suse.de>
74907         * sysdeps/i386/fpu/libm-test-ulps: Update.
74909 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
74911         [BZ #3976]
74912         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
74913         (__ieee754_pow): Save and restore rounding mode and use
74914         round-to-nearest for main computations.
74915         * math/libm-test.inc (pow_test_tonearest): New function.
74916         (pow_test_towardzero): Likewise.
74917         (pow_test_downward): Likewise.
74918         (pow_test_upward): Likewise.
74919         (main): Call the new functions.
74920         * sysdeps/i386/fpu/libm-test-ulps: Update.
74921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74923         [BZ #3976]
74924         * math/libm-test.inc (cosh_test_tonearest): New function.
74925         (cosh_test_towardzero): Likewise.
74926         (cosh_test_downward): Likewise.
74927         (cosh_test_upward): Likewise.
74928         (sinh_test_tonearest): Likewise.
74929         (sinh_test_towardzero): Likewise.
74930         (sinh_test_downward): Likewise.
74931         (sinh_test_upward): Likewise.
74932         (main): Call the new functions.
74933         * sysdeps/i386/fpu/libm-test-ulps: Update.
74934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74936 2012-03-05  Tom de Vries  <tom@codesourcery.com>
74938         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
74939         default stack guard is set in last bytes.
74940         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
74942 2012-03-05  Kees Cook  <keescook@chromium.org>
74944         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
74946         [BZ #13656]
74947         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
74948         possibly allocate from heap instead of stack.
74949         * stdio-common/bug-vfprintf-nargs.c: New file.
74950         * stdio-common/Makefile (tests): Add nargs overflow test.
74952 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
74954         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74956 2012-03-03  Marek Polacek  <polacek@redhat.com>
74958         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
74959         * math/math_private.h: Likewise.
74960         * stdlib/tst-strtod.c: Likewise.
74961         * sysdeps/i386/i486/bits/atomic.h: Likewise.
74962         * sysdeps/x86_64/bits/atomic.h: Likewise.
74964 2012-03-02  David S. Miller  <davem@davemloft.net>
74966         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
74967         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
74968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
74969         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
74970         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
74971         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
74972         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
74973         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
74975 2012-03-02  Roland McGrath  <roland@hack.frob.com>
74977         [BZ #13792]
74978         * manual/examples/README: New file, says the example source files
74979         can be used under GPL>=2.
74980         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
74981         line containing just "*/".
74982         * manual/examples/add.c: Add copyright header (GPL>=2).
74983         * manual/examples/argp-ex1.c: Likewise.
74984         * manual/examples/argp-ex2.c: Likewise.
74985         * manual/examples/argp-ex3.c: Likewise.
74986         * manual/examples/argp-ex4.c: Likewise.
74987         * manual/examples/atexit.c: Likewise.
74988         * manual/examples/db.c: Likewise.
74989         * manual/examples/dir.c: Likewise.
74990         * manual/examples/dir2.c: Likewise.
74991         * manual/examples/execinfo.c: Likewise.
74992         * manual/examples/filecli.c: Likewise.
74993         * manual/examples/filesrv.c: Likewise.
74994         * manual/examples/fmtmsgexpl.c: Likewise.
74995         * manual/examples/genpass.c: Likewise.
74996         * manual/examples/inetcli.c: Likewise.
74997         * manual/examples/inetsrv.c: Likewise.
74998         * manual/examples/isockad.c: Likewise.
74999         * manual/examples/longopt.c: Likewise.
75000         * manual/examples/memopen.c: Likewise.
75001         * manual/examples/memstrm.c: Likewise.
75002         * manual/examples/mkfsock.c: Likewise.
75003         * manual/examples/mkisock.c: Likewise.
75004         * manual/examples/mygetpass.c: Likewise.
75005         * manual/examples/pipe.c: Likewise.
75006         * manual/examples/popen.c: Likewise.
75007         * manual/examples/rprintf.c: Likewise.
75008         * manual/examples/search.c: Likewise.
75009         * manual/examples/select.c: Likewise.
75010         * manual/examples/setjmp.c: Likewise.
75011         * manual/examples/sigh1.c: Likewise.
75012         * manual/examples/sigusr.c: Likewise.
75013         * manual/examples/stpcpy.c: Likewise.
75014         * manual/examples/strdupa.c: Likewise.
75015         * manual/examples/strftim.c: Likewise.
75016         * manual/examples/strncat.c: Likewise.
75017         * manual/examples/subopt.c: Likewise.
75018         * manual/examples/swapcontext.c: Likewise.
75019         * manual/examples/termios.c: Likewise.
75020         * manual/examples/testopt.c: Likewise.
75021         * manual/examples/testpass.c: Likewise.
75022         * manual/examples/timeval_subtract.c: Likewise.
75024         [BZ #13792]
75025         * manual/time.texi (Elapsed Time): Move timeval_subtract example
75026         function to ...
75027         * manual/timeval_subtract.c.texi: ... here, new file.
75029 2012-03-02  David S. Miller  <davem@davemloft.net>
75031         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
75033 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
75035         [BZ #3976]
75036         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
75037         (__sin): Save and restore rounding mode and use round-to-nearest
75038         for all computations.
75039         (__cos): Save and restore rounding mode and use round-to-nearest
75040         for all computations.
75041         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
75042         <fenv.h>.
75043         (tan): Save and restore rounding mode and use round-to-nearest for
75044         all computations.
75045         * math/libm-test.inc (cos_test_tonearest): New function.
75046         (cos_test_towardzero): Likewise.
75047         (cos_test_downward): Likewise.
75048         (cos_test_upward): Likewise.
75049         (sin_test_tonearest): Likewise.
75050         (sin_test_towardzero): Likewise.
75051         (sin_test_downward): Likewise.
75052         (sin_test_upward): Likewise.
75053         (tan_test_tonearest): Likewise.
75054         (tan_test_towardzero): Likewise.
75055         (tan_test_downward): Likewise.
75056         (tan_test_upward): Likewise.
75057         (main): Call the new functions.
75058         * sysdeps/i386/fpu/libm-test-ulps: Update.
75059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75061         [BZ #10135]
75062         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
75063         small n, then large n, before computing and testing k+n.
75064         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
75065         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
75066         Likewise.
75067         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
75068         Likewise.
75069         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
75070         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
75071         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
75072         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
75073         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
75074         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
75075         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
75076         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
75077         * math/libm-test.inc (scalbn_test): Add more tests.
75078         (scalbln_test): Likewise.
75080         * manual/filesys.texi (mode_t): Describe constraints on size and
75081         signedness, not exact equivalence to a particular type.
75082         (ino_t): Likewise.
75083         (ino64_t): Likewise.
75084         (dev_t): Likewise.
75085         (nlink_t): Likewise.
75086         (blkcnt_t): Likewise.
75087         (blkcnt64_t): Likewise.
75088         * manual/llio.texi (off_t): Likewise.
75090         [BZ #3976]
75091         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
75092         (__ieee754_exp): Save and restore rounding mode and use
75093         round-to-nearest for all computations.
75094         * math/libm-test.inc (exp_test_tonearest): New function.
75095         (exp_test_towardzero): Likewise.
75096         (exp_test_downward): Likewise.
75097         (exp_test_upward): Likewise.
75098         (main): Call the new functions.
75099         * sysdeps/i386/fpu/libm-test-ulps: Update.
75100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75102 2012-03-01  Chris Demetriou  <cgd@google.com>
75104         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
75105         have predictable order.
75107 2012-03-01  David S. Miller  <davem@davemloft.net>
75109         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
75111         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
75112         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
75113         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
75114         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
75116         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
75117         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
75118         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
75119         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
75120         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
75121         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
75122         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
75123         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
75124         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
75126         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75128         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
75129         * sysdeps/sparc/fpu/libm-test-ulps: to here.
75130         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
75132         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
75133         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
75134         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
75135         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
75136         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
75137         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
75138         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
75139         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
75140         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
75141         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
75142         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
75143         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
75144         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
75145         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
75146         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
75147         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75148         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
75149         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
75150         * sysdeps/sparc/elf/configure: Regenerated.
75152 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
75154         * configure.in (AS, LD): Require binutils 2.20 or later.
75155         * configure: Regenerated.
75156         * manual/install.texi (Tools for Compilation): Give binutils 2.20
75157         as required minimum version.
75158         * INSTALL: Regenerated.
75160         [BZ #2541]
75161         [BZ #4108]
75162         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
75163         before squaring exponent.
75164         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
75165         bottom long double and 27 bits of top long double before squaring
75166         exponent.
75167         * math/libm-test.inc (erfc_test): Add more tests.
75168         * sysdeps/i386/fpu/libm-test-ulps: Update.
75169         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
75170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75172 2012-03-01  Kai Tietz  <ktietz@redhat.com>
75174         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
75175         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
75176         containing bit-fields.
75177         * soft-fp/extended.h (_FP_UNION_E): Likewise.
75178         * soft-fp/single.h (_FP_UNION_S): Likewise.
75179         * soft-fp/double.h (_FP_UNION_D): Likewise.
75181 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
75183         [BZ #13786]
75184         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
75185         not include ../strcmp.S.
75186         [USE_AS_STRNCASECMP_L]: Likewise.
75187         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
75188         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
75189         * sysdeps/i386/i686/multiarch/strncase_l-c.c
75190         (__strncasecmp_l_ia32): Define as alias to
75191         __strncasecmp_l_nonascii.
75193         [BZ #5794]
75194         * math/libm-test.inc (expm1_test): Add test for bug 5794.
75195         * sysdeps/i386/fpu/libm-test-ulps: Update.
75196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75198         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
75199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75201 2012-02-29  Jeff Law  <law@redhat.com>
75203         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
75204         out of bounds read.
75206 2012-02-29  Marek Polacek  <polacek@redhat.com>
75208         [BZ #13706]
75209         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
75210         * elf/Makefile: Add rules to run tst-unused-dep.out.
75212 2012-02-28  David S. Miller  <davem@davemloft.net>
75214         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
75215         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
75216         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
75217         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
75218         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
75219         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
75221 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
75223         * math/libm-test.inc (llround_test): Move one test from
75224         lround_test.  Use TEST_f_L in moved test.
75225         (lround_test): Move misplaced test to llround_test.  Add testcase
75226         from bug 2561.
75228 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
75230         * sysdeps/x86_64/fpu/e_expf.S: New file.
75231         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
75233 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
75235         [BZ #13637]
75236         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
75237         of remain_len that may cause incomplete multi-byte character and
75238         false match.
75239         * posix/bug-regex33.c: New file.
75240         * posix/Makefile (tests): Add bug-regex33.
75242 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
75244         * manual/macros.texi: New file.
75245         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
75246         * manual/libc.texinfo: Include macros.texi.
75247         * manual/creatute.texi: Likewise.
75248         * manual/install.texi: Likewise.
75249         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
75250         @glibcadj{} in references to the GNU C Library.
75251         * manual/charset.texi: Likewise.
75252         * manual/conf.texi: Likewise.
75253         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
75254         when not using those macros.
75255         * manual/creature.texi: Likewise.
75256         * manual/crypt.texi: Likewise.
75257         * manual/errno.texi: Likewise.
75258         * manual/filesys.texi: Likewise.
75259         * manual/header.texi: Likewise.
75260         * manual/install.texi: Likewise.
75261         * manual/intro.texi: Likewise.
75262         * manual/io.texi: Likewise.
75263         * manual/job.texi: Likewise.
75264         * manual/lang.texi: Likewise.
75265         * manual/libc.texiinfo: Likewise.
75266         * manual/llio.texi: Likewise.
75267         * manual/locale.texi: Likewise.
75268         * manual/maint.texi: Likewise.
75269         * manual/math.texi: Likewise.
75270         * manual/memory.texi: Likewise.
75271         * manual/message.texi: Likewise.
75272         * manual/nss.texi: Likewise.
75273         * manual/pattern.texi: Likewise.
75274         * manual/process.texi: Likewise.
75275         * manual/resource.texi: Likewise.
75276         * manual/search.texi: Likewise.
75277         * manual/setjmp.texi: Likewise.
75278         * manual/signal.texi: Likewise.
75279         * manual/socket.texi: Likewise.
75280         * manual/startup.texi: Likewise.
75281         * manual/stdio.texi: Likewise.
75282         * manual/string.texi: Likewise.
75283         * manual/sysinfo.texi: Likewise.
75284         * manual/syslog.texi: Likewise.
75285         * manual/terminal.texi: Likewise.
75286         * manual/time.texi: Likewise.
75287         * manual/users.texi: Likewise.
75288         * INSTALL: Regenerated.
75289         * NOTES: Regenerated.
75290         * sysdeps/gnu/errlist.c: Regenerated.
75292 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
75294         * include/dirent.h: Include <dirstream.h> before
75295         <dirent/dirent.h>.
75297 2012-02-28  David S. Miller  <davem@davemloft.net>
75299         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
75300         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
75301         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
75302         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
75304 2012-02-27  David S. Miller  <davem@davemloft.net>
75306         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
75307         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
75308         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
75309         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
75311         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
75312         frame pointer instead of stack pointer relative arg slot.
75313         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
75314         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
75315         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
75317 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
75319         [BZ #3992]
75320         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
75322 2012-02-27  David S. Miller  <davem@davemloft.net>
75324         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
75325         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
75326         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
75327         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
75328         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
75329         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
75330         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
75331         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
75333 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
75335         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
75336         later.  Allow versions 5-9.
75337         * configure: Regenerated.
75338         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
75339         required minimum version and 4.6 as recommended version.  Do not
75340         mention bugs in GCC 2.7 and 2.8.
75341         * INSTALL: Regenerated.
75343 2012-02-27  David S. Miller  <davem@davemloft.net>
75345         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
75346         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
75347         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
75348         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
75349         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
75350         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
75351         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
75352         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
75354         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
75355         manipulate bits before adding and subtracting TWO112[sx].
75356         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
75358 2012-02-27  Roland McGrath  <roland@hack.frob.com>
75360         [BZ #13775]
75361         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
75362         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
75363         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
75364         being in POSIX, because they are in 1003.1-2008.
75366         * rt/tst-aio.c: Include <fcntl.h>.
75367         * rt/tst-aio7.c: Likewise.
75368         * rt/tst-aio64.c: Likewise.
75370         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
75372 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
75374         * manual/install.texi (--with-headers): Describe headers as
75375         interface headers, not private headers.
75376         (Specific advice for GNU/Linux systems): Describe use of headers
75377         from "make headers_install", not private headers from older
75378         kernels.
75379         * INSTALL: Regenerated.
75380         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
75381         Change to 2.6.19.
75382         * sysdeps/unix/sysv/linux/configure: Regenerated.
75384         * manual/llio.texi (fclean): Remove documentation.
75386         * manual/Makefile (libc-texi-generated): New variable.  Include
75387         version.texi.
75388         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
75389         $(libc-texi-generated), not duplicated list of files.
75390         (version.texi, stamp-version): New rules.
75391         (realclean): Remove $(libc-texi-generated), not individual files
75392         from that list.  Do not remove dir-add.texinfo.
75393         * manual/libc.texinfo: Comment out uses of edition numbers and
75394         references to printed manual.  Remove last-updated dates.
75395         (EDITION): Comment out.
75396         (ISBN): Likewise.
75397         (VERSION, UPDATED): Remove.
75398         (version.texi): Include.
75400 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
75402         * sysdeps/posix/spawni.c: Include <signal.h>.
75403         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
75404         * sysdeps/pthread/aio_fsync.c: Likewise.
75406 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
75408         * conform/Makefile (tests): Run only when not cross-compiling and
75409         when fast-check is not defined.
75411         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
75412         * conform/data/limits.h-data: Fixes for POSIX2008.
75413         * conform/run-conformtest.sh: Run all tests.
75414         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
75415         headers.
75416         * include/bits/dlfcn.h: Likewise.
75417         * include/langinfo.h: Likewise.
75418         * include/monetary.h: Likewise.
75419         * include/sys/poll.h: Likewise.
75421         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
75422         for __USE_GNU.
75423         * posix/spawn.h: Define __need_sigset_t.
75424         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
75425         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
75426         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
75427         to get sigevent_t only.
75428         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
75429         only for __USE_GNU.
75430         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75431         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
75432         process_vm_writev only for __USE_GNU.
75433         * termios/termios.h: Declare tcgetsid also for POSIX2008.
75435         * conform/Makefile: For now ignore errors from run-conformtest.
75436         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
75437         POSIX to avoid namespace pollution.  Don't prepend headers.
75438         * conform/data/aio.h-data: Fixes for POSIX testing.
75439         * conform/data/fcntl.h-data: Likewise.
75440         * conform/data/glob.h-data: Likewise.
75441         * conform/data/grp.h-data: Likewise.
75442         * conform/data/pthread.h-data: Likewise.
75443         * conform/data/pwd.h-data: Likewise.
75444         * conform/data/signal.h-data: Likewise.
75445         * conform/data/spawn.h-data: Likewise.
75446         * conform/data/stdio.h-data: Likewise.
75447         * conform/data/stdlib.h-data: Likewise.
75448         * conform/data/stropts.h-data: Likewise.
75449         * conform/data/sys/mman.h-data: Likewise.
75450         * conform/data/sys/stat.h-data: Likewise.
75451         * conform/data/sys/types.h-data: Likewise.
75452         * conform/data/sys/wait.h-data: Likewise.
75453         * conform/data/time.h-data: Likewise.
75454         * conform/data/unistd.h-data: Likewise.
75455         * conform/data/utime.h-data: Likewise.
75457         * io/sys/stat.h: fchmod was always in POSIX.
75458         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
75459         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
75460         * rt/aio.h: Define __need_timespec before including <time.h>.
75461         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
75462         struct.  Add forward declaration of pthread_attr_t and use it in
75463         sigevent.
75464         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
75465         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
75466         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
75467         always remove CLK_TCK definition.
75469 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
75471         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
75473 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
75475         * conform/run-conformtest.sh: New file.
75476         * conform/Makefile: Run run-conformtest for tests.
75477         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
75478         support.
75480         * conform/data/uchar.h-data: New file.
75481         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
75482         * conform/data/arpa/inet.h-data: Likewise.
75483         * conform/data/assert.h-data: Likewise.
75484         * conform/data/complex.h-data: Likewise.
75485         * conform/data/cpio.h-data: Likewise.
75486         * conform/data/ctype.h-data: Likewise.
75487         * conform/data/dirent.h-data: Likewise.
75488         * conform/data/dlfcn.h-data: Likewise.
75489         * conform/data/errno.h-data: Likewise.
75490         * conform/data/fcntl.h-data: Likewise.
75491         * conform/data/float.h-data: Likewise.
75492         * conform/data/fmtmsg.h-data: Likewise.
75493         * conform/data/fnmatch.h-data: Likewise.
75494         * conform/data/ftw.h-data: Likewise.
75495         * conform/data/glob.h-data: Likewise.
75496         * conform/data/grp.h-data: Likewise.
75497         * conform/data/iconv.h-data: Likewise.
75498         * conform/data/inttypes.h-data: Likewise.
75499         * conform/data/langinfo.h-data: Likewise.
75500         * conform/data/libgen.h-data: Likewise.
75501         * conform/data/limits.h-data: Likewise.
75502         * conform/data/locale.h-data: Likewise.
75503         * conform/data/math.h-data: Likewise.
75504         * conform/data/monetary.h-data: Likewise.
75505         * conform/data/mqueue.h-data: Likewise.
75506         * conform/data/ndbm.h-data: Likewise.
75507         * conform/data/net/if.h-data: Likewise.
75508         * conform/data/netdb.h-data: Likewise.
75509         * conform/data/netinet/in.h-data: Likewise.
75510         * conform/data/nl_types.h-data: Likewise.
75511         * conform/data/poll.h-data: Likewise.
75512         * conform/data/pthread.h-data: Likewise.
75513         * conform/data/pwd.h-data: Likewise.
75514         * conform/data/regex.h-data: Likewise.
75515         * conform/data/sched.h-data: Likewise.
75516         * conform/data/search.h-data: Likewise.
75517         * conform/data/semaphore.h-data: Likewise.
75518         * conform/data/setjmp.h-data: Likewise.
75519         * conform/data/signal.h-data: Likewise.
75520         * conform/data/spawn.h-data: Likewise.
75521         * conform/data/stdarg.h-data: Likewise.
75522         * conform/data/stdio.h-data: Likewise.
75523         * conform/data/stdlib.h-data: Likewise.
75524         * conform/data/string.h-data: Likewise.
75525         * conform/data/strings.h-data: Likewise.
75526         * conform/data/stropts.h-data: Likewise.
75527         * conform/data/sys/ipc.h-data: Likewise.
75528         * conform/data/sys/mman.h-data: Likewise.
75529         * conform/data/sys/msg.h-data: Likewise.
75530         * conform/data/sys/resource.h-data: Likewise.
75531         * conform/data/sys/select.h-data: Likewise.
75532         * conform/data/sys/sem.h-data: Likewise.
75533         * conform/data/sys/shm.h-data: Likewise.
75534         * conform/data/sys/socket.h-data: Likewise.
75535         * conform/data/sys/stat.h-data: Likewise.
75536         * conform/data/sys/statvfs.h-data: Likewise.
75537         * conform/data/sys/time.h-data: Likewise.
75538         * conform/data/sys/timeb.h-data: Likewise.
75539         * conform/data/sys/times.h-data: Likewise.
75540         * conform/data/sys/types.h-data: Likewise.
75541         * conform/data/sys/uio.h-data: Likewise.
75542         * conform/data/sys/un.h-data: Likewise.
75543         * conform/data/sys/utsname.h-data: Likewise.
75544         * conform/data/sys/wait.h-data: Likewise.
75545         * conform/data/syslog.h-data: Likewise.
75546         * conform/data/tar.h-data: Likewise.
75547         * conform/data/termios.h-data: Likewise.
75548         * conform/data/utime.h-data: Likewise.
75549         * conform/data/utmpx.h-data: Likewise.
75550         * conform/data/varargs.h-data: Likewise.
75551         * conform/data/wchar.h-data: Likewise.
75552         * conform/data/wctype.h-data: Likewise.
75553         * conform/data/wordexp.h-data: Likewise.
75555         * include/stropts.h: New file.
75556         * include/uchar.h: New file.
75557         * include/aio.h: Changes to allow conformtest.pl to use the headers.
75558         * include/assert.h: Likewise.
75559         * include/ctype.h: Likewise.
75560         * include/dirent.h: Likewise.
75561         * include/dlfcn.h: Likewise.
75562         * include/fcntl.h: Likewise.
75563         * include/fnmatch.h: Likewise.
75564         * include/glob.h: Likewise.
75565         * include/grp.h: Likewise.
75566         * include/libio.h: Likewise.
75567         * include/locale.h: Likewise.
75568         * include/math.h: Likewise.
75569         * include/net/if.h: Likewise.
75570         * include/netdb.h: Likewise.
75571         * include/netinet/in.h: Likewise.
75572         * include/pthread.h: Likewise.
75573         * include/pwd.h: Likewise.
75574         * include/regex.h: Likewise.
75575         * include/sched.h: Likewise.
75576         * include/search.h: Likewise.
75577         * include/setjmp.h: Likewise.
75578         * include/signal.h: Likewise.
75579         * include/stdio.h: Likewise.
75580         * include/stdlib.h: Likewise.
75581         * include/string.h: Likewise.
75582         * include/sys/cdefs.h: Likewise.
75583         * include/sys/mman.h: Likewise.
75584         * include/sys/msg.h: Likewise.
75585         * include/sys/resource.h: Likewise.
75586         * include/sys/select.h: Likewise.
75587         * include/sys/socket.h: Likewise.
75588         * include/sys/stat.h: Likewise.
75589         * include/sys/statvfs.h: Likewise.
75590         * include/sys/time.h: Likewise.
75591         * include/sys/times.h: Likewise.
75592         * include/sys/uio.h: Likewise.
75593         * include/sys/utsname.h: Likewise.
75594         * include/sys/wait.h: Likewise.
75595         * include/termios.h: Likewise.
75596         * include/time.h: Likewise.
75597         * include/ulimit.h: Likewise.
75598         * include/unistd.h: Likewise.
75599         * include/utime.h: Likewise.
75600         * include/wchar.h: Likewise.
75601         * include/wctype.h: Likewise.
75602         * include/wordexp.h: Likewise.
75604         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
75606         * time/time.h: TIME_UTC must be a macro.
75607         Make timespec_get available for ISO C11 only as well.
75609 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
75611         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
75612         Reported by Peng Haitao <penght@cn.fujitsu.com>.
75614 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
75616         * configure.in: Use -o not -a in test for unsupported multi-arch.
75618 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
75620         * manual/texinfo.tex: Update to version 2012-01-19.16.
75622 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
75624         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
75626 2012-02-24  Roland McGrath  <roland@hack.frob.com>
75628         [BZ #13738]
75629         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
75630         * manual/fdl-1.3.texi: New file.
75631         * manual/fdl-1.1.texi: File removed.
75633         [BZ #13738]
75634         * manual/libc.texinfo (FDL_VERSION): New @set.
75635         Use it for mention of FDL in cover text.
75636         (Documentation License): Use it in @include file name.
75638 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75639             Roland McGrath  <roland@hack.frob.com>
75641         [BZ #5461]
75642         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
75643         (not LONG_LONG_MAX and LONG_LONG_MIN.
75644         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
75645         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
75646         name.
75647         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
75649 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75651         [BZ #2547]
75652         [BZ #11365]
75653         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
75654         manipulate bits before adding and subtracting TWO23[sx].
75655         * math/libm-test.inc (nearbyint_test): Add more tests.
75657 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75659         [BZ #2548]
75660         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
75661         bits before adding and subtracting TWO23[sx].
75662         * math/libm-test.inc (rint_test): Add more tests.
75663         (rint_test_tonearest): Likewise.
75664         (rint_test_towardzero): Likewise.
75665         (rint_test_downward): Likewise.
75666         (rint_test_upward: Likewise.
75668 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75670         [BZ #10110]
75671         * include/stdc-predef.h: New file.  Extracted from features.h.
75672         * include/features.h: Include stdc-predef.h.
75673         * Makefile (headers): Add stdc-predef.h.
75674         * CONFORMANCE (Compiler limitations): Update.
75676 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75678         * manual/libc.texinfo (VERSION, UPDATED): Revert.
75680 2012-02-21  David S. Miller  <davem@davemloft.net>
75682         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
75683         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
75685 2012-02-20  David S. Miller  <davem@davemloft.net>
75687         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
75688         using a normal save/restore sequence, rather than allocating a
75689         dummy stack frame just to store a frame pointer and restore.
75690         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
75692 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
75694         * manual/install.texi: Fix stray word in line-wrapped comment.
75696 2012-02-20  David S. Miller  <davem@davemloft.net>
75698         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
75699         both binutils and gcc support GOTDATA.
75701         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
75702         "rd %pc" in the PIC register setup sequences.
75704         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
75705         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
75706         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
75707         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
75708         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
75709         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
75710         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75711         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
75712         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
75713         (SYSCALL_ERROR_HANDLER): Likewise.
75714         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
75715         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
75716         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
75717         (SYSCALL_ERROR_HANDLER): Likewise.
75719         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
75720         (HAVE_GCC_GOTDATA): New.
75721         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
75722         relocation support in both binutils and gcc.
75723         * sysdeps/sparc/elf/configure: Regenerate.
75725         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
75726         * sysdeps/sparc/sparc32/elf/configure: Delete.
75727         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
75728         * sysdeps/sparc/sparc64/elf/configure: Delete.
75729         * sysdeps/sparc/elf/configure.in: New file.
75730         * sysdeps/sparc/elf/configure: Generate.
75732         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
75733         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
75734         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
75735         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
75736         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
75738 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
75740         * manual/install.texi: Do not mention specific glibc version
75741         numbers.
75742         * manual/libc.texinfo (VERSION, UPDATED): Update.
75743         (@copying): Use @copyright{} and range of years.
75745 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
75747         [BZ #13695]
75748         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
75749         [crti.S not in sysdirs] (generated): Do not append.
75750         [crti.S not in sysdirs] (omit-deps): Likewise.
75751         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
75752         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
75753         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
75754         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
75755         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
75756         Likewise.
75757         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
75758         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
75759         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
75760         * csu/defs.awk: Remove file.
75761         * sysdeps/generic/initfini.c: Likewise.
75762         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
75763         variable.
75764         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
75765         Likewise.
75767 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
75769         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
75770         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
75771         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
75772         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
75773         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
75774         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
75775         <bits/epoll.h>.
75776         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
75777         (__EPOLL_PACKED): Define to empty if not defined by
75778         <bits/epoll.h>.
75779         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
75780         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75781         bits/epoll.h.
75783 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
75785         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
75786         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
75787         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
75788         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
75789         <bits/timerfd.h>.
75790         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
75791         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75792         bits/timerfd.h.
75794 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
75796         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
75797         in C locale.
75798         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
75799         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
75800         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
75801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75803 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
75805         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75806         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
75808 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
75810         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
75811         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
75812         defined.
75813         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
75814         Likewise.
75815         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
75816         entry for 2.16.
75818 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
75820         * math/w_acos.c: Use non-signaling floating-point comparisons.
75821         * math/w_acosf.c: Likewise.
75822         * math/w_acosh.c: Likewise.
75823         * math/w_acoshf.c: Likewise.
75824         * math/w_acoshl.c: Likewise.
75825         * math/w_acosl.c: Likewise.
75826         * math/w_asin.c: Likewise.
75827         * math/w_asinf.c: Likewise.
75828         * math/w_asinl.c: Likewise.
75829         * math/w_atanh.c: Likewise.
75830         * math/w_atanhf.c: Likewise.
75831         * math/w_atanhl.c: Likewise.
75832         * math/w_exp2.c: Likewise.
75833         * math/w_exp2f.c: Likewise.
75834         * math/w_exp2l.c: Likewise.
75835         * math/w_j0.c: Likewise.
75836         * math/w_j0f.c: Likewise.
75837         * math/w_j0l.c: Likewise.
75838         * math/w_j1.c: Likewise.
75839         * math/w_j1f.c: Likewise.
75840         * math/w_j1l.c: Likewise.
75841         * math/w_jn.c: Likewise.
75842         * math/w_jnf.c: Likewise.
75843         * math/w_log.c: Likewise.
75844         * math/w_log10.c: Likewise.
75845         * math/w_log10f.c: Likewise.
75846         * math/w_log10l.c: Likewise.
75847         * math/w_log2.c: Likewise.
75848         * math/w_log2f.c: Likewise.
75849         * math/w_log2l.c: Likewise.
75850         * math/w_logf.c: Likewise.
75851         * math/w_logl.c: Likewise.
75852         * math/w_sqrt.c: Likewise.
75853         * math/w_sqrtf.c: Likewise.
75854         * math/w_sqrtl.c: Likewise.
75855         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75856         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
75857         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75858         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
75859         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
75861 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75863         [BZ #9739]
75864         * manual/string.texi (strnlen): Use correct parameter name in
75865         equivalent expression.
75867 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75869         [BZ #11174]
75870         * manual/users.texi (seteuid): Consistently use neweuid for
75871         argument name.
75873 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75875         [BZ #13704]
75876         * manual/nss.texi (Services in the NSS configuration): Correct
75877         list of services in example configuration file.
75879 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
75881         [BZ #11322]
75882         * manual/arith.texi: Remove statements about negative zero
75883         behaving identically to zero.
75885 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
75887         [BZ #5993]
75888         * manual/install.texi: Do not document upgrading from libc5.
75890 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
75892         [BZ #4596]
75893         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
75895 2012-02-18  David S. Miller  <davem@davemloft.net>
75897         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
75898         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
75899         %o7 across the call.
75900         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
75901         instead.
75902         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
75903         SETUP_PIC_REG_LEAF.
75904         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75905         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
75906         * sysdeps/sparc/crtn.S: Likewise.
75908 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
75910         * aout/Makefile: Remove.
75912 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
75914         [BZ #13058]
75915         * manual/examples/argp-ex1.c (main): Format definition in GNU
75916         style.
75917         * manual/examples/argp-ex2.c (main): Likewise.
75918         * manual/examples/argp-ex3.c (main): Likewise.
75919         * manual/examples/argp-ex4.c (main): Likewise.
75920         * manual/examples/longopt.c (main): Use new-style prototype
75921         definition.
75922         * manual/examples/strncat.c (main): Specify return type and use
75923         (void) for arguments.
75924         * manual/examples/subopt.c (main): Use char **argv argument.
75926 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75928         [BZ #5077]
75929         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
75930         rounding modes.
75932 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
75934         [BZ #6907]
75935         * manual/string.texi (strchr): Change when strchrnul is
75936         recommended.
75938 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
75940         [BZ #174]
75941         * manual/locale.texi (setlocale): Document LOCPATH.
75943 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75945         [BZ #10210]
75946         * manual/process.texi (execle): Move @dots{} before last argument.
75948 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
75950         [BZ #12047]
75951         * manual/charset.texi (Generic Charset Conversion): Fix typo
75952         (LC_TYPE -> LC_CTYPE).
75954 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
75956         [BZ #5805]
75957         * manual/arith.texi (scalbn): Use @var{} on parameter names.
75958         (scalbnf): Likewise.
75959         (scalbnl): Likewise.
75960         (scalbln): Likewise.
75961         (scalblnf): Likewise.
75962         (scalblnl): Likewise.
75963         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
75964         (vwarnx): Likewise.
75965         (verr): Likewise.
75966         (verrx): Likewise.
75967         * manual/filesys.texi (telldir): Use braces around return type.
75968         * manual/llio.texi (mmap): Add space after comma.
75969         (mmap64): Likewise.
75970         * manual/math.texi (jn): Use @var{} on parameter names.
75971         (jnf): Likewise.
75972         (jnl): Likewise.
75973         (yn): Likewise.
75974         (ynf): Likewise.
75975         (ynl): Likewise.
75976         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
75977         line.
75978         * manual/resource.texi (ulimit): Use @dots{} instead of literal
75979         "...".
75980         (sched_get_priority_min): Remove semicolon on @deftypefun line.
75981         (sched_get_priority_max): Likewise.
75982         * manual/signal.texi (sigvec): Add space after comma.
75983         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
75984         names.
75985         (if_indextoname): Likewise.
75986         (if_freenameindex): Likewise.
75987         (sendto): Use ',' instead of '.' in prototype.
75988         * manual/startup.texi (syscall): Use @dots{} instead of literal
75989         "...".
75990         * manual/stdio.texi (__fpending): Separate initial words of
75991         paragraph from @deftypefun line.
75992         * manual/syslog.texi (syslog): Use @dots{} instead of literal
75993         "...".
75994         (vsyslog): Use @var{} on parameter names.
75995         * manual/terminal.texi (stty): Use @var{} on parameter names.
75996         * manual/users.texi (getutmp): Use @var{} on parameter names.
75997         (getutmpx): Likewise.
75999 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
76001         [BZ #6884]
76002         * manual/stdio.texi (fopen): Fix typos in description of
76003         ",ccs=STRING".
76005 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
76007         [BZ #4026]
76008         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
76009         get clock_id definition.
76011 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
76013         [BZ #4822]
76014         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
76015         (madvise): Cast every argument to void on its own.
76017 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
76019         [BZ #9902]
76020         * manual/startup.texi (Exit Status): Fix typo.
76022 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
76024         [BZ #10140]
76025         * manual/examples/argp-ex1.c: Include <stdlib.h>.
76026         * manual/examples/argp-ex2.c: Likewise.
76027         * manual/examples/argp-ex3.c: Likewise.
76029 2012-02-16  Richard Henderson  <rth@redhat.com>
76031         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
76032         * sysdeps/s390/s390-32/initfini.c: Remove.
76033         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
76034         * sysdeps/s390/s390-64/initfini.c: Remove.
76036 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
76038         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
76039         compiler output for sysdeps/generic/initfini.c.
76040         * sysdeps/sh/elf/initfini.c: Remove file.
76042 2012-02-16  David S. Miller  <davem@davemloft.net>
76044         [BZ #11494]
76045         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
76047         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
76048         * sysdeps/sparc/crti.S: New file.
76049         * sysdeps/sparc/crtn.S: New file.
76050         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
76051         * sysdeps/sparc/sparc64/Makefile: Likewise.
76053 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
76055         [BZ #3335]
76056         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
76058 2012-02-15  Roland McGrath  <roland@hack.frob.com>
76060         [BZ #4822]
76061         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
76063         * mach/devstream.c (cookie_io_functions_t): Macro removed.
76064         (write, read, close): Likewise.
76065         Patch by Aurelien Jarno <aurelien@aurel32.net>.
76067 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
76069         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
76070         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
76071         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
76072         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
76073         <bits/signalfd.h>.
76074         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
76075         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76076         bits/signalfd.h.
76078 2012-02-14  Marek Polacek  <polacek@redhat.com>
76080         * sysdeps/x86_64/crti.S: New file.
76081         * sysdeps/x86_64/crtn.S: New file.
76082         * sysdeps/x86_64/elf/initfini.c: Remove file.
76084 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
76086         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
76087         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
76088         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
76089         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
76090         <bits/inotify.h>.
76091         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
76092         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76093         bits/inotify.h.
76095 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
76097         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
76098         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
76099         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
76100         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
76101         <bits/eventfd.h>.
76102         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
76103         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76104         bits/eventfd.h.
76106 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
76108         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
76109         __feraiseexcept instead of feraiseexcept.
76111         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
76112         nanosleep invocations.
76113         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
76114         strings, and add error checking for a nanosleep invocations.
76116 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
76118         Replace FSF snail mail address with URLs, as per GNU coding standards.
76119         Most of the snail mail addresses were wrong anyway, and omitting
76120         them makes the source code easier to maintain.  Almost all of the
76121         changes are to license notices and to locale LC_IDENTIFICATION
76122         addresses, except for this one:
76123         * manual/libc.texinfo: In "Published by", give the FSF's URL,
76124         not its snail mail address.
76126 2012-02-09  Richard Henderson  <rth@twiddle.net>
76128         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
76129         of kernel-features.h.
76131         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
76133 2012-02-08  Marek Polacek  <polacek@redhat.com>
76135         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
76136         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
76137         * sysdeps/gnu/_G_config.h: Likewise.
76138         * sysdeps/generic/_G_config.h: Likewise.
76140 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
76142         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
76143         tests.
76144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76146         * sysdeps/powerpc/powerpc32/crti.S: New file.
76147         * sysdeps/powerpc/powerpc32/crtn.S: New file.
76148         * sysdeps/powerpc/powerpc64/crti.S: New file.
76149         * sysdeps/powerpc/powerpc64/crtn.S: New file.
76151         * Makeconfig (have-initfini): Don't set.
76152         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
76153         * configure.in (nopic_initfini): Don't substitute.
76154         * config.h.in (HAVE_INITFINI): Don't #undef.
76155         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
76156         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
76158 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
76160         Support crti.S and crtn.S provided directly by architectures.
76161         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
76162         [crti.S in sysdirs] (omit-deps): Likewise.
76163         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
76164         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
76165         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
76166         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
76167         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
76168         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
76169         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
76170         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
76171         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
76172         compiler output for sysdeps/generic/initfini.c.
76173         * sysdeps/i386/elf/Makefile: Remove file.
76174         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
76176 2012-02-07  Marek Polacek  <polacek@redhat.com>
76178         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
76179         * sysdeps/gnu/_G_config.h: Likewise.
76180         * sysdeps/mach/hurd/_G_config.h: Likewise.
76182 2012-02-07  Marek Polacek  <polacek@redhat.com>
76184         * math/Makefile (tests): Add tst-CMPLX2.
76185         * math/tst-CMPLX2.c: New file.
76187 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
76189         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76191         * math/libm-test.inc (jn_test): Add missing L suffix.
76193 2012-02-06  Marek Polacek  <polacek@redhat.com>
76195         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
76196         * sysdeps/i386/fpu/e_powf.S: Likewise.
76197         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
76198         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
76199         * sysdeps/i386/fpu/e_acosh.S: Likewise.
76200         * sysdeps/i386/fpu/e_pow.S: Likewise.
76201         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
76202         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
76203         * sysdeps/i386/fpu/s_expm1.S: Likewise.
76204         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
76205         * sysdeps/i386/fpu/e_log2.S: Likewise.
76206         * sysdeps/i386/fpu/e_log2l.S: Likewise.
76207         * sysdeps/i386/fpu/e_scalb.S: Likewise.
76208         * sysdeps/i386/fpu/e_powl.S: Likewise.
76209         * sysdeps/i386/fpu/s_log1p.S: Likewise.
76210         * sysdeps/i386/fpu/e_log10f.S: Likewise.
76211         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
76212         * sysdeps/i386/fpu/e_logl.S: Likewise.
76213         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
76214         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
76215         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
76216         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
76217         * sysdeps/i386/fpu/e_log2f.S: Likewise.
76218         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
76219         * sysdeps/i386/fpu/e_log.S: Likewise.
76220         * sysdeps/i386/fpu/s_cexp.S: Likewise.
76221         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
76222         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
76223         * sysdeps/i386/fpu/e_logf.S: Likewise.
76224         * sysdeps/i386/fpu/e_log10l.S: Likewise.
76225         * sysdeps/i386/fpu/e_atanh.S: Likewise.
76226         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
76227         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
76228         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
76229         * sysdeps/i386/fpu/e_log10.S: Likewise.
76230         * sysdeps/i386/fpu/s_frexp.S: Likewise.
76231         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
76232         * sysdeps/i386/fpu/s_asinh.S: Likewise.
76233         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
76234         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
76235         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
76236         * sysdeps/i386/asm-syntax.h: Likewise.
76237         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
76238         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
76239         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
76240         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
76241         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
76242         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
76243         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
76244         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
76245         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
76246         * sysdeps/powerpc/sysdep.h: Likewise.
76247         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
76248         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
76250 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
76252         [BZ #411]
76253         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
76255 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
76257         * sysdeps/i386/sysdep.h: Include <features.h>.
76258         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
76259         version.
76261 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
76263         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
76264         Define.
76265         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
76266         LOAD_PIC_REG_STR.
76268 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
76270         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
76271         (SETUP_PIC_REG): Use GET_PC_THUNK.
76272         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
76273         macro.
76275 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
76277         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
76278         for non-PIC compilation.
76279         (SETUP_PIC_REG): Add .p2align directive.
76280         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
76281         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
76282         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
76283         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
76284         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
76285         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
76286         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
76287         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
76288         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
76289         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
76290         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
76291         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
76292         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
76293         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
76294         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
76295         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
76296         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
76297         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
76298         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
76299         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
76300         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
76301         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
76302         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
76303         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
76304         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
76305         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
76306         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76307         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
76308         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
76309         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
76310         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
76311         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76312         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
76313         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
76314         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
76315         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
76316         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
76317         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
76318         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
76319         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
76320         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
76322 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
76324         * math/tst-CMPLX.c: Include <stdio.h>.
76326 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
76328         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
76329         float.
76330         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
76331         * sysdeps/sparc/bits/mathdef.h: Likewise.
76333 2012-01-31  Marek Polacek  <polacek@redhat.com>
76335         * libio/libio.h: Don't define _PARAMS.
76336         * locale/programs/config.h: Don't define PARAMS.
76337         * stdlib/strtol_l.c: Likewise.
76338         (__strtol_l): Remove PARAMS from the prototype.
76340 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
76342         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
76343         names.  Just use the correct names.  Remove unnecessary wrapper
76344         functions.
76345         * malloc/arena.c: Likewise.
76346         * malloc/hooks.c: Likewise.
76348         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
76349         ARENA_TEST says not to.  Simplify test for creation of a new arena.
76350         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
76352 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
76354         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
76355         into tail calls.
76356         (update_get_addr): New function.
76357         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
76358         GET_ADDR_MODULE parameter.
76360 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
76362         * crypt/cert.c: Remove __STDC__ conditionals.
76363         * crypt/crypt-entry.c: Likewise.
76364         * crypt/crypt_util.c: Likewise.
76365         * libio/filedoalloc.c: Likewise.
76366         * libio/fileops.c: Likewise.
76367         * libio/genops.c: Likewise.
76368         * libio/iofclose.c: Likewise.
76369         * libio/iofdopen.c: Likewise.
76370         * libio/iofopen.c: Likewise.
76371         * libio/iofopen64.c: Likewise.
76372         * libio/iogetdelim.c: Likewise.
76373         * libio/iopopen.c: Likewise.
76374         * libio/obprintf.c: Likewise.
76375         * libio/oldfileops.c: Likewise.
76376         * libio/oldiofclose.c: Likewise.
76377         * libio/oldiofdopen.c: Likewise.
76378         * libio/oldiofopen.c: Likewise.
76379         * libio/oldiopopen.c: Likewise.
76380         * libio/wfiledoalloc.c: Likewise.
76381         * libio/wgenops.c: Likewise.
76382         * locale/programs/xmalloc.c: Likewise.
76383         * misc/syslog.c: Likewise.
76384         * stdio-common/xbug.c: Likewise.
76385         * string/memchr.c: Likewise.
76386         * string/memcmp.c: Likewise.
76387         * string/memrchr.c: Likewise.
76388         * string/rawmemchr.c: Likewise.
76389         * sysdeps/posix/getcwd.c: Likewise.
76390         * time/strftime_l.c: Likewise.
76392 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
76394         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
76395         * config.make.in (config-cflags-sse2avx): Define.
76396         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
76397         Fix typo.
76399 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
76401         * scripts/config.guess: Update from upstream config git repository.
76402         * scripts/config.sub: Likewise.
76404 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
76406         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
76407         (EM_NUM): Update.
76408         (R_TILEPRO_*, R_TILEGX_*): New macros.
76410         * scripts/firstversions.awk: Fix bug in version range handling.
76412         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
76414         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
76416         * include/sys/epoll.h: New file.
76417         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
76418         libc_hidden_def.
76420 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
76422         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
76423         Avoid unnecessary __WORDSIZE == 64 test.
76424         (fmaxf): Use VEX format if possible.
76425         (fmax): Likewise.
76426         (fminf): Likewise.
76427         (fmin): Likewise.
76429         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
76430         * math/math_private.h: Remove libc_fegetround* and
76431         libc_fesetround*.
76432         * sysdeps/i386/configure.in: Check for -msse2avx.
76433         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
76434         also if SSE2AVX is defined.
76435         Remove libc_fegetround* and libc_fesetround*.
76436         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
76437         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
76438         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
76439         of HAS_YMM_USABLE.
76440         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
76441         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
76442         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
76443         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
76444         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
76446         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
76448 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76450         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
76451         size is not set.
76452         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
76454 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
76456         [BZ #13618]
76457         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
76458         relocation.
76459         * Makeconfig (libm): Define.
76460         * elf/Makefile: Add rules to build and run tst-relsort1.
76461         * elf/tst-relsort1.c: New file.
76462         * elf/tst-relsort1mod1.c: New file.
76463         * elf/tst-relsort1mod2.c: New file.
76465 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
76467         * math/s_ldexp.c: Remove __STDC__ conditionals.
76468         * math/s_ldexpf.c: Likewise.
76469         * math/s_ldexpl.c: Likewise.
76470         * math/s_nextafter.c: Likewise.
76471         * math/s_nexttowardf.c: Likewise.
76472         * math/s_significand.c: Likewise.
76473         * math/s_significandf.c: Likewise.
76474         * math/s_significandl.c: Likewise.
76475         * math/w_jnl.c: Likewise.
76476         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
76477         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
76478         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
76479         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
76480         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
76481         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
76482         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
76483         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
76484         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
76485         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
76486         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
76487         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76488         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
76489         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
76490         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
76491         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
76492         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
76493         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
76494         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
76495         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76496         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76497         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
76498         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
76499         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
76500         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
76501         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
76502         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
76503         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
76504         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
76505         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
76506         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
76507         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
76508         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
76509         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
76510         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
76511         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
76512         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
76513         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
76514         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
76515         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
76516         * sysdeps/ieee754/k_standard.c: Likewise.
76517         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76518         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
76519         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
76520         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
76521         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
76522         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
76523         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
76524         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
76525         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
76526         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
76527         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
76528         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
76529         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
76530         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
76531         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
76532         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
76533         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
76534         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
76535         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
76536         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
76537         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
76538         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
76539         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
76540         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
76541         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
76542         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
76543         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76544         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76545         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76546         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
76547         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
76548         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
76549         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
76550         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
76551         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
76552         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
76553         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
76554         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
76555         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
76556         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
76557         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
76558         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
76559         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
76560         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
76561         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
76562         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
76563         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
76564         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
76565         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
76566         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
76567         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
76568         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
76569         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
76570         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
76571         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
76572         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
76573         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
76574         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76575         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76576         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76577         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
76578         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
76579         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
76580         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
76581         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
76582         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
76583         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
76584         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
76585         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
76586         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
76587         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
76588         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
76589         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
76590         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
76591         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
76592         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
76593         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
76594         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
76595         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
76596         * sysdeps/ieee754/s_matherr.c: Likewise.
76597         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
76598         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
76599         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
76600         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
76602 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
76604         * crypt/md5.h: Remove __STDC__ conditionals.
76605         * libio/libioP.h: Likewise.
76606         * locale/programs/config.h: Likewise.
76607         * sysdeps/generic/sysdep.h: Likewise.
76608         * sysdeps/i386/asm-syntax.h: Likewise.
76609         * sysdeps/s390/asm-syntax.h: Likewise.
76610         * sysdeps/unix/sysdep.h: Likewise.
76611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
76612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
76614 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
76616         * libio/libio.h: Remove __STDC__ conditionals.
76617         * malloc/obstack.h: Likewise.
76618         * math/complex.h: Likewise.
76619         * math/math.h: Likewise.
76620         * sysdeps/generic/_G_config.h: Likewise.
76621         * sysdeps/gnu/_G_config.h: Likewise.
76622         * sysdeps/mach/hurd/_G_config.h: Likewise.
76623         * sysdeps/powerpc/bits/mathdef.h: Likewise.
76624         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
76625         * sysdeps/sparc/bits/mathdef.h: Likewise.
76627 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
76629         [BZ #13583]
76630         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
76631         Clean up HAS_* macros.
76632         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
76633         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
76634         possible.
76635         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
76636         HAS_AVX.
76637         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
76638         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
76639         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
76640         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
76641         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
76643 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
76645         * elf/tst-unique3.cc (gets): Remove declaration.
76646         * elf/tst-unique3lib.cc (gets): Likewise.
76647         * elf/tst-unique3lib2.cc (gets): Likewise.
76648         * elf/tst-unique4.cc (gets): Likewise.
76650 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
76652         * include/stdio.h: Add C++ protection.  Add gets declarations and
76653         definitions.
76654         * debug/tst-chk1.c: Don't declare gets here.
76655         * stdio-common/tst-gets.c: Likewise.
76657 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
76659         * posix/glob: Remove directory.
76661 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
76663         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
76665 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
76667         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
76668         of the non-standard EPFNOSUPPORT.
76670 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76672         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
76673         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
76674         ANYWHERE set to 1 only on KERN_NO_SPACE error.
76676 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
76678         * wcsmbs/uchar.h: Test __STDC_VERSION__.
76680 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
76682         * nscd/aicache.c (addhstaiX): Do not cache negative results of
76683         transient errors.
76684         * nscd/grpcache.c (cache_addgr): Likewise.
76685         * nscd/hstcache.c (cache_addhst): Likewise.
76686         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76687         * nscd/pwdcache.c (cache_addpw): Likewise.
76688         * nscd/servicescache.c (cache_addserv): Likewise.
76690 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
76692         * malloc/malloc.c: Various cleanups.
76693         * malloc/hooks.c: Likewise.
76695         * stdlib/Makefile (tests): Add bug-fmtmsg1.
76696         * stdlib/bug-fmtmsg1.c: New file.
76698         * stdlib/fmtmsg.c (init): Add missing unlock.
76699         Patch by Peng Haitao <penght@cn.fujitsu.com>.
76701 2012-01-12  Marek Polacek  <polacek@redhat.com>
76703         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
76704         and _GNU_SOURCE.
76706 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
76708         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
76709         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
76710         macro to ensure uniqueness of label name.
76711         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
76712         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
76714 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
76716         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
76718         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
76719         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
76720         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
76721         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
76723 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
76725         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
76727         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
76728         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
76729         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
76731         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
76733         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
76734         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
76735         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
76736         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
76738         * math/bits/math-finite.h: Add ldexp support.
76740 2012-01-10  Marek Polacek  <polacek@redhat.com>
76742         * locale/programs/localedef.h (show_archive_content): Add noreturn
76743         attribute.
76745 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
76747         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
76749 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
76751         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
76753         * io/Makefile (headers): Add bits/poll2.h.
76755 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
76757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
76758         typo #include statement.
76760 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
76762         * include/sys/cdefs.h: Define __attribute_alloc_size.
76763         * catgets/gencat.c: Add alloc_size attribute and apply consistently
76764         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
76765         * elf/pldd.c: Likewise.
76766         * iconv/iconv_charmap.c: Likewise.
76767         * iconv/iconvconfig.c: Likewise.
76768         * iconv/strtab.c: Likewise.
76769         * locale/programs/locale.c: Likewise.
76770         * locale/programs/localedef.h: Likewise.
76771         * locale/programs/simple-hash.c: Likewise.
76772         * nscd/nscd.h: Likewise.
76773         * nss/makedb.c: Likewise.
76774         * sysdeps/generic/ldconfig.h: Likewise.
76775         * locale/programs/localedef.c: Remove xmalloc prototype.
76776         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
76778 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
76780         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
76781         appropriate.
76783 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
76785         * math/Makefile (tests): Add tst-CMPLX.
76786         * math/tst-CMPLX.c: New file.
76788         * math/complex.h (CMPLXL): Fix typo.
76790         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
76791         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
76792         GLIBC_2.16.
76793         * debug/tst-chk1.c: Add poll and ppoll tests.
76794         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
76795         * include/sys/poll.h: Add hidden proto for ppoll.
76796         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
76797         * sysdeps/mach/hurd/ppoll.c: Likewise.
76798         * io/ppoll.c: Likewise.
76799         * debug/poll_chk.c: New file.
76800         * debug/ppoll_chk.c: New file.
76801         * include/bits/poll2.h: New file.
76802         * io/bits/poll2.h: New file.
76804         [BZ #1350]
76805         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
76807         * configure.in: static is always set to yes.  Remove.
76808         * config.make.in: Don't set build-static.
76809         * Makeconfig: Remove use of build-static.
76810         * dlfcn/Makefile: Likewise.
76811         * elf/Makefile: Likewise.
76812         * math/Makefile: Likewise.
76813         * misc/Makefile: Likewise.
76814         * nptl/Makefile: Likewise.
76815         * sysdeps/mach/hurd/Makefile: Likewise.
76817         * configure.in: PWD_P is not used anymore.
76818         * config.make.in: Remove PWD_P entry.
76820         * configure.in: Remove last remnants of RANLIB.
76821         No need to check for signed size_t anymore.
76822         Don't set libc_commonpagesize and libc_relro_required here for Alpha
76823         and IA-64.
76824         Remove __builtin_expect test because we require at least gcc 3.4.
76825         * aclocal.m4: Likewise.
76827         * wcsmbs/mbrtoc16.c: Implement using towc function.
76828         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
76829         * wcsmbs/wcsmbsload.c: Likewise.
76830         * iconv/gconv_simple.c: Likewise.
76831         * iconv/gconv_int.h: Likewise.
76832         * iconv/gconv_builtin.h: Likewise.
76833         * iconv/iconv_prog.c: Remove CHAR16 handling.
76835         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
76837         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
76839         * configure.in: Remove --with-elf and --enable-bounded options.
76840         Dont set base_machine for ia64.  More non-ELF conditions removed.
76841         Remove testing and setting of leading underscore information.
76842         * config.make.in (build-bounded): Set to no.
76843         * config.h.in: Remove NO_UNDERSCORES entry.
76844         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
76845         them.
76846         * csu/start.c: Remove !NO_UNDERSCORE code.
76847         * locale/localeinfo.h: Likewise.
76848         * sysdeps/generic/machine-gmon.h: Likewise.
76849         * sysdeps/generic/sysdep.h: Likewise.
76850         * sysdeps/i386/sysdep.h: Likewise.
76851         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
76852         * sysdeps/mach/sysdep.h: Likewise.
76853         * sysdeps/s390/s390-32/sysdep.h: Likewise.
76854         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76855         * sysdeps/sh/sysdep.h: Likewise.
76856         * sysdeps/sparc/sparc32/alloca.S: Likewise.
76857         * sysdeps/unix/i386/sysdep.S: Likewise.
76858         * sysdeps/unix/sparc/start.c: Likewise.
76859         * sysdeps/unix/sparc/sysdep.S: Likewise.
76860         * sysdeps/unix/sparc/sysdep.h: Likewise.
76861         * sysdeps/unix/start.c: Likewise.
76862         * sysdeps/unix/x86_64/sysdep.S: Likewise.
76863         * sysdeps/x86_64/sysdep.h: Likewise.
76865 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
76867         [BZ #13553]
76868         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
76869         for non-gcc.
76870         * argp/argp-fmtstream.h: Use const instead __const.
76871         * argp/argp.h: Likewise.
76872         * assert/assert.h: Likewise.
76873         * bits/fenv.h: Likewise.
76874         * bits/sched.h: Likewise.
76875         * bits/sigset.h: Likewise.
76876         * bits/sigthread.h: Likewise.
76877         * catgets/nl_types.h: Likewise.
76878         * conform/data/pthread.h-data: Likewise.
76879         * crypt/crypt-private.h: Likewise.
76880         * crypt/crypt.h: Likewise.
76881         * crypt/crypt_util.c: Likewise.
76882         * ctype/ctype.h: Likewise.
76883         * debug/execinfo.h: Likewise.
76884         * debug/mbsnrtowcs_chk.c: Likewise.
76885         * debug/mbsrtowcs_chk.c: Likewise.
76886         * debug/wcsnrtombs_chk.c: Likewise.
76887         * debug/wcsrtombs_chk.c: Likewise.
76888         * debug/wcstombs_chk.c: Likewise.
76889         * dirent/dirent.h: Likewise.
76890         * dlfcn/dlfcn.h: Likewise.
76891         * elf/neededtest4.c: Likewise.
76892         * grp/grp.h: Likewise.
76893         * gshadow/gshadow.h: Likewise.
76894         * iconv/gconv.h: Likewise.
76895         * iconv/gconv_int.h: Likewise.
76896         * iconv/gconv_simple.c: Likewise.
76897         * iconv/iconv.h: Likewise.
76898         * iconv/loop.c: Likewise.
76899         * iconv/skeleton.c: Likewise.
76900         * include/aio.h: Likewise.
76901         * include/aliases.h: Likewise.
76902         * include/argz.h: Likewise.
76903         * include/arpa/inet.h: Likewise.
76904         * include/assert.h: Likewise.
76905         * include/dirent.h: Likewise.
76906         * include/dlfcn.h: Likewise.
76907         * include/execinfo.h: Likewise.
76908         * include/fcntl.h: Likewise.
76909         * include/fenv.h: Likewise.
76910         * include/glob.h: Likewise.
76911         * include/grp.h: Likewise.
76912         * include/libintl.h: Likewise.
76913         * include/mntent.h: Likewise.
76914         * include/netdb.h: Likewise.
76915         * include/pwd.h: Likewise.
76916         * include/rpc/netdb.h: Likewise.
76917         * include/sched.h: Likewise.
76918         * include/search.h: Likewise.
76919         * include/shadow.h: Likewise.
76920         * include/signal.h: Likewise.
76921         * include/stdio.h: Likewise.
76922         * include/stdlib.h: Likewise.
76923         * include/string.h: Likewise.
76924         * include/sys/socket.h: Likewise.
76925         * include/sys/stat.h: Likewise.
76926         * include/sys/statfs.h: Likewise.
76927         * include/sys/statvfs.h: Likewise.
76928         * include/sys/syslog.h: Likewise.
76929         * include/sys/time.h: Likewise.
76930         * include/sys/uio.h: Likewise.
76931         * include/time.h: Likewise.
76932         * include/unistd.h: Likewise.
76933         * include/utmp.h: Likewise.
76934         * include/wchar.h: Likewise.
76935         * include/wctype.h: Likewise.
76936         * inet/aliases.h: Likewise.
76937         * inet/arpa/inet.h: Likewise.
76938         * inet/netinet/ether.h: Likewise.
76939         * inet/netinet/in.h: Likewise.
76940         * intl/libintl.h: Likewise.
76941         * io/bits/fcntl2.h: Likewise.
76942         * io/fcntl.h: Likewise.
76943         * io/ftw.h: Likewise.
76944         * io/sys/poll.h: Likewise.
76945         * io/sys/stat.h: Likewise.
76946         * io/sys/statfs.h: Likewise.
76947         * io/sys/statvfs.h: Likewise.
76948         * io/utime.h: Likewise.
76949         * libio/bits/stdio.h: Likewise.
76950         * libio/bits/stdio2.h: Likewise.
76951         * libio/libio.h: Likewise.
76952         * libio/libioP.h: Likewise.
76953         * libio/stdio.h: Likewise.
76954         * locale/lc-ctype.c: Likewise.
76955         * locale/locale.h: Likewise.
76956         * login/utmp.h: Likewise.
76957         * malloc/arena.c: Likewise.
76958         * malloc/malloc.c: Likewise.
76959         * malloc/malloc.h: Likewise.
76960         * malloc/mcheck.c: Likewise.
76961         * malloc/mtrace.c: Likewise.
76962         * math/bits/mathcalls.h: Likewise.
76963         * math/fenv.h: Likewise.
76964         * math/math_private.h: Likewise.
76965         * misc/bits/error.h: Likewise.
76966         * misc/bits/syslog.h: Likewise.
76967         * misc/err.h: Likewise.
76968         * misc/error.h: Likewise.
76969         * misc/fstab.h: Likewise.
76970         * misc/mntent.h: Likewise.
76971         * misc/regexp.h: Likewise.
76972         * misc/search.h: Likewise.
76973         * misc/sgtty.h: Likewise.
76974         * misc/sys/mman.h: Likewise.
76975         * misc/sys/syslog.h: Likewise.
76976         * misc/sys/uio.h: Likewise.
76977         * misc/sys/xattr.h: Likewise.
76978         * misc/ttyent.h: Likewise.
76979         * nis/rpcsvc/ypclnt.h: Likewise.
76980         * nss/nss.h: Likewise.
76981         * posix/bits/unistd.h: Likewise.
76982         * posix/fnmatch.h: Likewise.
76983         * posix/glob.h: Likewise.
76984         * posix/sched.h: Likewise.
76985         * posix/spawn.h: Likewise.
76986         * posix/sys/wait.h: Likewise.
76987         * posix/unistd.h: Likewise.
76988         * posix/wordexp.h: Likewise.
76989         * pwd/pwd.h: Likewise.
76990         * resolv/netdb.h: Likewise.
76991         * resource/sys/resource.h: Likewise.
76992         * rt/aio.h: Likewise.
76993         * rt/bits/mqueue2.h: Likewise.
76994         * rt/mqueue.h: Likewise.
76995         * shadow/shadow.h: Likewise.
76996         * signal/signal.h: Likewise.
76997         * socket/send.c: Likewise.
76998         * socket/sendto.c: Likewise.
76999         * socket/sys/socket.h: Likewise.
77000         * stdio-common/printf.h: Likewise.
77001         * stdlib/bits/stdlib.h: Likewise.
77002         * stdlib/fmtmsg.h: Likewise.
77003         * stdlib/monetary.h: Likewise.
77004         * stdlib/stdlib.h: Likewise.
77005         * stdlib/ucontext.h: Likewise.
77006         * streams/stropts.h: Likewise.
77007         * string/argz.h: Likewise.
77008         * string/bits/string2.h: Likewise.
77009         * string/string.h: Likewise.
77010         * string/strings.h: Likewise.
77011         * sunrpc/rpc/auth.h: Likewise.
77012         * sunrpc/rpc/auth_des.h: Likewise.
77013         * sunrpc/rpc/clnt.h: Likewise.
77014         * sunrpc/rpc/netdb.h: Likewise.
77015         * sunrpc/rpc/pmap_clnt.h: Likewise.
77016         * sunrpc/rpc/xdr.h: Likewise.
77017         * sysdeps/generic/inttypes.h: Likewise.
77018         * sysdeps/generic/net/if.h: Likewise.
77019         * sysdeps/generic/sys/swap.h: Likewise.
77020         * sysdeps/gnu/net/if.h: Likewise.
77021         * sysdeps/gnu/utmpx.h: Likewise.
77022         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
77023         * sysdeps/i386/i486/bits/string.h: Likewise.
77024         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
77025         * sysdeps/s390/bits/string.h: Likewise.
77026         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
77027         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
77028         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
77029         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
77030         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
77031         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
77032         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
77033         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
77034         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
77035         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
77036         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
77037         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
77038         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
77039         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
77040         * sysdeps/unix/sysv/linux/readv.c: Likewise.
77041         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
77042         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
77043         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77044         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
77045         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
77046         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
77047         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
77048         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
77049         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
77050         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
77051         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
77052         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
77053         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
77054         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
77055         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
77056         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
77057         * sysvipc/sys/ipc.h: Likewise.
77058         * sysvipc/sys/msg.h: Likewise.
77059         * sysvipc/sys/sem.h: Likewise.
77060         * sysvipc/sys/shm.h: Likewise.
77061         * termios/termios.h: Likewise.
77062         * time/sys/time.h: Likewise.
77063         * time/time.h: Likewise.
77064         * wcsmbs/bits/wchar2.h: Likewise.
77065         * wcsmbs/uchar.h: Likewise.
77066         * wcsmbs/wchar.h: Likewise.
77067         * wctype/wctype.h: Likewise.
77069         [BZ #13551]
77070         * Makeconfig: Remove all but ELF support including AIX support.
77071         * Makerules: Likewise.
77072         * config.h.in: Likewise.
77073         * config.make.in: Likewise.
77074         * configure: Likewise.
77075         * configure.in: Likewise.
77076         * csu/Makefile: Likewise.
77077         * csu/version.c: Likewise.
77078         * debug/Makefile: Likewise.
77079         * dlfcn/Makefile: Likewise.
77080         * elf/Makefile: Likewise.
77081         * extra-lib.mk: Likewise.
77082         * iconv/Makefile: Likewise.
77083         * include/libc-symbols.h: Likewise.
77084         * include/shlib-compat.h: Likewise.
77085         * resolv/Makefile: Likewise.
77086         * resolv/res_libc.c: Likewise.
77087         * rt/Makefile: Likewise.
77088         * sysdeps/i386/asm-syntax.h: Likewise.
77089         * sysdeps/i386/sysdep.h: Likewise.
77090         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
77091         * sysdeps/mach/sysdep.h: Likewise.
77092         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
77093         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
77094         * sysdeps/s390/asm-syntax.h: Likewise.
77095         * sysdeps/s390/s390-32/sysdep.h: Likewise.
77096         * sysdeps/s390/s390-64/sysdep.h: Likewise.
77097         * sysdeps/sh/sysdep.h: Likewise.
77098         * sysdeps/unix/sparc/sysdep.h: Likewise.
77099         * sysdeps/wordsize-32/divdi3.c: Likewise.
77100         * sysdeps/x86_64/sysdep.h: Likewise.
77102         * argp/Versions: Remove _argp_unlock_xxx.
77104         [BZ #13559]
77105         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
77106         * abilist/libBrokenLocale.abilist: Likewise.
77107         * abilist/libanl.abilist: Likewise.
77108         * abilist/libc.abilist: Likewise.
77109         * abilist/libcrypt.abilist: Likewise.
77110         * abilist/libdl.abilist: Likewise.
77111         * abilist/libm.abilist: Likewise.
77112         * abilist/libnsl.abilist: Likewise.
77113         * abilist/libpthread.abilist: Likewise.
77114         * abilist/libresolv.abilist: Likewise.
77115         * abilist/librt.abilist: Likewise.
77116         * abilist/libthread_db.abilist: Likewise.
77117         * abilist/libutil.abilist: Likewise.
77118         * abilist/libnss_db.abilist: New file.
77120         * scripts/abilist.awk: Add support for indirect functions.
77122         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
77124         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
77126         * shlib-versions: Remove entries for ports architectures.
77128         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
77129         files in ports.
77130         * elf/stackguard-macros.h: Remove support for IA-64.
77131         * elf/tst-auditmod1.c: Likewise.
77132         * sysdeps/generic/ldsodefs.h: Likewise.
77134         * sysdeps/unix/sysv/linux/configure.in: Ports should define
77135         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
77136         configure files.
77138         [BZ #13552]
77139         * configure.in: Remove --enable-omitfp support.
77140         * FAQ.in: Adjust.
77141         * config.make.in: Likewise.
77142         * Makeconfig: Likewise.
77143         * manual/install.texi: Likewise.
77145         In case anyone cares, the IA-64 architecture could move to ports.
77146         * sysdeps/ia64/*: Removed.
77147         * sysdeps/unix/sysv/linux/ia64/*: Removed.
77148         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
77150         [BZ #13555]
77151         * configure.in: Remove entries for unsupported architectures.
77153         [BZ #13533]
77154         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
77155         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
77156         routines.
77157         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
77158         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
77159         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
77160         fall back to using wcrtomb.
77161         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
77162         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
77163         renaming.
77164         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
77165         * wcsmbs/tst-c16c32-1.c: New file.
77167         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
77168         local variable.
77170         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
77172         * elf/tst-unique3.cc: Add explicit declaration of gets.
77173         * elf/tst-unique3lib.cc: Likewise.
77174         * elf/tst-unique3lib2.cc: Likewise.
77175         * elf/tst-unique4.cc: Likewise.
77177         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
77179 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
77181         [BZ #13566]
77182         * assert/assert.h (static_assert): Don't define for C++.
77183         * libio/stdio.h (gets): Do declare for C++ <= C++11.
77184         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
77186 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
77188         * iconv/loop.c (single loop): Fix assertion in storing of
77189         remaining bytes.
77191         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
77193 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
77195         * posix/getconf.c: Update copyright year.
77196         * nss/getent.c: Likewise.
77197         * nss/makedb.c: Likewise.
77198         * iconv/iconvconfig.c: Likewise.
77199         * iconv/iconv_prog.c: Likewise.
77200         * elf/ldconfig.c: Likewise.
77201         * elf/pldd.c: Likewise.
77202         * elf/sotruss.ksh: Likewise.
77203         * catgets/gencat.c: Likewise.
77204         * csu/version.c: Likewise.
77205         * elf/ldd.bash.in: Likewise.
77206         * elf/sprof.c (print_version): Likewise.
77207         * locale/programs/locale.c: Likewise.
77208         * locale/programs/localedef.c: Likewise.
77209         * login/programs/pt_chown.c: Likewise.
77210         * nscd/nscd.c (print_version): Likewise.
77211         * debug/xtrace.sh: Likewise.
77212         * malloc/memusage.sh: Likewise.
77213         * malloc/mtrace.pl: Likewise.
77214         * debug/catchsegv.sh: Likewise.
77216 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
77218         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
77219         pure attribute.
77221 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
77223         [BZ #13533]
77224         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
77225         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
77226         transformations.
77227         * iconv/gconv_int.h: Likewise.
77228         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
77229         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
77230         from libc for GLIBC_2.16.
77231         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
77232         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
77233         * wcsmbs/uchar.h: Really define mbstate_t.
77234         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
77235         * wcsmbs/c16rtomb.c: New file.
77236         * wcsmbs/mbrtoc16.c: New file.
77237         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
77238         for C/POSIX locale.
77239         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
77240         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
77242         * wcsmbs/wchar.h: Add missing __restrict.
77244 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
77246         [BZ #13532]
77247         * time/Makefile (routines): Add timespec_get.
77248         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
77249         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
77250         timespec for ISO C11.
77251         * time/timespec_get.c: New file.
77252         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
77253         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
77255         [BZ #13531]
77256         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
77257         * stdlib/stdlib.h: Declare aligned_alloc.
77258         * Versions.def: Add GLIBC_2.16 for libc.
77259         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
77261         [BZ 13527]
77262         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
77263         ISO C11.
77265         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
77266         code.
77268         [BZ #13528]
77269         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
77271         [BZ #13529]
77272         * assert/assert.h (static_assert): Define.
77274         * version.h: Update for 2.16 development version.
77276         [BZ #13526]
77277         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
77278         _ISOC11_SOURCE.
77280         * version.h (RELEASE): Bump for 2.15 release.
77281         * include/features.h (__GLIBC_MINOR__): Bump to 15.
77283         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
77284         Patch by Marek Polacek <mpolacek@redhat.com>.
77286         * bits/byteswap.h: Protect long long constants with __extension__.
77287         * sysdeps/i386/bits/byteswap.h: Likewise.
77288         * sysdeps/ia64/bits/byteswap.h: Likewise.
77289         * sysdeps/s390/bits/byteswap.h: Likewise.
77290         * sysdeps/x86_64/bits/byteswap.h: Likewise.
77292 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77294         [BZ #13540]
77295         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
77296         destination buffer.
77297         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
77299 2011-12-23  Marek Polacek  <polacek@redhat.com>
77301         * elf/dl-addr.c (determine_info): Add inline keyword.
77302         * elf/tst-auditmod4b.c (check_avx): Likewise.
77303         * elf/tst-auditmod6b.c (check_avx): Likewise.
77304         * elf/tst-auditmod6c.c (check_avx): Likewise.
77305         * elf/tst-auditmod7b.c (check_avx): Likewise.
77307 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
77309         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
77310         !__SSE_MATH__.
77312 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77314         [BZ #13540]
77315         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
77316         processing for last bytes.
77318 2011-08-06  Bruno Haible  <bruno@clisp.org>
77320         [BZ #13061]
77321         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
77322         U+0385, not to U+1FEE.
77324         [BZ #13062]
77325         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
77326         entry for U+00A5 U+0301.
77328 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
77330         [BZ #13166]
77331         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
77332         buffer for the output is too small.
77334         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
77335         optimization.
77337         [BZ #13185]
77338         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
77339         SSE flags if possible.
77341 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77343         [BZ #13540]
77344         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
77345         processing for last bytes.
77347 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
77349         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
77350         (syscall-list-default-options, syscall-list-default-condition)
77351         (syscall-list-includes): Define.
77352         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
77353         list of ABIs and options and #if conditions for each ABI.  Do not
77354         handle common syscalls between ABIs specially.
77355         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
77356         Remove.
77357         (syscall-list-variants, syscall-list-32bit-options)
77358         (syscall-list-32bit-condition, syscall-list-64bit-options)
77359         (syscall-list-64bit-condition): Define.
77360         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
77361         (syscall-list-variants, syscall-list-32bit-options)
77362         (syscall-list-32bit-condition, syscall-list-64bit-options)
77363         (syscall-list-64bit-condition): Define.
77364         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
77365         Remove.
77366         (syscall-list-variants, syscall-list-32bit-options)
77367         (syscall-list-32bit-condition, syscall-list-64bit-options)
77368         (syscall-list-64bit-condition): Define.
77369         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
77370         Remove.
77371         (syscall-list-variants, syscall-list-32bit-options)
77372         (syscall-list-32bit-condition, syscall-list-64bit-options)
77373         (syscall-list-64bit-condition): Define.
77375 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
77377         * locale/iso-639.def: Add brx entry.
77379         [BZ #13328]
77380         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
77381         Proposed by Mariusz_Cukr <marcukr@op.pl>.
77383         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
77384         __feraiseexcept_renamed.
77386 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
77388         [BZ #13538]
77389         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
77390         EPOLLET with unsigned values.
77391         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
77392         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
77394         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
77395         to large cancellation.
77396         * math/s_cacoshf.c: Likewise.
77397         * math/s_cacoshl.c: Likewise.
77399 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
77401         [BZ #13305]
77402         [BZ #12786]
77403         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
77404         * math/s_cacoshf.c: Likewise.
77405         * math/s_cacoshl.c: Likewise.
77407 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
77409         [BZ #13439]
77410         * iconv/gconv.h: Define __GCONV_SWAP.
77411         * iconvdata/unicode.c: The swap bit must be stored in __flags.
77412         * iconvdata/utf-16.c: Likewise.
77413         * iconvdata/utf-32.c: Likewise.
77415 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
77417         [BZ #13524]
77418         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
77419         numerator after shifting it by one limb.
77421 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
77423         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
77424         under [__USE_EXTERN_INLINES].
77426 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
77428         [BZ #13446]
77429         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
77431 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77433         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
77434         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
77435         optimized code.
77436         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
77437         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
77438         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
77439         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
77440         for strncasecmp/strncasecmp_l compilation.
77441         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
77442         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
77444 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
77446         [BZ #13484]
77447         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
77448         of __asm__.
77450 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
77452         [BZ #13506]
77453         * time/tzfile.c (__tzfile_read): Check values from file header.
77455 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
77457         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
77458         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
77459         * powerpc/powerpc32/dl-start.S: Likewise.
77460         * powerpc/powerpc32/elf/start.S: Likewise.
77461         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
77462         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
77463         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
77464         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
77465         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
77466         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
77467         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
77468         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
77469         * powerpc/powerpc32/fpu/s_round.S: Likewise.
77470         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
77471         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
77472         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
77473         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
77474         * powerpc/powerpc32/memset.S: Likewise.
77475         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
77476         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
77477         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
77478         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
77479         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
77480         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
77481         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
77482         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
77483         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
77484         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
77485         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
77486         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
77487         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
77489 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77491         * math/libm-test.inc: Added more nearbyint tests.
77492         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
77493         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
77494         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
77495         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
77497 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
77499         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
77500         FD_CLOEXEC.
77502 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77504         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
77505         Add wcscpy-ssse3 wcscpy-c.
77506         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
77507         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
77508         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
77509         * sysdeps/x86_64/wcschr.S: New file.
77510         * sysdeps/x86_64/wcsrchr.S: New file.
77511         * string/test-strcmp.c: Remove checking of wcscmp function for
77512         wrong alignments.
77513         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
77514         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
77515         wcsrchr-sse2 wcsrchr-c.
77516         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
77517         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
77518         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
77519         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
77520         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
77521         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
77522         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
77523         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
77524         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
77525         * wcsmbc/wcschr.c (WCSCHR): New macro.
77527 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77529         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
77530         * wcsmbs/test-wcsrchr.c: New file.
77531         * string/test-strrchr.c: Add wcsrchr support.
77532         (WIDE): New macro.
77533         * wcsmbs/test-wcscpy.c: New file.
77534         * string/test-strcpy.c: Add wcscpy support.
77535         (WIDE): New macro.
77537 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
77539         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
77540         the inner loop.
77542 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
77544         [BZ #13472]
77545         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
77547 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
77549         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
77550         Minor optimizations.
77552         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
77553         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
77554         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
77556 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
77558         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
77559         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
77560         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
77561         for gcc to avoid warnings.
77562         * inet/Makefile (tests): Add tst-checks.
77563         * inet/tst-checks.c: New file.
77565         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
77566         warning.
77568         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
77569         __wmemcmp_sse2.
77571         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
77572         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
77574         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
77576 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
77578         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
77579         problem.
77581         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
77583 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
77585         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
77586         conditional on GCC version.
77587         (__arch_compare_and_exchange_val_8_acq)
77588         (__arch_compare_and_exchange_val_16_acq)
77589         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
77590         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
77591         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
77593 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
77595         * sysdeps/sh/backtrace.c: New file.
77597 2011-12-02  Andreas Schwab  <schwab@redhat.com>
77599         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
77600         parenthesis.
77602 2011-12-01  Andreas Schwab  <schwab@redhat.com>
77604         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
77605         falling back to utime.
77607 2011-11-30  Andreas Schwab  <schwab@redhat.com>
77609         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
77610         expectations for float.
77612 2011-11-29  Andreas Schwab  <schwab@redhat.com>
77614         * locale/weight.h (findidx): Add parameter len.
77615         * locale/weightwc.h (findidx): Likewise.
77616         * posix/fnmatch_loop.c (FCT): Adjust caller.
77617         * posix/regcomp.c (build_equiv_class): Likewise.
77618         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
77619         * posix/regexec.c (check_node_accept_bytes): Likewise.
77620         * string/strcoll_l.c (STRCOLL): Likewise.
77621         * string/strxfrm_l.c (STRXFRM): Likewise.
77623 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
77625         * Makefile.in: Remove CVSOPT handling.
77626         * configure.in: Remove use of AC_REVISION.
77627         * iconvdata/Makefile (distribute): No need to filter out CVS.
77628         * scripts/list-sources.sh: Remove CVS, subversion and monotone
77629         handling.
77631 2011-11-16  Andreas Schwab  <schwab@redhat.com>
77633         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
77634         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
77635         [USE_AS_STRNCASECMP_L]: Likewise.
77636         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
77637         NO_TLS_DIRECT_SEG_REFS.
77638         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
77639         Fix argument offsets for non-PIC.
77640         [USE_AS_STRNCASECMP_L]: Likewise.
77641         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
77642         NO_TLS_DIRECT_SEG_REFS.
77644 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
77646         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
77647         O_CLOEXEC.
77648         * locale/loadlocale.c (_nl_load_locale): Likewise.
77650 2011-11-15  Andreas Schwab  <schwab@redhat.com>
77652         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
77653         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
77654         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
77655         (SYSCALL_GETTIME): Set errno on error.
77657         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
77658         count references to noai6ai_cached.
77660 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
77662         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
77664         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
77665         FD_CLOEXEC for /proc/self/maps.
77667         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
77668         FD_CLOEXEC for /proc/meminfo.
77670         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
77671         gai.conf.
77673         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
77674         FD_CLOEXEC for given file.
77676         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
77678         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
77679         FD_CLOEXEC for /etc/hosts.
77680         (_gethtent): Likewise.
77682         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
77684         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
77685         cancellation and set FD_CLOEXEC for /etc/netgroup.
77687         * nss/nss_files/files-key.c (search): Don't allow cancellation when
77688         reading /etc/publickey.
77690         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
77691         allow cancellation when reading /etc/group.
77693         * nss/nss_files/files-alias.c (internal_setent): Don't allow
77694         cancellation.
77695         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
77697         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
77698         when using data file.
77700         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
77702         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
77703         (write_nis_obj): Use "c" and "e" in fopen.
77705         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
77707         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
77709         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
77711         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
77713         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
77714         locale.alias.
77716         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
77718         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
77720         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
77722         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
77723         file parsing and set FD_CLOEXEC.
77725 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
77727         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
77729 2011-11-14  Andreas Schwab  <schwab@redhat.com>
77731         * malloc/arena.c (arena_get2): Don't call reused_arena when
77732         _int_new_arena failed.
77734 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
77736         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
77737         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
77738         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
77739         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
77740         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
77741         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
77742         to compile strcasecmp and strncasecmp.
77743         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
77744         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
77746         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
77748 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
77750         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
77751         locale-defines.sym to gen-as-const-headers.
77752         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
77753         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
77754         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
77755         to compile strcasecmp and strncasecmp.
77756         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
77757         strcasecmp_l and strncasecmp_l.
77758         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
77759         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
77760         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
77761         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
77762         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
77763         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
77764         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
77765         * sysdeps/i386/i686/multiarch/strncase.S: New file.
77766         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
77767         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
77768         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
77770 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
77772         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
77773         result of SYSDEP_GETTIME_CPU to retval.
77774         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
77775         parameter list to macro.  Remove trailing semicolon.  Adjust users.
77777         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
77778         variable.
77780         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
77781         mantissa words.
77782         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
77784         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
77785         from unused variable.
77787         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
77788         DWARF definitions.
77789         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
77790         for assembling.
77792         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
77793         over namespaces.
77795         * sunrpc/rpc_prot.c (rejected): Fix case value.
77797         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
77798         unsigned long long int to avoid warnings in shift.
77800         * posix/regex_internal.c (re_string_reconstruct): Actually use result
77801         of use of trans.
77802         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
77803         variable tmp.
77805         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
77806         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
77807         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
77809         * nis/nis_table.c (nis_list): Use variable of correct type for
77810         result of __follow_path call.
77812 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77814         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
77815         of math functions ceil, trunc, floor, round, and sqrt, when
77816         avaliable on the platform.
77817         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
77818         name clash.
77819         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
77820         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
77821         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
77823 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
77825         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
77826         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
77828 2011-11-11  Roland McGrath  <roland@hack.frob.com>
77830         * include/unistd.h: Fix __readlink return type.
77831         Reported by Chris Metcalf <cmetcalf@tilera.com>.
77833 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
77835         * stdlib/ucontext.h: Undo last change for makecontext.
77837 2011-11-11  Andreas Schwab  <schwab@redhat.com>
77839         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
77841         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
77842         * setjmp/setjmp.h: Mark functions as non-leaf.
77843         * setjmp/bits/setjmp2.h: Likewise.
77844         * stdlib/ucontext.h: Likewise.
77846 2011-11-10  Andreas Schwab  <schwab@redhat.com>
77848         * malloc/arena.c (_int_new_arena): Don't increment narenas.
77849         (reused_arena): Don't check arena limit.
77850         (arena_get2): Atomically check arena limit.
77852 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
77854         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
77855         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
77857         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
77858         instructions.
77860 2011-11-07  Andreas Schwab  <schwab@redhat.com>
77862         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
77863         handler when locking.
77865         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
77866         Fix size of allocated buffer.
77868 2011-11-04  Andreas Schwab  <schwab@redhat.com>
77870         [BZ #10103]
77871         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
77872         declarations for long double functions.
77873         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
77875         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
77877 2011-11-03  Andreas Schwab  <schwab@redhat.com>
77879         * nscd/nscd.c (main): Don't start AVC thread until credentials are
77880         installed.
77882         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
77883         is disabled.
77885 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77887         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
77889 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
77891         * include/alloca.h (stackinfo_alloca_round): Define.
77892         (extend_alloca): Use it.
77893         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
77894         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
77895         here.
77897         * scripts/check-local-headers.sh: Ignore libaudit.h.
77899         * nscd/Makefile (extra-objs): Make recursively expanded.
77901 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
77903         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
77904         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
77906         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
77907         * posix/tst-rfc3484-2.c: Likewise.
77908         * posix/tst-rfc3484-3.c: Likewise.
77910         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
77911         process_vm_writev.
77912         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
77913         process_vm_writev.
77914         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
77915         process_vm_writev from libc using GLIBC_2.15 version.
77917         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
77919 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
77921         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
77922         stack usage.
77924 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
77926         [BZ #13367]
77927         * nss/getent.c (initgroups_keys): Show error message in case no group
77928         names are given.
77930         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
77931         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
77932         __bump_nl_timestamp.
77933         * nscd/connections (nscd_init): When host database is served open
77934         netlink socket and request notification about configuration changes.
77935         (main_loop_poll): Track netlink file descriptor and bump timestamp
77936         in case data becomes available.
77937         (main_loop_epoll): Likewise.
77938         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
77939         (database_pers_head): Add extra_data fileds.
77940         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
77941         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
77942         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
77943         Adjust caller.
77944         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
77945         in6ai data, call __free_in6ai.
77946         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
77947         Add -DHAVE_NETLINK.
77948         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
77949         interface information.  Reuse previous data if netlink timestamp
77950         is not changed.
77951         (__bump_nl_timestamp): New function.
77952         (__free_in6ai): New function.
77954 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
77956         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
77957         close_not_cancel_no_status here.
77958         (__check_pf): Reorganize code a bit to not call close twice if OOM.
77960 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
77962         [BZ #13276]
77963         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
77964         return value.
77966         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
77967         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
77968         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
77970 2011-07-03  Andreas Jaeger  <aj@suse.de>
77972         [BZ #10709]
77973         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
77974         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
77975         * math/libm-test.inc (sin_test): Add test case.
77977 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
77979         [BZ #13337]
77980         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
77981         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
77983         * elf/chroot_canon.c (chroot_canon): Cleanups.
77985         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
77987         [BZ #13335]
77988         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
77989         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
77991         * string/test-strchr.c: Make usable for strchrnul testing.
77992         * string/test-strchrnul.c: New file.
77993         * string/Makefile (strop-tests): Add strchrnul.
77995         * po/it.po: Update from translation team.
77996         * po/es.po: Likewise.
77998 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
78000         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
78001         the three constants needed as parameters.  Drop the others.
78002         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
78003         __m128i_strloadu_tolower.
78004         Create and initialize variable zero and use it in all the places
78005         where _mm_setzero_si128 was used.
78007         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
78008         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
78009         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
78010         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
78011         anymore.
78012         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
78013         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
78014         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
78015         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
78016         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
78017         __mpranred, __mptan.
78018         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
78019         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
78020         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
78021         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
78022         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
78023         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
78024         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
78025         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
78026         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
78028 2011-10-28  Andreas Schwab  <schwab@redhat.com>
78030         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
78031         redefine if SHARED.
78032         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
78034         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
78035         wide char related routines to wcsmbs subdir.
78037 2011-10-27  Andreas Schwab  <schwab@redhat.com>
78039         [BZ #13344]
78040         * misc/sys/cdefs.h (__THROWNL): Define.
78041         * posix/unistd.h: Use __THREADNL instead of __THREAD
78042         for memory synchronization functions.
78044 2011-10-26  Roland McGrath  <roland@hack.frob.com>
78046         [BZ #13349]
78047         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
78048         doesn't exist.
78049         * manual/stdio.texi (Obstack Streams): Node removed.
78051 2011-10-26  Andreas Schwab  <schwab@redhat.com>
78053         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
78054         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
78055         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
78057         * math/math_private.h (math_force_eval): Allow non-addressable
78058         arguments.
78059         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
78061 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
78063         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
78064         file is not needed.
78066         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
78067         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
78068         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
78069         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
78070         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
78071         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
78072         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
78073         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
78074         Add AVX variants.
78075         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
78076         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
78077         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
78078         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
78079         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
78080         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
78081         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
78082         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
78083         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
78084         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
78085         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
78086         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
78087         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
78088         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
78089         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
78090         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
78091         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
78092         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
78093         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
78095         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
78096         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
78098         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
78099         place.  Use VEX encoding when compiling for AVX.
78101 2011-10-25  Andreas Schwab  <schwab@redhat.com>
78103         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
78104         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
78106         * string/test-strchr.c (do_test): Don't generate NUL bytes.
78108 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
78110         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
78111         useless if() expression.
78112         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
78113         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
78114         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
78115         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78116         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
78117         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
78118         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
78119         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
78120         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
78121         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
78122         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
78123         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
78124         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
78125         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
78126         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
78127         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
78128         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
78129         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
78130         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
78132         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
78134 2011-10-25  Andreas Schwab  <schwab@redhat.com>
78136         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
78137         condition.
78138         * elf/dl-fini.c (_dl_sort_fini): Likewise.
78140 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
78142         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
78143         .text section.  Avoid duplicate constants.
78144         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
78145         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
78146         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
78147         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78148         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
78149         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78150         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78151         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78152         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
78153         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
78154         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
78155         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
78156         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
78157         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
78158         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
78159         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
78160         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
78161         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
78162         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
78163         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
78164         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
78165         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
78166         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
78167         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
78168         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
78169         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
78170         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
78171         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
78172         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
78173         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
78174         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
78175         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
78176         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
78177         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
78178         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
78179         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
78180         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
78181         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
78182         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
78183         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
78184         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
78185         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
78186         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
78187         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
78188         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
78190 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
78192         * sysdeps/x86_64/dla.h: Move to ...
78193         * sysdeps/x86_64/fpu/dla.h: ...here.
78194         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
78195         situations.  Use __builtin_fma only for gcc 4.6 and up.
78197         * config.make.in: Add have-mfma4 entry.
78198         * configure.in: Substitute libc_cv_cc_fma4.
78199         * math/Makefile (dbl-only-routines): Add sincostab.
78200         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
78201         Use __sincostab not sincos.
78202         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
78203         name is a macro.
78204         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
78205         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78206         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78207         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
78208         using __copysign.
78209         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
78210         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
78211         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
78212         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
78213         and __inv.
78214         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
78215         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
78216         __copysign.
78217         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
78218         define aliases when function name is a macro.
78219         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
78220         sysdeps/ieee754/dbl-64/sincos.tbl.
78221         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
78222         fma4-enabled routines.
78223         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
78224         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
78225         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
78226         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
78227         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
78228         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
78229         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
78230         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
78231         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
78232         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
78233         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
78234         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
78235         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
78236         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
78237         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
78238         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
78239         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
78240         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
78241         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
78242         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
78243         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
78244         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
78245         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
78246         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
78247         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
78248         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
78249         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
78250         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
78251         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
78252         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
78254         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
78255         rename.
78256         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
78257         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
78258         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78259         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78260         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78261         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78262         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
78263         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
78265 2011-10-24  Andreas Schwab  <schwab@redhat.com>
78267         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
78269 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
78271         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
78273         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
78274         prediction.
78275         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
78277         * string/strnlen.c: Don't define STRNLEN, reverse logic.
78278         Remove unused variable magic_bits.
78279         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
78281         * string/strnlen.c: Define and use STRNLEN macro.
78282         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
78283         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
78284         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
78285         * wcsmbs/wcslen.c: Define and use WCSLEN.
78286         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
78287         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
78288         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
78289         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
78290         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
78291         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
78292         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
78294 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78296         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78297         strnlen-sse2-no-bsf.
78298         Rename strlen-no-bsf to strlen-sse2-no-bsf.
78299         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
78300         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
78301         Add strnlen support.
78302         (USE_AS_STRNLEN): New macro.
78303         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
78304         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
78305         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
78306         * sysdeps/x86_64/wcslen.S: New file.
78308 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
78310         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
78311         XMM-moves are used for copying on small sizes.
78313 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78315         * wcsmbs/Makefile (strop-tests): Add wcschr.
78316         * wcsmbs/test-wcschr.c: New file.
78317         * string/test-strchr.c: Update.
78318         Add wcschr support.
78319         (WIDE): New macro.
78321 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78323         * wcsmbs/Makefile (strop-tests): Add wcslen.
78324         * wcsmbs/test-wcslen.c: New file.
78325         * string/test-strlen.c: Update.
78326         Add wcslen support.
78327         (WIDE): New macro.
78329 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
78331         * po/it.po: Update from translation team.
78333 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78335         * sysdeps/x86_64/wcscmp.S: Update.
78336         Fix wrong comparison semantics.
78337         wcscmp shall use signed comparison not unsigned.
78338         Don't use substraction to avoid overflow bug.
78339         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
78340         * wcsmbc/wcscmp.c: Likewise.
78341         * string/test-strcmp.c: Likewise.
78342         Add new tests to check cases with negative values.
78344 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
78346         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
78347         * sysdeps/x86_64/dla.h: ...here.  New file.
78348         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
78349         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
78350         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78351         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78352         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78353         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
78354         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78355         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
78356         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
78358 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
78360         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
78361         __ynl_finite aliases.
78363 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
78365         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78367         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
78368         define DLA_FMA.
78369         [DLA_FMA] (EMULV): Use DLA_FMA.
78370         [DLA_FMA] (MUL12): Use EMULV.
78371         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
78372         that are not needed.
78373         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
78374         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78375         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78376         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78377         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78378         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
78379         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
78381 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
78383         * math/s_nan.c: Undef __nan.
78384         * math/s_nanf.c: Undef __nanf.
78385         * math/s_nanl.c: Undef __nanl.
78386         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
78387         "math_private.h".
78389 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
78391         * math/s_catan.c: Add branch predictions.
78392         * math/s_catanf.c: Likewise.
78393         * math/s_catanh.c: Likewise.
78394         * math/s_catanhf.c: Likewise.
78395         * math/s_catanhl.c: Likewise.
78396         * math/s_catanl.c: Likewise.
78397         * math/s_cexp.c: Likewise.
78398         * math/s_cexpf.c: Likewise.
78399         * math/s_cexpl.c: Likewise.
78400         * math/s_clog.c: Likewise.
78401         * math/s_clog10.c: Likewise.
78402         * math/s_clog10f.c: Likewise.
78403         * math/s_clog10l.c: Likewise.
78404         * math/s_clogf.c: Likewise.
78405         * math/s_clogl.c: Likewise.
78406         * math/s_csqrt.c: Likewise.
78407         * math/s_csqrtf.c: Likewise.
78408         * math/s_csqrtl.c: Likewise.
78409         * math/s_ctanf.c: Likewise.
78410         * math/s_ctanh.c: Likewise.
78411         * math/s_ctanhf.c: Likewise.
78412         * math/s_ctanhl.c: Likewise.
78413         * math/s_ctanl.c: Likewise.
78415         * math/math_private.h: Define __nan, __nanf, __nanl.
78416         * math/s_cacosh.c: Include <math_private.h>.
78417         * math/s_cacoshl.c: Likewise.
78418         * math/s_casinh.c: Likewise.
78419         * math/s_casinhf.c: Likewise.
78420         * math/s_casinhl.c: Likewise.
78421         * math/s_ccos.c: Rely entire on ccosh.
78422         * math/s_ccosf.c: Rely entire on ccoshf.
78423         * math/s_ccosl.c: Rely entirely on ccoshl.
78424         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
78425         Remove tests for FE_INVALID.
78426         * math/s_ccoshf.c: Likewise.
78427         * math/s_ccoshl.c: Likewise.
78428         * math/s_csin.c: Likewise.
78429         * math/s_csinf.c: Likewise.
78430         * math/s_csinh.c Likewise.
78431         * math/s_csinhf.c: Likewise.
78432         * math/s_csinhl.c: Likewise.
78433         * math/s_csinl.c: Likewise.
78434         * math/s_ctan.c: Likewise.
78435         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
78436         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
78437         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
78439 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
78441         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
78442         compilation problems.
78444         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
78445         __builtin_expect.
78447 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
78449         * sysdeps/i386/configure.in: Test for -mfma4 option.
78450         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
78451         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
78452         COMMON_CPUID_INDEX_80000001.
78453         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
78454         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
78455         use it if FMA3 is not supported.
78456         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
78458         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
78459         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
78461 2011-10-20  Andreas Schwab  <schwab@redhat.com>
78463         [BZ #12892]
78464         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
78465         it would create a cycle with a link time dependency.
78467 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
78469         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
78470         instruction.
78471         * string/Makefile (strop-tests): Add rawmemchr.
78472         * string/test-rawmemchr.c: New file.
78474         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
78475         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
78476         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
78477         when compiling str{,n}casecmp and when AVX is available.  Hook up
78478         new optimized code in initializers.
78480 2011-10-19  Andreas Schwab  <schwab@redhat.com>
78482         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
78483         __feraiseexcept instead of feraiseexcept.
78485 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
78487         * math/math_private.h: Define defaults for libc_fetestexcept and
78488         libc_feupdateenv.
78489         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
78490         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
78491         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
78492         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
78493         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
78494         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
78495         libc_fetestexcept and libc_feupdateenv.
78497         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
78498         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
78499         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
78500         * sysdeps/x86_64/fpu/math_private.h: Define special version of
78501         libc_feholdexcept_setround.
78503         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
78504         Add s_nearbyint-c and s_nearbyintf-c.
78505         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
78506         nearbyintf inlines.
78507         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
78508         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
78509         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
78510         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
78512         * math/math_private.h: Define defaults for libc_fegetround,
78513         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
78514         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
78515         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
78516         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
78517         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
78518         standard functions.
78519         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
78520         Remove comments and hacks for old compiler versions.
78521         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
78522         libc_fegetround, libc_fesetround, libc_feholdexcept, and
78523         libc_feholdexceptl.
78525 2011-10-18  Andreas Schwab  <schwab@redhat.com>
78527         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
78528         (__feraiseexcept_renamed): Add __NTH.
78529         (feraiseexcept): Add __NTH.  Rename local variables to fix
78530         namespace violations.
78532 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
78534         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
78536         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
78538         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
78539         recently added interfaces.
78540         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
78542         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
78543         about macro parameter expansion.
78545         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
78546         __NO_MATH_INLINES is defined.  Cleanups.
78548         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
78549         and __floorf is target has SSE4.1.
78550         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
78551         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
78552         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
78553         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
78555         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
78556         name.
78557         (floorf): Likewise.
78559         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
78561 2011-10-17  Andreas Schwab  <schwab@redhat.com>
78563         * misc/sys/cdefs.h: Fix last change.
78565         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
78566         database lookup.
78568 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
78570         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
78572         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
78573         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78574         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
78575         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
78576         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
78577         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
78578         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
78579         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
78580         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
78581         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
78582         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
78583         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
78584         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
78585         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
78586         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
78587         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
78588         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
78589         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
78590         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
78591         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
78592         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
78593         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
78595         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
78596         ceil, ceilf, floor, floorf.
78598         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
78599         Perform IRELATIVE relocations last.
78601         * elf/do-rel.h: Add another parameter nrelative, replacing the
78602         local variable with the same name.  Change name of the function
78603         to end in Rel or Rela (uppercase).
78604         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
78605         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
78606         elf_dynamic_do_##reloc function.
78608 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
78610         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
78611         is sufficient, at least on modern CPUs.
78613         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
78615         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
78616         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
78618         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
78619         __expl_finite.
78620         * math/bits/math-finite.h: Add entries for exp.
78621         * math/e_expl.c: Add __*_finite alias.
78622         * sysdeps/i386/fpu/e_exp.S: Likewise.
78623         * sysdeps/i386/fpu/e_expf.S: Likewise.
78624         * sysdeps/i386/fpu/e_expl.c: Likewise.
78625         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
78626         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
78627         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
78628         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
78629         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
78630         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
78631         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
78633         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
78634         is sufficient, at least on modern CPUs.
78636         * ctype/ctype-info.c (__ctype_init): Define.
78637         * include/ctype.h (__ctype_init): Declare.
78638         (__ctype_b_loc): The variable is always initialized.
78639         (__ctype_toupper_loc): Likewise.
78640         (__ctype_tolower_loc): Likewise.
78641         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
78642         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
78644 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
78646         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
78648         * configure.in: Also look in $cxxmachine/include for C++ system
78649         headers.
78651 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78653         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
78654         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
78655         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
78656         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
78657         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
78658         (USE_AS_WMEMCMP): New macro.
78659         Fixing indents.
78660         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
78661         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
78662         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
78663         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
78664         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78665         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
78666         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
78667         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
78668         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
78669         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
78670         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
78671         (USE_AS_WMEMCMP): New macro.
78672         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
78673         * sysdeps/string/test-memcmp.c: Update.
78674         Fix simple_wmemcmp.
78675         Add new tests.
78676         * wcsmbs/wmemcmp.c: Update.
78677         (WMEMCMP): New macro.
78678         Fix overflow bug.
78680 2011-10-12  Andreas Jaeger  <aj@suse.de>
78682         [BZ #13268]
78683         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
78685 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
78687         * libio/iofwide.c (do_length): Avoid warning.
78689         * ctype/ctype.h (__isctype_f): Add missing __THROW.
78691 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
78693         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
78695         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
78696         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
78697         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
78698         * sysdeps/i386/i686/fpu/e_log.S: New file.
78699         * sysdeps/i386/i686/fpu/e_logf.S: New file.
78700         * sysdeps/i386/i686/fpu/e_logl.S: New file.
78702         * ctype/ctype.h: Add support for inlined isXXX functions when
78703         compiling C++ code.
78705 2011-10-14  Andreas Schwab  <schwab@redhat.com>
78707         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78709         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
78711 2011-10-13  Roland McGrath  <roland@hack.frob.com>
78713         [BZ #13291]
78714         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
78716 2011-10-13  Andreas Schwab  <schwab@redhat.com>
78718         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
78719         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
78720         feraiseexcept.
78722         * sysdeps/x86_64/memrchr.S: Check for zero size.
78724         * string/stratcliff.c: Add memrchr tests.
78726 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78728         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78729         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
78730         rawmemchr-sse2 rawmemchr-sse2-bsf.
78731         * sysdeps/i386/i686/multiarch/memchr.S: New file.
78732         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
78733         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
78734         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
78735         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
78736         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
78737         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
78738         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
78739         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
78740         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
78741         * string/memrchr.c (MEMRCHR): New macro.
78743 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
78745         Add integration with gcc's -ffinite-math-only and optimize wrapper
78746         functions in libm.
78747         * Versions.def: Define GLIBC_2.15 version for libm.
78748         * math/Makefile (headers): Add bits/math-finite.h.
78749         * math/bits/math-finite.h: New file.
78750         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
78751         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
78752         * math/e_acoshl.c: Add __*_finite alias.
78753         * math/e_acosl.c: Likewise.
78754         * math/e_asinl.c: Likewise.
78755         * math/e_atan2l.c: Likewise.
78756         * math/e_atanhl.c: Likewise.
78757         * math/e_coshl.c: Likewise.
78758         * math/e_exp10.c: Likewise.
78759         * math/e_exp10f.c: Likewise.
78760         * math/e_exp10l.c: Likewise.
78761         * math/e_exp2l.c: Likewise.
78762         * math/e_fmodl.c: Likewise.
78763         * math/e_gammal_r.c: Likewise.
78764         * math/e_hypotl.c: Likewise.
78765         * math/e_j0l.c: Likewise.
78766         * math/e_j1l.c: Likewise.
78767         * math/e_jnl.c: Likewise.
78768         * math/e_lgammal_r.c: Likewise.
78769         * math/e_log10l.c: Likewise.
78770         * math/e_log2l.c: Likewise.
78771         * math/e_logl.c: Likewise.
78772         * math/e_powl.c: Likewise.
78773         * math/e_sinhl.c: Likewise.
78774         * math/e_sqrtl.c: Likewise.
78775         * math/e_scalb.c: Completely rewritten and optimized.
78776         * math/e_scalbf.c: Likewise.
78777         * math/e_scalbl.c: Likewise.
78778         * math/w_acos.c: Likewise.
78779         * math/w_acosf.c: Likewise.
78780         * math/w_acosl.c: Likewise.
78781         * math/w_acosh.c: Likewise.
78782         * math/w_acoshf.c: Likewise.
78783         * math/w_acoshl.c: Likewise.
78784         * math/w_asin.c: Likewise.
78785         * math/w_asinf.c: Likewise.
78786         * math/w_asinl.c: Likewise.
78787         * math/w_atan2.c: Likewise.
78788         * math/w_atan2f.c: Likewise.
78789         * math/w_atan2l.c: Likewise.
78790         * math/w_atanh.c: Likewise.
78791         * math/w_atanhf.c: Likewise.
78792         * math/w_atanhl.c: Likewise.
78793         * math/w_exp10.c: Likewise.
78794         * math/w_exp10f.c: Likewise.
78795         * math/w_exp10l.c: Likewise.
78796         * math/w_fmod.c: Likewise.
78797         * math/w_fmodf.c: Likewise.
78798         * math/w_fmodl.c: Likewise.
78799         * math/w_j0.c: Likewise.
78800         * math/w_j0f.c: Likewise.
78801         * math/w_j0l.c: Likewise.
78802         * math/w_j1.c: Likewise.
78803         * math/w_j1f.c: Likewise.
78804         * math/w_j1l.c: Likewise.
78805         * math/w_jn.c: Likewise.
78806         * math/w_jnf.c: Likewise.
78807         * math/w_log.c: Likewise.
78808         * math/w_logf.c: Likewise.
78809         * math/w_logl.c: Likewise.
78810         * math/w_log10.c: Likewise.
78811         * math/w_log10f.c: Likewise.
78812         * math/w_log10l.c: Likewise.
78813         * math/w_log2.c: Likewise.
78814         * math/w_log2f.c: Likewise.
78815         * math/w_log2l.c: Likewise.
78816         * math/w_pow.c: Likewise.
78817         * math/w_powf.c: Likewise.
78818         * math/w_powl.c: Likewise.
78819         * math/w_remainder.c: Likewise.
78820         * math/w_remainderf.c: Likewise.
78821         * math/w_remainderl.c: Likewise.
78822         * math/w_scalb.c: Likewise.
78823         * math/w_scalbf.c: Likewise.
78824         * math/w_scalbl.c: Likewise.
78825         * math/w_sqrt.c: Likewise.
78826         * math/w_sqrtf.c: Likewise.
78827         * math/w_sqrtl.c: Likewise.
78828         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
78829         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
78830         used.
78831         * math/math_private.h: Declare __kernel_standard_f.
78832         * math/w_cosh.c: Remove cruft and optimize a bit.
78833         * math/w_coshf.c: Likewise.
78834         * math/w_coshl.c: Likewise.
78835         * math/w_exp2.c: Likewise.
78836         * math/w_exp2f.c: Likewise.
78837         * math/w_exp2l.c: Likewise.
78838         * math/w_hypot.c: Likewise.
78839         * math/w_hypotf.c: Likewise.
78840         * math/w_hypotl.c: Likewise.
78841         * math/w_lgamma.c: Likewise.
78842         * math/w_lgamma_r.c: Likewise.
78843         * math/w_lgammaf.c: Likewise.
78844         * math/w_lgammaf_r.c: Likewise.
78845         * math/w_lgammal.c: Likewise.
78846         * math/w_lgammal_r.c: Likewise.
78847         * math/w_sinh.c: Likewise.
78848         * math/w_sinhf.c: Likewise.
78849         * math/w_sinhl.c: Likewise.
78850         * math/w_tgamma.c: Likewise.
78851         * math/w_tgammaf.c: Likewise.
78852         * math/w_tgammal.c: Likewise.
78853         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
78854         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
78855         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
78856         Minor optimizations.  Pretty printing.  Remove cruft.
78857         * sysdeps/i386/fpu/e_acosf.S: Likewise.
78858         * sysdeps/i386/fpu/e_acosh.S: Likewise.
78859         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78860         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78861         * sysdeps/i386/fpu/e_acosl.c: Likewise.
78862         * sysdeps/i386/fpu/e_asin.S: Likewise.
78863         * sysdeps/i386/fpu/e_asinf.S: Likewise.
78864         * sysdeps/i386/fpu/e_atan2.S: Likewise.
78865         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
78866         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
78867         * sysdeps/i386/fpu/e_atanh.S: Likewise.
78868         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78869         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78870         * sysdeps/i386/fpu/e_exp10.S: Likewise.
78871         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
78872         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
78873         * sysdeps/i386/fpu/e_exp2.S: Likewise.
78874         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
78875         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
78876         * sysdeps/i386/fpu/e_fmod.S: Likewise.
78877         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
78878         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
78879         * sysdeps/i386/fpu/e_hypot.S: Likewise.
78880         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
78881         * sysdeps/i386/fpu/e_log.S: Likewise.
78882         * sysdeps/i386/fpu/e_log10.S: Likewise.
78883         * sysdeps/i386/fpu/e_log10f.S: Likewise.
78884         * sysdeps/i386/fpu/e_log10l.S: Likewise.
78885         * sysdeps/i386/fpu/e_log2.S: Likewise.
78886         * sysdeps/i386/fpu/e_log2f.S: Likewise.
78887         * sysdeps/i386/fpu/e_log2l.S: Likewise.
78888         * sysdeps/i386/fpu/e_logf.S: Likewise.
78889         * sysdeps/i386/fpu/e_logl.S: Likewise.
78890         * sysdeps/i386/fpu/e_pow.S: Likewise.
78891         * sysdeps/i386/fpu/e_powf.S: Likewise.
78892         * sysdeps/i386/fpu/e_powl.S: Likewise.
78893         * sysdeps/i386/fpu/e_remainder.S: Likewise.
78894         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
78895         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
78896         * sysdeps/i386/fpu/e_scalb.S: Likewise.
78897         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78898         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78899         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
78900         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
78901         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
78902         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
78903         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
78904         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78905         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
78906         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
78907         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
78908         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
78909         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
78910         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
78911         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
78912         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
78913         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
78914         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78915         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
78916         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
78917         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78918         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
78919         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
78920         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
78921         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78922         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
78923         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
78924         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78925         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78926         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
78927         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
78928         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
78929         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
78930         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
78931         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
78932         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
78933         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
78934         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
78935         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
78936         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
78937         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
78938         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
78939         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
78940         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
78941         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
78942         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
78943         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
78944         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
78945         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
78946         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78947         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
78948         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
78949         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
78950         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
78951         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
78952         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
78953         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
78954         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
78955         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
78956         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
78957         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
78958         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
78959         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
78960         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
78961         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
78962         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
78963         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
78964         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78965         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78966         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
78967         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
78968         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
78969         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
78970         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
78971         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
78972         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
78973         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
78974         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
78975         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
78976         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
78977         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
78978         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
78979         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
78980         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78981         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
78982         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
78983         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
78984         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
78985         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78986         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
78987         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
78988         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
78989         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
78990         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
78991         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
78992         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78993         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
78994         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
78995         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
78996         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
78997         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
78998         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
78999         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
79000         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
79001         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
79002         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
79003         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
79004         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
79005         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
79006         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
79007         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
79008         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
79009         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
79010         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
79011         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
79012         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
79013         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
79014         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
79015         (__isnanf): Likewise.
79016         (__isinf_ns): Likewise.
79017         (__isinf_nsf): Likewise.
79018         (__finite): Likewise.
79019         (__finitef): Likewise.
79020         (__ieee754_sqrt): Define as macro.
79021         (__ieee754_sqrtf): Define as macro.
79022         (__ieee754_sqrtl): Define as macro.
79023         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
79024         inlined copy.
79025         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
79026         __FINITE_MATH_ONLY__ consistent.
79027         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
79029 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
79031         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
79032         of rawmemchr.
79034         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
79036 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
79038         * po/ja.po: Update from translation team.
79040 2011-10-08  Roland McGrath  <roland@hack.frob.com>
79042         * locale/programs/locarchive.c (prepare_address_space): New function.
79043         (create_archive, enlarge_archive, open_archive): Use it.
79045         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
79046         inside [SHARED], where it is used.
79048         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
79050         * nss/getent.c (netgroup_keys): Remove unused variable.
79051         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
79053 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
79055         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
79056         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
79057         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
79058         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
79059         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
79060         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
79061         * math/Makefile (libm-calls): Add s_isinf_ns.
79062         * math/divtc3.c: Use __isinf_nsl instead of isinf.
79063         * math/multc3.c: Likewise.
79064         * math/s_casin.c: Likewise.
79065         * math/s_casinf.c: Likewise.
79066         * math/s_casinl.c: Likewise.
79067         * math/s_ccos.c: Likewise.
79068         * math/s_ccosf.c: Likewise.
79069         * math/s_ccosl.c: Likewise.
79070         * math/s_ctan.c: Likewise.
79071         * math/s_ctanf.c: Likewise.
79072         * math/s_ctanh.c: Likewise.
79073         * math/s_ctanhf.c: Likewise.
79074         * math/s_ctanhl.c: Likewise.
79075         * math/s_ctanl.c: Likewise.
79076         * math/w_fmod.c: Likewise.
79077         * math/w_fmodf.c: Likewise.
79078         * math/w_fmodl.c: Likewise.
79079         * math/w_remainder.c: Likewise.
79080         * math/w_remainderf.c: Likewise.
79081         * math/w_remainderl.c: Likewise.
79082         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
79083         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
79084         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
79085         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
79086         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
79087         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
79088         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
79089         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
79091         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
79092         of the number.
79093         * stdio-common/printf_fphex.c: Likewise.
79094         * stdio-common/printf_size.c: Likewise.
79096         * math/e_exp10.c: Include math_private.h using <...> not "...".
79097         * math/e_exp10f.c: Likewise.
79098         * math/e_exp10l.c: Likewise.
79099         * math/e_exp2l.c: Likewise.
79100         * math/e_j0l.c: Likewise.
79101         * math/e_j1l.c: Likewise.
79102         * math/e_jnl.c: Likewise.
79103         * math/e_lgammal_r.c: Likewise.
79104         * math/e_rem_pio2l.c: Likewise.
79105         * math/e_scalb.c: Likewise.
79106         * math/e_scalbf.c: Likewise.
79107         * math/e_scalbl.c: Likewise.
79108         * math/k_cosl.c: Likewise.
79109         * math/k_sinl.c: Likewise.
79110         * math/k_tanl.c: Likewise.
79111         * math/s_cacoshf.c: Likewise.
79112         * math/s_catan.c: Likewise.
79113         * math/s_catanf.c: Likewise.
79114         * math/s_catanh.c: Likewise.
79115         * math/s_catanhf.c: Likewise.
79116         * math/s_catanhl.c: Likewise.
79117         * math/s_catanl.c: Likewise.
79118         * math/s_ccosh.c: Likewise.
79119         * math/s_ccoshf.c: Likewise.
79120         * math/s_ccoshl.c: Likewise.
79121         * math/s_cexp.c: Likewise.
79122         * math/s_cexpf.c: Likewise.
79123         * math/s_cexpl.c: Likewise.
79124         * math/s_clog.c: Likewise.
79125         * math/s_clog10.c: Likewise.
79126         * math/s_clog10f.c: Likewise.
79127         * math/s_clog10l.c: Likewise.
79128         * math/s_clogf.c: Likewise.
79129         * math/s_clogl.c: Likewise.
79130         * math/s_csin.c: Likewise.
79131         * math/s_csinf.c: Likewise.
79132         * math/s_csinh.c: Likewise.
79133         * math/s_csinhf.c: Likewise.
79134         * math/s_csinhl.c: Likewise.
79135         * math/s_csinl.c: Likewise.
79136         * math/s_csqrt.c: Likewise.
79137         * math/s_csqrtf.c: Likewise.
79138         * math/s_csqrtl.c: Likewise.
79139         * math/s_ctan.c: Likewise.
79140         * math/s_ctanf.c: Likewise.
79141         * math/s_ctanh.c: Likewise.
79142         * math/s_ctanhf.c: Likewise.
79143         * math/s_ctanhl.c: Likewise.
79144         * math/s_ctanl.c: Likewise.
79145         * math/s_ldexp.c: Likewise.
79146         * math/s_ldexpf.c: Likewise.
79147         * math/s_ldexpl.c: Likewise.
79148         * math/s_significand.c: Likewise.
79149         * math/s_significandf.c: Likewise.
79150         * math/s_significandl.c: Likewise.
79151         * math/w_acos.c: Likewise.
79152         * math/w_acosf.c: Likewise.
79153         * math/w_acosh.c: Likewise.
79154         * math/w_acoshf.c: Likewise.
79155         * math/w_acoshl.c: Likewise.
79156         * math/w_acosl.c: Likewise.
79157         * math/w_asin.c: Likewise.
79158         * math/w_asinf.c: Likewise.
79159         * math/w_asinl.c: Likewise.
79160         * math/w_atan2.c: Likewise.
79161         * math/w_atan2f.c: Likewise.
79162         * math/w_atan2l.c: Likewise.
79163         * math/w_atanh.c: Likewise.
79164         * math/w_atanhf.c: Likewise.
79165         * math/w_atanhl.c: Likewise.
79166         * math/w_cosh.c: Likewise.
79167         * math/w_coshf.c: Likewise.
79168         * math/w_coshl.c: Likewise.
79169         * math/w_dremf.c: Likewise.
79170         * math/w_exp10.c: Likewise.
79171         * math/w_exp10f.c: Likewise.
79172         * math/w_exp10l.c: Likewise.
79173         * math/w_exp2.c: Likewise.
79174         * math/w_exp2f.c: Likewise.
79175         * math/w_fmod.c: Likewise.
79176         * math/w_fmodf.c: Likewise.
79177         * math/w_fmodl.c: Likewise.
79178         * math/w_hypot.c: Likewise.
79179         * math/w_hypotf.c: Likewise.
79180         * math/w_hypotl.c: Likewise.
79181         * math/w_j0.c: Likewise.
79182         * math/w_j0f.c: Likewise.
79183         * math/w_j0l.c: Likewise.
79184         * math/w_j1.c: Likewise.
79185         * math/w_j1f.c: Likewise.
79186         * math/w_j1l.c: Likewise.
79187         * math/w_jn.c: Likewise.
79188         * math/w_jnf.c: Likewise.
79189         * math/w_jnl.c: Likewise.
79190         * math/w_lgamma.c: Likewise.
79191         * math/w_lgamma_r.c: Likewise.
79192         * math/w_lgammaf.c: Likewise.
79193         * math/w_lgammaf_r.c: Likewise.
79194         * math/w_lgammal.c: Likewise.
79195         * math/w_lgammal_r.c: Likewise.
79196         * math/w_log.c: Likewise.
79197         * math/w_log10.c: Likewise.
79198         * math/w_log10f.c: Likewise.
79199         * math/w_log10l.c: Likewise.
79200         * math/w_log2.c: Likewise.
79201         * math/w_log2f.c: Likewise.
79202         * math/w_log2l.c: Likewise.
79203         * math/w_logf.c: Likewise.
79204         * math/w_logl.c: Likewise.
79205         * math/w_pow.c: Likewise.
79206         * math/w_powf.c: Likewise.
79207         * math/w_powl.c: Likewise.
79208         * math/w_remainder.c: Likewise.
79209         * math/w_remainderf.c: Likewise.
79210         * math/w_remainderl.c: Likewise.
79211         * math/w_scalb.c: Likewise.
79212         * math/w_scalbf.c: Likewise.
79213         * math/w_scalbl.c: Likewise.
79214         * math/w_sinh.c: Likewise.
79215         * math/w_sinhf.c: Likewise.
79216         * math/w_sinhl.c: Likewise.
79217         * math/w_sqrt.c: Likewise.
79218         * math/w_sqrtf.c: Likewise.
79219         * math/w_sqrtl.c: Likewise.
79220         * math/w_tgamma.c: Likewise.
79221         * math/w_tgammaf.c: Likewise.
79222         * math/w_tgammal.c: Likewise.
79224         * po/ja.po: Update from translation team.
79226 2011-09-29  Andreas Jaeger  <aj@suse.de>
79228         [BZ #13179]
79229         * sunrpc/netname.c (netname2host): Fix logic.
79231         [BZ #6779]
79232         [BZ #6783]
79233         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
79234         correctly.
79235         * math/w_remainder.c (__remainder): Likewise.
79236         * math/w_remainderf.c (__remainderf): Likewise.
79237         * math/libm-test.inc (remainder_test): Add test cases.
79239 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79241         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
79242         sdiv_qrnnd.
79244 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
79246         * string/test-memcmp.c: Avoid unncessary #defines.
79247         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
79249 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79251         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
79252         Use new sse2 version for core i3 - i7 as it's faster
79253         than sse42 version.
79254         (bit_Prefer_PMINUB_for_stringop): New.
79255         * sysdeps/x86_64/rawmemchr.S: Update.
79256         Replace with faster SSE2 version.
79257         * sysdeps/x86_64/memrchr.S: New file.
79258         * sysdeps/x86_64/memchr.S: Update.
79259         Replace with faster SSE2 version.
79261 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
79263         * elf/dl-load.c (lose): Add cast to avoid warning.
79265 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
79267         * po/ca.po: Update from translation team.
79269         * inet/getnetgrent_r.c: Hook up nscd.
79270         * nscd/Makefile (routines): Add nscd_netgroup.
79271         (nscd-modules): Add netgroupcache.
79272         (CFLAGS-netgroupcache.c): Define.
79273         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
79274         (cache_search): Add const to second parameter.
79275         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
79276         INNETGR.
79277         (dbs): Add netgrdb entry.
79278         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
79279         (verify_persistent_db): Handle netgrdb.
79280         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
79281         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
79282         GETFDNETGR.
79283         (netgroup_response_header): Define.
79284         (innetgroup_response_header): Define.
79285         (datahead): Add netgroup_response_header and innetgroup_response_header
79286         elements.
79287         * nscd/nscd.conf: Add entries for netgroup cache.
79288         * nscd/nscd.h (dbtype): Add netgrdb.
79289         (_PATH_NSCD_NETGROUP_DB): Define.
79290         (netgroup_iov_disabled): Declare.
79291         (xmalloc, xcalloc, xrealloc): Move declarations here.
79292         (cache_search): Adjust prototype.
79293         Add netgroup-related prototypes.
79294         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
79295         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
79296         (__nscd_innetgr): Declare.
79297         * nscd/selinux.c (perms): Use access_vector_t as element type and
79298         add netgroup-related initializers.
79299         * nscd/netgroupcache.c: New file.
79300         * nscd/nscd_netgroup.c: New file.
79301         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
79302         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
79303         For four parameters use innetgr.
79304         * nss/nss_files/files-init.c: Add definition and callback for netgr.
79305         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
79306         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
79307         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
79309         * nscd/connections.c (register_traced_file): Don't register file
79310         for disabled databases.
79312 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
79314         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
79316         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
79317         from tree and freeing node.
79319 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
79321         * nss/nsswitch.c (__nss_database_lookup): Handle
79322         nss_parse_service_list out of memory case.
79324 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
79326         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
79327         out of memory case.
79329 2011-10-04  Andreas Schwab  <schwab@redhat.com>
79331         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
79332         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
79333         pass it down.
79334         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
79335         elf_machine_rela, elf_machine_lazy_rel.
79336         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
79337         (ELF_DYNAMIC_DO_REL): Likewise.
79338         (ELF_DYNAMIC_DO_RELA): Likewise.
79339         (ELF_DYNAMIC_RELOCATE): Likewise.
79340         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
79341         to ELF_DYNAMIC_DO_REL.
79342         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
79343         (dl_main): In trace mode always set __RTLD_NOIFUNC.
79344         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
79345         elf_machine_rela.
79346         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
79347         skip_ifunc, don't call ifunc function if non-zero.
79348         (elf_machine_rela): Likewise.
79349         (elf_machine_lazy_rel): Likewise.
79350         (elf_machine_lazy_rela): Likewise.
79351         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
79352         (elf_machine_lazy_rel): Likewise.
79353         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
79354         Likewise.
79355         (elf_machine_lazy_rel): Likewise.
79356         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
79357         Likewise.
79358         (elf_machine_lazy_rel): Likewise.
79359         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
79360         (elf_machine_lazy_rel): Likewise.
79361         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
79362         (elf_machine_lazy_rel): Likewise.
79363         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
79364         (elf_machine_lazy_rel): Likewise.
79365         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
79366         (elf_machine_lazy_rel): Likewise.
79367         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
79368         (elf_machine_lazy_rel): Likewise.
79369         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
79370         (elf_machine_lazy_rel): Likewise.
79372 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
79374         * nss/nss_files/files-init.c (_nss_files_init): Use static
79375         initialization for all the *_traced_file variables.
79377 2011-09-28  Andreas Schwab  <schwab@redhat.com>
79379         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79381 2011-09-27  Roland McGrath  <roland@hack.frob.com>
79383         [BZ #13226]
79384         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
79386 2011-09-27  Andreas Schwab  <schwab@redhat.com>
79388         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
79389         Reread the line before reparsing it.
79391 2011-09-26  Andreas Schwab  <schwab@redhat.com>
79393         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
79395 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
79396             Maxim Kuvyrkov  <maxim@codesourcery.com>
79397             Joseph Myers  <joseph@codesourcery.com>
79399         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
79400         if needed for __stack_chk_guard.
79402 2011-09-19  Roland McGrath  <roland@hack.frob.com>
79404         * sysdeps/posix/spawni.c (script_execute): Always define it.
79405         It will be optimized away if unused.
79406         (maybe_script_execute): New function.
79407         (__spawni): Call it.
79409         * Makerules: Don't include tls.make.
79410         (config-tls): Always set to thread.
79411         * tls.make.c: File removed.
79413 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
79415         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
79416         * config.make.in (CPPFLAGS-config): New substituted variable.
79418 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
79420         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
79422         [BZ #13192]
79423         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
79424         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
79426 2011-09-15  Roland McGrath  <roland@hack.frob.com>
79428         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
79429         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
79430         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
79431         (CALL_FAIL): Likewise.
79432         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
79433         (CALL_FAIL): Macro removed.
79434         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
79436 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
79438         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
79439         for __FINITE_MATH_ONLY__ == 1.
79441 2011-09-15  Andreas Schwab  <schwab@redhat.com>
79443         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
79444         __ieee754_sqrt instead of sqrt.
79445         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
79446         __ieee754_sqrtf instead of sqrtf.
79447         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
79448         __floorf instead of floorf.
79449         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
79450         __floorf, __truncf instead of floorf, truncf.
79452 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
79454         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
79456         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
79457         __extern_always_inline.
79458         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
79459         32-bit.
79461 2011-09-14  Andreas Schwab  <schwab@redhat.com>
79463         * elf/rtld.c (dl_main): Also relocate in dependency order when
79464         doing symbol dependency testing.
79466 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
79468         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
79469         Always define `refsym'.
79471 2011-09-13  Andreas Schwab  <schwab@redhat.com>
79473         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
79474         (__FD_ELT): Renamed from __FDELT.
79475         * misc/bits/select2.h (__FD_ELT): Likewise.
79476         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
79477         __FD_MASK instead of __FDELT, __FDMASK.
79478         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
79479         Likewise.
79480         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
79481         Likewise.
79483         * elf/Makefile (gen-ldd): Fix pattern.
79485         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
79486         (init_tls): Likewise.
79488 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
79490         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
79492 2011-09-12  Andreas Schwab  <schwab@redhat.com>
79494         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
79495         `struct cmsghdr *' instead of `void *'.
79496         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
79497         Likewise.
79499 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
79501         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
79502         if non-absolute.
79503         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
79504         ldd_rewrite_script.
79506 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
79508         * configure.in: Remove --with-tls option.
79509         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
79510         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
79511         out in case it is missing.
79512         * sysdeps/ia64/elf/configure.in: Likewise.
79513         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
79514         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
79515         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
79516         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
79517         * sysdeps/sh/elf/configure.in: Likewise.
79518         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
79519         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
79520         * sysdeps/x86_64/elf/configure.in: Likewise.
79521         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
79522         * sysdeps/mach/hurd/tls.h: Likewise.
79524         [BZ #13067]
79525         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
79527         [BZ #13090]
79528         * configure.in: Fix use of AC_INIT.
79530         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
79532 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
79534         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
79535         __set_errno.
79536         * malloc/hooks.c: Likewise.
79538         [BZ #11929]
79539         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
79540         variables statically.
79541         (narenas): Initialize.
79542         (list_lock): Initialize.
79543         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
79544         initializtion of main_arena and list_lock.  Small cleanups.
79545         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
79546         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
79547         Add initializers to main_arena and mp_.
79548         (malloc_state): Remove pagesize member.  Change all users to use
79549         GLRO(dl_pagesize).
79551         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
79552         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
79553         is always initialized.
79555         * malloc/malloc.c: Removed unused configurations and dead code.
79556         * malloc/arena.c: Likewise.
79557         * malloc/hooks.c: Likewise.
79558         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
79560         * include/tls.h: Removed.  USE___THREAD must always be defined.
79561         * bits/libc-tsd.h: Don't handle !USE___THREAD.
79562         * elf/dl-libc.c: Likewise.
79563         * elf/dl-tsd.c: Likewise.
79564         * include/errno.h: Likewise.
79565         * include/netdb.h: Likewise.
79566         * include/resolv.h: Likewise.
79567         * inet/herrno-loc.c: Likewise.
79568         * inet/herrno.c: Likewise.
79569         * malloc/arena.c: Likewise.
79570         * malloc/hooks.c: Likewise.
79571         * malloc/malloc.c: Likewise.
79572         * resolv/res-state.c: Likewise.
79573         * resolv/res_libc.c: Likewise.
79574         * sysdeps/i386/dl-machine.h: Likewise.
79575         * sysdeps/ia64/dl-machine.h: Likewise.
79576         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
79577         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
79578         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
79579         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
79580         * sysdeps/sh/dl-machine.h: Likewise.
79581         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
79582         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
79583         * sysdeps/unix/i386/sysdep.S: Likewise.
79584         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
79585         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
79586         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
79587         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
79588         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
79589         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
79590         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
79591         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
79592         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79593         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
79594         * sysdeps/unix/x86_64/sysdep.S: Likewise.
79595         * sysdeps/x86_64/dl-machine.h: Likewise.
79596         * tls.make.c: Likewise.
79598         * configure.in: Remove --with-__thread option.  Make tests for
79599         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
79600         tls_model attribute fail if no support is available.  Remove
79601         USE_IN_LIBIO.
79602         * Makeconfig: Adjust for dropped configure option.  All features are
79603         now mandatory.
79604         * Makerules: Likewise.
79605         * Versions.def: Likewise.
79606         * argp/argp-fmtstream.c: Likewise.
79607         * argp/argp-fmtstream.h: Likewise.
79608         * argp/argp-help.c: Likewise.
79609         * assert/assert.c: Likewise.
79610         * config.h.in: Likewise.
79611         * config.make.in: Likewise.
79612         * configure: Likewise.
79613         * configure.in: Likewise.
79614         * csu/Versions: Likewise.
79615         * csu/init.c: Likewise.
79616         * elf/tst-audit2.c: Likewise.
79617         * elf/tst-tls10.c: Likewise.
79618         * elf/tst-tls10.h: Likewise.
79619         * elf/tst-tls11.c: Likewise.
79620         * elf/tst-tls12.c: Likewise.
79621         * elf/tst-tls14.c: Likewise.
79622         * elf/tst-tlsmod11.c: Likewise.
79623         * elf/tst-tlsmod12.c: Likewise.
79624         * elf/tst-tlsmod13.c: Likewise.
79625         * elf/tst-tlsmod13a.c: Likewise.
79626         * elf/tst-tlsmod14a.c: Likewise.
79627         * elf/tst-tlsmod15b.c: Likewise.
79628         * elf/tst-tlsmod16a.c: Likewise.
79629         * elf/tst-tlsmod16b.c: Likewise.
79630         * elf/tst-tlsmod7.c: Likewise.
79631         * elf/tst-tlsmod8.c: Likewise.
79632         * elf/tst-tlsmod9.c: Likewise.
79633         * gmon/gmon.c: Likewise.
79634         * grp/fgetgrent_r.c: Likewise.
79635         * grp/putgrent.c: Likewise.
79636         * hurd/fopenport.c: Likewise.
79637         * include/libc-symbols.h: Likewise.
79638         * include/tls.h: Likewise.
79639         * intl/gettextP.h: Likewise.
79640         * intl/loadinfo.h: Likewise.
79641         * locale/global-locale.c: Likewise.
79642         * locale/localeinfo.h: Likewise.
79643         * mach/devstream.c: Likewise.
79644         * malloc/arena.c: Likewise.
79645         * malloc/set-freeres.c: Likewise.
79646         * misc/err.c: Likewise.
79647         * misc/getttyent.c: Likewise.
79648         * misc/mntent_r.c: Likewise.
79649         * posix/getopt.c: Likewise.
79650         * posix/wordexp.c: Likewise.
79651         * pwd/fgetpwent_r.c: Likewise.
79652         * resolv/Versions: Likewise.
79653         * resolv/res_hconf.c: Likewise.
79654         * shadow/fgetspent_r.c: Likewise.
79655         * shadow/putspent.c: Likewise.
79656         * stdio-common/printf_fphex.c: Likewise.
79657         * stdio-common/tmpfile.c: Likewise.
79658         * stdlib/abort.c: Likewise.
79659         * stdlib/fmtmsg.c: Likewise.
79660         * sunrpc/auth_unix.c: Likewise.
79661         * sunrpc/clnt_perr.c: Likewise.
79662         * sunrpc/clnt_tcp.c: Likewise.
79663         * sunrpc/clnt_udp.c: Likewise.
79664         * sunrpc/clnt_unix.c: Likewise.
79665         * sunrpc/openchild.c: Likewise.
79666         * sunrpc/svc_simple.c: Likewise.
79667         * sunrpc/svc_tcp.c: Likewise.
79668         * sunrpc/svc_udp.c: Likewise.
79669         * sunrpc/svc_unix.c: Likewise.
79670         * sunrpc/xdr.c: Likewise.
79671         * sunrpc/xdr_array.c: Likewise.
79672         * sunrpc/xdr_rec.c: Likewise.
79673         * sunrpc/xdr_ref.c: Likewise.
79674         * sunrpc/xdr_stdio.c: Likewise.
79676 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
79678         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79680 2011-07-03  Andreas Jaeger  <aj@suse.de>
79682         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
79683         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
79684         regenerate with gen-libm-tests.pl.
79686 2010-05-12  Petr Baudis  <pasky@suse.cz>
79688         [BZ #11589]
79689         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
79690         around j0() zero points by switching to j1().
79691         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
79692         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
79693         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
79694         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
79696 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
79698         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
79699         instead of 0.
79700         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
79701         instead of 0.
79702         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79703         Patch in part by Pavel Roskin <proski@gnu.org>.
79705         [BZ #13138]
79706         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
79707         realloc.
79708         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
79709         Free memory block if necessary.
79711         [BZ #12847]
79712         * libio/genops.c (INTDEF): For string streams the _lock pointer can
79713         be NULL.  Don't lock in this case.
79715 2011-09-09  Roland McGrath  <roland@hack.frob.com>
79717         * elf/elf.h (ELFOSABI_GNU): New macro.
79718         (ELFOSABI_LINUX): Define to that.
79720 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
79722         * string/strncat.c (strncat): Undef the symbol in case it has been
79723         defined in bits/string.h.
79725 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
79727         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
79729         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
79730         link map.
79732 2011-08-17  Andreas Jaeger  <aj@suse.de>
79734         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
79736 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
79737             Ian Lance Taylor  <iant@google.com>
79739         * math/libm-test.inc (lround_test): New testcase.
79740         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
79742 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
79744         * Makefile: Remove support for automatic cvs check-ins.
79745         * Makerules: Likewise.
79746         * config.make.in: Likewise.
79747         * configure.in: Likewise.
79748         * intl/Makefile: Likewise.
79749         * locale/Makefile: Likewise.
79750         * po/Makefile: Likewise.
79751         * posix/Makefile: Likewise.
79752         * sysdeps/gnu/Makefile: Likewise.
79753         * sysdeps/mach/hurd/Makefile: Likewise.
79754         * sysdeps/sparc/sparc32/Makefile: Likewise.
79756         [BZ #13118]
79757         * posix/Makefile (bug-regex32-ENV): Define.
79758         Patch by John Stanley <jpsinthemix@verizon.net>.
79760         * misc/Makefile (headers): Add bits/select2.h.
79761         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
79762         * misc/bits/select2.h: New file.
79763         * include/bits/select2.h: New file.
79764         * debug/Makefile (routines): Add fdelt_chk.
79765         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
79766         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
79767         FD_ISSET.
79768         * debug/fdelt_chk.c: New file.
79770         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
79771         * wcsmbs/test-wmemcmp.c: Likewise.
79772         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
79773         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
79775 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79777         * string/Makefile (strop-tests): Add memcmp.
79778         * string/test-wmemcmp.c: New file.
79779         * string/test-memcmp.c: Add wmemcmp support.
79781 2011-09-08  Roland McGrath  <roland@hack.frob.com>
79783         [BZ #13153]
79784         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
79785         2011-07-19 change.
79787         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
79788         garbage value in a __mach_port_mod_refs call in the cases of the
79789         task-self and thread-self ports.
79791 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79793         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
79795 2011-09-08  Andreas Schwab  <schwab@redhat.com>
79797         * elf/dl-load.c (lose): Check for non-null L.
79799 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
79801         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
79803         * elf/dl-libc.c (dlerror_run): Pass back error code from
79804         dl_catch_error.
79806         [BZ #13123]
79807         * elf/dl-load.c (lose): Free l_origin if it is valid.
79809         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
79810         names.
79811         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
79812         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
79813         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
79814         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
79815         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
79816         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
79818 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79820         * sysdeps/powerpc/fpu/e_hypot.c: New file.
79821         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
79822         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
79823         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
79824         * sysdeps/powerpc/fpu/k_cosf.c: New file.
79825         * sysdeps/powerpc/fpu/k_sinf.c: New file.
79826         * sysdeps/powerpc/fpu/s_cosf.c: New file.
79827         * sysdeps/powerpc/fpu/s_sinf.c: New file.
79828         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
79829         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
79831 2011-08-15  Alan Modra  <amodra@gmail.com>
79833         [BZ #13092]
79834         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
79835         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
79836         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
79837         ppc_mcount to static-only-routines.
79838         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
79839         __mcount_internal.
79840         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
79841         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
79843 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
79845         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
79846         for finite and infinity parameters.
79848 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
79850         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
79851         and add nop instructions for throughput optimization.
79852         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
79854 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
79856         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
79857         aligned copy for power7 with vector-scalar instructions.
79858         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
79860 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
79862         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
79863         AVX check.
79865 2011-09-07  Andreas Schwab  <schwab@redhat.com>
79867         [BZ #13144]
79868         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
79869         last change.
79871 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
79873         * sysdeps/unix/sysv/linux/x86_64/init-first.c
79874         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
79875         syscall wrapper around clock_gettime in __vdso_clock_gettime.
79876         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
79877         clock_gettime.
79879 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
79881         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
79882         Forgot to demangle the pointer.
79884         * sysdeps/i386/sysdep.h: Define atom_text_section.
79885         * sysdeps/x86_64/sysdep.h: Likewise.
79886         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
79887         section with atom_text_section.
79888         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
79889         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
79890         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
79891         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
79892         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
79894         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
79895         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
79896         already be defined.  Change to take two parameters and don't assign
79897         result to variable.  Adjust all users.
79898         Define INTERNAL_GETTIME if not already defined.
79899         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
79900         call.
79901         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
79902         HAVE_CLOCK_GETTIME_VSYSCALL.
79903         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
79905         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
79906         gettimeofday vsyscall, just use time.
79908 2011-09-06  Andreas Schwab  <schwab@redhat.com>
79910         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
79911         <errno.h>.
79913 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
79915         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
79916         syscall on x86-64.
79917         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
79918         syscall.
79919         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
79920         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
79921         syscall if possible.
79923 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79925         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
79926         e_ident.  Don't pass to find_mapsXX.
79927         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
79929 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79931         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79932         strchr-sse2-no-bsf strrchr-sse2-no-bsf
79933         * sysdeps/x86_64/multiarch/strchr.S: Update.
79934         Check bit_slow_BSF bit.
79935         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
79936         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
79937         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
79939 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79941         [BZ #13134]
79942         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
79943         before glibc 2.15.
79944         (tryshell): Define.
79945         (__spawni): Change last parameter to be flag.  Test
79946         SPAWN_XFLAGS_USE_PATH flag to use path or not.
79947         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
79948         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
79949         * posix/spawni.c: Likewise.
79950         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
79951         * posix/spawnp.c: Likewise.  Change normal version to use
79952         SPAWN_XFLAGS_USE_PATH.
79953         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
79954         SPAWN_XFLAGS_TRY_SHELL.
79956         [BZ #13150]
79957         * posix/glob.h: Remove gcc 1.x support.
79959         [BZ #13068]
79960         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
79962 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79964         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79965         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
79966         strrchr-sse2-bsf
79967         * sysdeps/i386/i686/multiarch/strchr.S: New file.
79968         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
79969         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
79970         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
79971         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
79972         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
79974 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79976         * sysdeps/x86_64/wcscmp.S: New file.
79978         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
79979         wcscmp-c wcscmp-sse2
79980         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
79981         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
79982         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
79983         * wcsmbs/wcscmp.c: Allow renaming.
79985 2011-09-05  David S. Miller  <davem@davemloft.net>
79987         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
79988         stack slot, rather than the struct return pointer slot.
79989         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
79990         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
79991         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
79992         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
79994 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79996         * po/ja.po: Update from translation team.
79998         [BZ #13144]
79999         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
80000         kernel in 64-bit binaries.
80002 2011-09-01  David S. Miller  <davem@davemloft.net>
80004         * elf/elf.h (HWCAP_SPARC_*): Move to..
80005         * sysdeps/sparc/sysdep.h: this new file and add new values.
80006         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
80007         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
80008         _DL_HWCAP_COUNT to 24.
80009         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
80010         entries.
80011         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
80012         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
80013         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
80014         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
80015         instead of magic constants.
80016         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
80018 2011-08-31  David S. Miller  <davem@davemloft.net>
80020         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
80021         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
80022         Reimplement to do errno handling inline.
80023         (SYSCALL_ERROR_HANDLER): New macro.
80024         (__SYSCALL_STRING): Do not do errno handling in asm.
80025         (__CLONE_SYSCALL_STRING): Delete.
80026         (__INTERNAL_SYSCALL_STRING): Delete.
80027         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
80028         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
80029         (PSEUDO): Reimplement to do errno handling inline.
80030         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
80031         (SYSCALL_ERROR_HANDLER): New macro.
80032         (__SYSCALL_STRING): Do not do errno handling in asm.
80033         (__CLONE_SYSCALL_STRING): Delete.
80034         (__INTERNAL_SYSCALL_STRING): Delete.
80035         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
80036         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
80037         i386.
80038         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
80039         (inline_syscall*): Add 'err' argument.
80040         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
80041         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
80042         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
80043         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
80045         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
80046         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
80048 2011-08-30  Andreas Schwab  <schwab@redhat.com>
80050         * elf/rtld.c (dl_main): Relocate objects in dependency order.
80052 2011-08-29  Jiri Olsa <jolsa@redhat.com>
80054         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
80055         directive.
80057 2011-08-24  David S. Miller  <davem@davemloft.net>
80059         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
80061 2011-08-24  Andreas Schwab  <schwab@redhat.com>
80063         * elf/Makefile: Add rules to build and run unload8 test.
80064         * elf/unload8.c: New file.
80065         * elf/unload8mod1.c: New file.
80066         * elf/unload8mod1x.c: New file.
80067         * elf/unload8mod2.c: New file.
80068         * elf/unload8mod3.c: New file.
80070         * elf/dl-close.c (_dl_close_worker): Reset private search list if
80071         it wasn't used.
80073 2011-08-23  David S. Miller  <davem@davemloft.net>
80075         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
80076         subtract stack bias.
80077         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
80078         %sp not %fp in calculations.
80079         (_JMPBUF_UNWINDS_ADJ): Likewise.
80081         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
80082         (aio_suspend): Call it to force an exception region around the
80083         AIO_MISC_WAIT() invocation.
80085 2011-08-23  Andreas Schwab  <schwab@redhat.com>
80087         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
80088         backslash.
80090 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
80092         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
80093         protection macro.
80094         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
80095         and <dl-machine.h>.
80096         (Elf64_FuncDesc): Remove.
80098 2011-08-22  David S. Miller  <davem@davemloft.net>
80100         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
80101         sigaltstack check, add missing cfi directives.
80102         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
80103         missing cfi directives, and sigaltstack handling.
80105 2011-08-16  Andreas Schwab  <schwab@redhat.com>
80107         [BZ #11724]
80108         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
80109         object is seen twice.
80110         * elf/dl-fini.c (_dl_sort_fini): Likewise.
80112         * elf/Makefile (distribute): Add tst-initorder2.c.
80113         (tests): Add tst-initorder2.
80114         (modules-names): Add tst-initorder2a tst-initorder2b
80115         tst-initorder2c tst-initorder2d.  Add rules to build them.
80116         ($(objpfx)tst-initorder2.out): New rule.
80117         * elf/tst-initorder2.c: New file.
80118         * elf/tst-initorder2.exp: New file.
80120 2011-08-22  Andreas Schwab  <schwab@redhat.com>
80122         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
80124         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
80125         dependencies back to end of function.
80127         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
80128         $(elfobjdir)/ld.so.
80130 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
80132         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
80133         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
80134         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
80135         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
80136         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
80137         of __vdso_gettimeofday.
80138         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
80139         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
80140         attribute_hidden.
80141         (_libc_vdso_platform_setup): Remove initialization of
80142         __vdso_gettimeofday and __vdso_time.
80144 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
80146         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
80147         and fgetc_unlocked.
80148         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
80149         getc_unlocked.
80151         * elf/dl-open.c (add_to_global): Report additions to the global scope
80152         for LD_DEBUG=scopes.
80153         (dl_open_worker): Also print scope of newly loaded dependencies.
80154         (_dl_show_scope): Indicate if there is no scope.
80156         [BZ #13114]
80157         * stdio-common/Makefile (tests): Add bug24.
80158         * stdio-common/bug24.c: New file.
80160 2011-08-19  Andreas Jaeger  <aj@suse.de>
80162         [BZ #13114]
80163         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
80164         non-existant file when using close-on-exec mode.
80166 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
80168         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
80169         the very first instruction.
80171         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
80172         the CFI state in the end.
80173         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
80174         inclusion of dl-trampoline.h.
80175         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
80177 2011-08-19  Andreas Schwab  <schwab@redhat.com>
80179         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
80180         expectations for long double.
80182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
80183         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
80185 2011-08-14  David S. Miller  <davem@davemloft.net>
80187         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
80188         artificual limit depends upon the system page size.
80190 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
80192         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
80193         * resolv/Makefile: Define CFLAGS-libresolv.
80195 2011-08-17  Andreas Schwab  <schwab@redhat.com>
80197         * nss/makedb.c (compute_tables): Make variables used in nested
80198         function static.
80200 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
80202         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
80203         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
80204         if buffer was too small.
80206         * elf/pldd.c (main): Attach to all threads in the process.
80207         Rewrite /proc handling to use *at functions.
80209 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
80211         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
80212         specifies first scope to show.
80213         (dl_open_worker): Update callers.  Move printing scope of new
80214         object to before the relocation.
80215         * elf/rtld.c (dl_main): Update _dl_show_scope call.
80216         * sysdeps/generic/ldsodefs.h: Update declaration.
80218         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
80219         string for the scope number.
80221 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
80223         * nscd/servicescache.c (cache_addserv): Make sure written is always
80224         initialized.
80226 2011-08-14  Roland McGrath  <roland@hack.frob.com>
80228         * sysdeps/i386/i486/bits/atomic.h
80229         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
80230         statement expression, so as to suppress "set but not used" warning.
80231         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
80233         * string/strncat.c (STRNCAT): Use prototype definition.
80235         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
80236         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
80237         -Iprograms here.
80238         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
80239         (localedef-modules): Add localedef.
80240         (locale-modules): Add locale.
80242         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
80243         * elf/rtld.c (dl_main): Invert order of assignment in last change,
80244         to avoid a warning.
80246 2011-08-14  David S. Miller  <davem@davemloft.net>
80248         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
80249         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
80251 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
80253         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
80254         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
80255         * elf/rtld.c (dl_main): Set l_name of vDSO.
80256         Call _dl_show_scope when DL_DEBUG_SCOPES.
80257         (process_dl_debug): Recognize scopes flag and also set it for all.
80258         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
80259         Declare _dl_show_scope.
80261         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
80262         (do_dlopen): Pass caller_dlopen to dl_open.
80263         (__libc_dlopen_mode): Initialize caller_dlopen.
80265         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
80266         of libc.  Make tolower call locale-independent.  Optimize a bit by
80267         using isdigit instead of isalnum.
80268         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
80270 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
80272         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
80273         was a dependency or dynamically loaded.
80275 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
80277         * intl/l10nflist.c: Allow architecture-specific pop function.
80278         * sysdeps/x86_64/l10nflist.c: New file.
80280         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
80281         classification.
80283 2011-08-10  Andreas Schwab  <schwab@redhat.com>
80285         * include/dirent.h: Add libc_hidden_proto for scandirat and
80286         scandirat64.  Don't declare __scandirat64.
80287         * dirent/scandirat.c: Add libc_hidden_def.
80288         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
80289         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
80291 2011-08-10  David S. Miller  <davem@davemloft.net>
80293         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
80294         enum.
80295         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
80296         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
80297         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
80299 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
80301         * Versions.def [libc]: Add GLIBC_2.15.
80302         * dirent/Makefile (routines): Add scandirat and scandirat64.
80303         * dirent/Versions [libc]: Export scandirat and scandirat64 for
80304         GLIBC_2.15.
80305         * dirent/dirent.h: Declare scandirat and scandirat64.
80306         * dirent/scandirat.c: New file.
80307         * dirent/scandirat64.c: New file.
80308         * sysdeps/wordsize-64/scandirat.c: New file.
80309         * sysdeps/wordsize-64/scandirat64.c: New file.
80310         * dirent/opendir.c: Define opendirat.
80311         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
80312         using scandirat.
80313         * dirent/scandir64.c: Adjust for scandir.c change.
80314         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
80315         __scandirat64, and __scandir_cancel_handler.
80316         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
80317         additional parameter and use openat instead of open (outside of ld.so).
80318         Add new __opendir as wrapper around __opendirat.
80319         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
80320         here without requiring old scandirat implementation.
80322 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
80324         * dirent/scandir.c (cancel_handler): Renamed to
80325         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
80326         defined.  Adjust users.
80327         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
80328         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
80330 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
80332         * string/test-string.h (IMPL): Use __STRING to expand name and then
80333         stringify it.
80335         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
80336         of cleanups.
80338 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80340         * string/Makefile: Update.
80341         (strop-tests): Append strncat.
80342         * string/test-wcscmp.c: New file.
80343         New comprehensive test for wcscmp.
80344         * string/test-strcmp.c: Update.
80345         (WIDE): New define.
80347 2011-07-22  Andreas Schwab  <schwab@redhat.com>
80349         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
80350         line.
80352 2011-07-26  Andreas Schwab  <schwab@redhat.com>
80354         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
80355         encoding to ACE if AI_IDN.
80357 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
80359         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
80360         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
80362 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
80364         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
80365         Fix overflow bug in strncat.
80366         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
80368         * string/test-strncat.c: Update.
80369         Add new tests for checking overflow bugs.
80371 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
80373         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80374         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
80375         * sysdeps/i386/i686/multiarch/strcat.S: New file.
80376         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
80377         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
80378         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
80379         * sysdeps/i386/i686/multiarch/strncat.S: New file.
80380         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
80381         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
80383         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
80384         (USE_AS_STRCAT): Define.
80385         Add strcat and strncat support.
80386         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
80388 2011-07-25  Andreas Schwab  <schwab@redhat.com>
80390         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
80391         __n bigger than INT_MAX+1.
80392         (__strncmp_g): Likewise.
80394 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
80396         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
80397         * libio/stido.h: Likewise.
80399         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
80400         (AF_NFC): Define.
80401         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
80402         (AF_NFC): Define.
80404         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
80405         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
80406         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
80407         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
80408         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
80410         [BZ #13021]
80411         * scripts/test-installation.pl: Don't expect libnss_test1 to be
80412         installed.
80414         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
80415         typo.
80416         (_dl_x86_64_save_sse): Likewise.
80418 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
80420         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
80421         OSXSAVE.
80422         (_dl_x86_64_save_sse): Likewise.
80424         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
80426         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
80428 2011-07-21  Andreas Schwab  <schwab@redhat.com>
80430         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
80431         change.
80432         (_dl_x86_64_save_sse): Use correct AVX check.
80434 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80436         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
80437         bug in strncpy/strncat.
80438         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
80440 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
80442         * string/tester.c (test_strcat): Add tests for different alignments
80443         of source and destination.
80444         (test_strncat): Likewise.
80446 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
80448         [BZ #12852]
80449         * posix/glob.c (glob): Check passed in values before using them in
80450         expressions to avoid some overflows.
80451         (glob_in_dir): Likewise.
80453         [BZ #13007]
80454         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
80455         check for AVX enablement so that we don't crash with old kernels and
80456         new hardware.
80457         * elf/tst-audit4.c: Add same checks here.
80458         * elf/tst-audit6.c: Likewise.
80460         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
80462 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
80464         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
80466 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
80468         * po/cs.po: Update from translation team.
80469         * po/bg.po: Likewise.
80471 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
80473         * misc/sys/cdefs.h: Add support for const attribute.
80474         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
80475         to gnu_dev_{major,minor,makedev} functions.
80477 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
80479         * intl/dcigettext.c (get_output_charset): Add missing bracket.
80481 2011-07-20  Andreas Schwab  <schwab@redhat.com>
80483         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
80484         strlen results.
80486 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80488         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
80489         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
80490         register in order to avoid conflicts with the soft frame pointer
80491         being held in r11 when necessary.
80492         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
80493         (INTERNAL_VSYSCALL_NCS): Likewise.
80495 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
80497         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
80498         * elf/dl-fini.c (_dl_fini): Adjust caller.
80499         * elf/dl-close.c (_dl_close_worker): Likewise.
80500         * sysdeps/generic/ldsodefs.h: Adjust declaration.
80502 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
80504         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
80505         "aux_cache->nlibs < 0".
80507         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
80508         in the reload-count case.
80510 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
80512         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80513         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
80514         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
80515         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
80516         * sysdeps/x86_64/multiarch/strcat.S: New file.
80517         * sysdeps/x86_64/multiarch/strncat.S: New file.
80518         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
80519         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
80520         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
80521         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
80522         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
80523         (USE_AS_STRCAT): Define.
80524         Add strcat and strncat support.
80525         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
80526         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
80527         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
80528         * string/strncat.c: Update.
80529         (USE_AS_STRNCAT): Define.
80530         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80531         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
80532         and i7.
80533         * sysdeps/x86_64/multiarch/init-arch.h
80534         (bit_Prefer_PMINUB_for_stringop): New.
80535         (index_Prefer_PMINUB_for_stringop): Likewise.
80536         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
80537         bit_Prefer_PMINUB_for_stringop.
80539 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
80541         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
80542         buffer64.
80543         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
80544         of casting of buffer.
80545         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
80546         buffer32 and buffer64.
80547         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
80548         writes instead of casting of buffer.
80549         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
80550         buffer32.
80551         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
80552         casting of buffer.
80554 2011-07-19  Andreas Schwab  <schwab@redhat.com>
80556         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
80558 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
80560         * nscd/nscd.c (termination_handler): Don't do anything for a database
80561         if it has not yet been initialized.
80563 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
80565         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
80567 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
80569         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
80571 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
80573         * po/nl.po: Update from translation team.
80574         * po/sv.po: Likewise.
80576 2011-07-16  Roland McGrath  <roland@hack.frob.com>
80578         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
80579         now disallowed by GCC.
80581         * configure.in (use-default-link): Default to yes if a test -shared
80582         link meets our qualifications.
80583         * configure: Regenerated.
80585         * config.make.in (output-format): New variable.
80586         * configure.in: Check for ld --print-output-format support.
80587         * configure: Regenerated.
80588         * Makerules ($(common-objpfx)format.lds)
80589         [$(output-format) != unknown]: Just use $(output-format),
80590         instead of the linker-script munging.
80592 2011-07-14  Roland McGrath  <roland@hack.frob.com>
80594         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
80595         of $(common-objpfx)shlib.lds.
80596         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
80598         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
80599         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
80601         * configure.in (-z relro check): Adjust test code to add a large
80602         writable data section after it.
80603         * configure: Regenerated.
80605 2011-07-11  Roland McGrath  <roland@hack.frob.com>
80607         * configure.in (-z relro check): Fix test code to make the variable
80608         truly const.
80609         * configure: Regenerated.
80611 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
80613         * nscd/nscd.h (struct traced_file): Define.
80614         (struct database_dyn): Remove inotify_descr, reset_res, and filename
80615         elements.  Add traced_files.
80616         (inotify_fd): Declare.
80617         (register_traced_file): Declare.
80618         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
80619         (inotify_fd): Export.
80620         (resolv_conf_descr): Remove.
80621         (nscd_init): Move inotify descriptor creation to main.
80622         Don't register files for notification here.
80623         (register_traced_file): New function.
80624         (invalidate_cache): Don't use reset_res to determine whether to call
80625         res_init, go through the list of registered files.
80626         (main_loop_poll): The inotify descriptors are now stored in the
80627         structures for the traced files.
80628         (main_loop_epoll): Likewise.
80629         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
80630         to __nss_disable_nscd.
80631         * nscd/cache.c (prune_cache): There is no single inotify descriptor
80632         for a database anymore.  Check the records for all the registered
80633         files instead.
80634         * nss/Makefile (libnss_files-routines): Add files-init.
80635         (libnss_db-routines): Add db-init.
80636         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
80637         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
80638         * nss/nss_db/db-init.c: New file.
80639         * nss/nss_files/files-init.c: New file.
80640         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
80641         __nss_lookup_function.
80642         (__nss_lookup_function): Call nss_load_library.
80643         (nss_load_all_libraries): New function.
80644         (__nss_disable_nscd): Take parameter with callback function for files
80645         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
80646         used for the cached services.
80647         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
80648         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
80649         options for features to all the files in nscd.
80651         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
80653 2011-07-10  Roland McGrath  <roland@hack.frob.com>
80655         * csu/elf-init.c (__libc_csu_init): Comment typo.
80657 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
80659         * po/pl.po: Update from translation team.
80660         * po/ja.po: Likewise.
80661         * po/ru.po: Likewise.
80662         * po/ko.po: Likewise.
80663         * po/fr.po: Likewise.
80665 2011-07-09  Roland McGrath  <roland@hack.frob.com>
80667         * configure.in (.ctors/.dtors header and trailer check):
80668         Use an empirical test on a built program.
80669         * configure: Regenerated.
80671         * configure.in (-z relro check): Use an empirical test on a built DSO.
80672         Detect, but do not require, on ia64.
80673         * configure: Regenerated.
80675         * configure.in (READELF): Find it with AC_CHECK_TOOL.
80676         Update tests that use readelf to use $READELF instead.
80677         * configure: Regenerated.
80679 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
80681         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
80682         if the result is not used.
80684 2011-07-05  Andreas Jaeger  <aj@suse.de>
80686         [BZ#9696]
80687         * stdlib/tst-strtod.c: Add testcase.
80689 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
80691         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
80692         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
80693         The latter has a higher limit.  Take additional parameter to pass to
80694         the new function.
80695         (__pathconf): Pass file to __statfs_link_max.
80696         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
80697         __statfs_link_max.
80698         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
80699         __statfs_link_max.
80701         [BZ #12868]
80702         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
80703         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80704         Handle Lustre.
80705         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
80706         (__statfs_filesize_max): Likewise.
80707         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
80709 2011-07-05  Andreas Jaeger  <aj@suse.de>
80711         * resolv/res_comp.c (dn_skipname): Remove unused variable.
80713 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
80715         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
80716         `status' variable.
80717         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
80718         Likewise.
80720 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
80722         * Makefile (strop-tests): Add strncat.
80723         * string/test-strncat.c: New file.
80725 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
80727         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
80729 2011-06-21  Andreas Jaeger  <aj@suse.de>
80731         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
80732         Copy rule from iconvdata/Makefile.
80734 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
80736         [BZ #12922]
80737         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
80738         but no long options are defined, just return 'W'.
80740 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
80742         [BZ #9696]
80743         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
80745 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
80747         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
80748         netgroups to read.
80749         (innetgr): Likewise.
80751 2011-07-05  Roland McGrath  <roland@hack.frob.com>
80753         * config.make.in (install_root): Default to $(DESTDIR).
80755 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
80757         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
80759 2011-07-02  Roland McGrath  <roland@hack.frob.com>
80761         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
80763         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
80764         containing directory rather than embedding absolute directory names.
80766         * scripts/check-local-headers.sh: Rewritten using awk.
80767         Match by word, not by line.  Print error messages for matches.
80768         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
80770         * Makerules [shlib-lds-flags empty]:
80771         ($(common-objpfx)libc_pic.opts): New target.
80772         ($(common-objpfx)libc_pic.os.clean): New target.
80773         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
80775         * config.make.in (OBJCOPY): New variable.
80776         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
80777         * configure: Regenerated.
80779         * config.make.in (use-default-link): New variable.
80780         * configure.in (use_default_link): Grok --with-default-link to set it.
80781         * configure: Regenerated.
80782         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
80783         (shlib-lds, shlib-lds-flags): Define to empty.
80785         * Makerules (shlib-lds): New variable.
80786         (shlib-lds-flags): New variable.
80787         (build-shlib, build-moduile, build-module-asneeded): Use it.
80788         ($(common-objpfx)libc.so): Use $(shlib-lds).
80789         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
80790         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
80792         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
80793         DT_FLAGS/DT_FLAGS_1 with zero flags.
80795         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
80796         linker script munging.
80798 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
80800         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
80801         as 128-bit value.
80802         * crypt/sha512.c (sha512_process_block): Perform total addition using
80803         128-bit if possible.
80804         (__sha512_finish_ctx): Likewise.
80805         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
80806         as 64-bit value.
80807         * crypt/sha256.c (SWAP64): Define.
80808         (sha256_process_block): Perform total addition using 64-bit if
80809         possible.
80810         (__sha256_finish_ctx): Likewise.
80812 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
80814         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
80815         * nscd/initgrcache.c (addinitgroupsX): Likewise.
80816         * nscd/hstcache.c (cache_addhst): Likewise.
80817         * nscd/grpcache.c (cache_addgr): Likewise.
80818         * nscd/aicache.c (addhstaiX): Likewise.
80819         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
80821 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
80823         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
80824         * nscd/initgrcache.c (addinitgroupsX): Likewise.
80825         * nscd/hstcache.c (cache_addhst): Likewise.
80826         * nscd/grpcache.c (cache_addgr): Likewise.
80827         * nscd/aicache.c (addhstaiX): Likewise.
80829 2011-07-01  Andreas Schwab  <schwab@redhat.com>
80831         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
80832         domain only when needed.
80834 2011-06-30  Andreas Schwab  <schwab@redhat.com>
80836         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
80837         is always restored.
80839 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
80841         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
80842         are re-adding the entry.
80843         * nscd/servicescache.c (cache_addserv): Likewise.
80845 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
80847         * sysdeps/generic/dl-irel.h: fix protection against multiple
80848         inclusions.
80849         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
80851 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
80853         [BZ #12935]
80854         * malloc/memusage.sh: Fix quoting in message.
80855         * debug/xtrace.sh: Likewise.
80857         * configure.in: Remove support for --experimental-malloc option, make
80858         it the default.
80859         * config.make.in: Likewise.
80860         * malloc/Makefile: Likewise.
80862 2011-06-27  Andreas Schwab  <schwab@redhat.com>
80864         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
80865         two-byte characters.
80867 2011-06-27  Roland McGrath  <roland@hack.frob.com>
80869         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
80870         AC_CACHE_CHECK invocation.
80871         * configure: Regenerated.
80873         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
80875 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
80877         [BZ #12350]
80878         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
80879         bit from old_res_options.
80881         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
80883         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
80884         value type for setfct.
80886 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
80888         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
80889         __gettimeofday instead of gettimeofday.
80891 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
80893         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
80895 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
80897         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
80899         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
80900         info.
80902 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
80904         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80905         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
80906         strcpy-sse2-unaligned strncpy-sse2-unaligned
80907         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
80908         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
80909         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
80910         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
80911         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
80912         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
80913         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
80914         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
80915         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
80916         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
80917         (STRCPY): Support SSE2 and SSSE3 versions.
80919 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
80921         [BZ #12874]
80922         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
80923         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
80924         kernels which artificially limit size of requests.
80926 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
80928         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80929         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
80930         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
80931         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
80932         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
80933         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
80934         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
80935         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
80936         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
80937         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
80938         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
80939         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
80940         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
80941         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
80942         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
80943         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80944         Enable unaligned load optimization for Intel Core i3, i5 and i7
80945         processors.
80946         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
80947         Define.
80948         (index_Fast_Unaligned_Load): Define.
80949         (HAS_FAST_UNALIGNED_LOAD): Define.
80951 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
80953         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
80955 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
80957         [BZ #12907]
80958         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
80959         until it is clear that the information is realy needed.
80960         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
80962 2011-06-22  Andreas Schwab  <schwab@redhat.com>
80964         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
80966 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
80968         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
80969         /sys/devices/system/cpu/online if it is usable.
80971         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
80972         reading the information from the /proc filesystem to once a second.
80974 2011-06-21  Andreas Jaeger  <aj@suse.de>
80976         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
80977         NULL after inclusion of kernel headers.
80979 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
80981         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
80982         calls to internal_setent.
80984         [BZ #12885]
80985         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
80986         addresses using gethostbyname4_r ignore IPv4 addresses.
80988         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
80989         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
80991         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
80993 2011-06-20  David S. Miller  <davem@davemloft.net>
80995         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
80996         inclusions.
80997         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
80999         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
81000         (elf_irel): Use it.
81001         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
81002         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
81003         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
81004         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
81005         * sysdeps/x86_64/dl-irel.h: Likewise.
81007         * elf/dl-runtime.c: Use elf_ifunc_invoke.
81008         * elf/dl-sym.c: Likewise.
81010 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
81012         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
81013         need to dereference resplen2.
81015 2011-06-14  Andreas Schwab  <schwab@redhat.com>
81017         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
81019 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
81021         * Makeconfig: Define vardbdir and inst_vardbdir.
81022         * nss/Makefile: Add rules to install db-Makefile.
81024         * nss/nss_db/db-XXX.c: Cleanup.
81026         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
81027         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
81028         GLIBC_PRIVATE.
81029         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
81030         * nss/makedb.c: Implement -g option to specify that value strings
81031         are generated and should not be added to table iterated over for
81032         get*ent calls.
81033         * nss/nss_db/db-initgroups.c: New file.
81035         * nss/getent.c: Add support for initgroups lookups through getgrouplist
81036         interface.
81038         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
81039         (internal_getgrouplist): Adjust to name change.
81040         Update use_initgroups_entry if this is not the first call.
81041         * nss/databases.def: Add initgroups entry.
81043         * nss/makedb.c (compute_tables): Check result of multiple hash table
81044         sizes to minimize maximum chain length.
81046 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
81048         * Versions.def: Add entry for libnss_db.
81049         * shlib-versions: Likewise.
81050         * nss/Makefile: Add rules to build libnss_db.
81051         * nss/Versions: Add libnss_db information.  Organize libnss_files
81052         entries better.
81053         * nss/db-Makefile: Add gshadow support.  Change rules for the new
81054         makedb progra.  Some minor improvements to generate smaller files.
81055         * nss/nss_db/nss_db.h: Move NSS database header data structures to
81056         here from...
81057         * nss/makedb.c: ...here.
81058         Improve database format to be smaller and require less memory at
81059         runtime.
81060         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
81061         db anymore.
81062         * nss/nss_db/db-netgrp.c: Likewise.
81063         * nss/nss_db/db-open.c: Likewise.
81064         * nss/nss_files/flies-XXX.x: Adjust comments.
81065         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
81066         * nss/nss_files/files-grp.c: Likewise.
81067         * nss/nss_files/files-hosts.c: Likewise.
81068         * nss/nss_files/files-network.c: Likewise.
81069         * nss/nss_files/files-proto.c: Likewise.
81070         * nss/nss_files/files-pwd.c: Likewise.
81071         * nss/nss_files/files-rpc.c: Likewise.
81072         * nss/nss_files/files-service.c: Likewise.
81073         * nss/nss_files/files-sgrp.c: Likewise.
81074         * nss/nss_files/files-spwd.c: Likewise.
81075         * nss/nss_db/db-alias.c: Removed.
81076         * nss/nss_db/dummy-db.h: Removed.
81078 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
81080         * nss/makedb.c: Rewritten to not use database library.
81081         * nss/Makefile: Update to build new makedb program.
81083 2011-06-14  Andreas Jaeger  <aj@suse.de>
81085         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
81086         memset declaration.
81088 2011-06-10  Andreas Schwab  <schwab@redhat.com>
81090         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
81091         tmpbuf.
81093 2011-06-10  Roland McGrath  <roland@hack.frob.com>
81095         * Makerules (shlib.lds): Fail if the linker script comes out empty.
81096         * elf/Makefile ($(objpfx)ld.so): Likewise.
81098         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
81099         Don't list ld.so twice in dependencies.
81101         * posix/bug-regex31.c: Include <stdlib.h>.
81103         * nscd/hstcache.c (cache_addhst): Remove unused variable.
81105         * nis/nss_compat/compat-spwd.c
81106         (getspent_next_nss_netgr): Remove unused variable.
81107         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
81109         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
81110         nonmembers" output to use the right array.
81112         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
81114         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
81116         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
81117         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
81118         * catgets/gencat.c (read_input_file): Likewise.
81119         * locale/programs/locarchive.c (enlarge_archive): Likewise.
81121         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
81122         variable definition inside #if's controlling its use.
81124         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
81126         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
81128         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
81130         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
81131         unreachable code.
81133         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
81135         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
81136         * configure: Regenerated.
81138         * Makerules: Revert last change.
81139         * elf/Makefile: Likewise.
81141 2011-06-09  Roland McGrath  <roland@hack.frob.com>
81143         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
81144         * elf/Makefile ($(objpfx)librtld.os): Likewise.
81145         (reloc-link): Likewise.
81147 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
81149         * elf/Makefile: Add rules to build pldd.
81150         * elf/pldd.c: New file.
81151         * elf/pldd-xx.c: New file.
81153 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
81155         * version.h: Update for 2.15 development version.
81157 2011-06-07  David S. Miller  <davem@davemloft.net>
81159         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
81160         ifuncs.
81161         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
81162         elf_machine_lazy_rel): Likewise.
81163         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
81164         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
81165         elf_machine_lazy_rel): Likewise.
81166         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
81167         dl_hwcap via passed in argument.
81168         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
81169         Likewise.
81171 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81173         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
81175 2011-06-06  Roland McGrath  <roland@hack.frob.com>
81177         [BZ #12849]
81178         * manual/fdl-1.1.texi: New file, verbatim from:
81179         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
81180         * manual/lgpl-2.1.texi: New file, verbatim from:
81181         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
81182         * manual/Makefile (licenses): New variable, list those new file names.
81183         (texis): Use it.
81184         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
81186         * manual/fdl.texi: File removed.
81187         * manual/lesser.texi: File removed.
81188         * manual/libc.texinfo (Copying, Documentation License):
81189         Use new @include file names, put @appendix directive before @include.
81191 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
81193         [BZ #12841]
81194         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
81195         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
81196         (mq_open): Add __NTH.
81198 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
81200         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81201         Assume Intel Core i3/i5/i7 processor if AVX is available.
81203 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
81205         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
81206         typo.
81208 2011-05-31  Andreas Schwab  <schwab@redhat.com>
81210         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
81211         memory.  Use alloca_account.  Fix memory leak when retrying.
81213 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
81215         * version.h (RELEASE): Bump for 2.14 release.
81216         * include/features.h (__GLIBC_MINOR__): Bump to 14.
81218         * config.make.in (RANLIB): Remove entry.
81220 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
81222         * po/Makefile (po-sed-cmd): Add ksh to extensions.
81223         (libc.pot): Work around missing support for .ksh extension in xgettext.
81225         [BZ #12684]
81226         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
81227         if both request failed.
81228         (send_dg): In case of server errors clear resplen or *resplen2.
81230         [BZ #12454]
81231         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
81232         when there are multiple maps.
81233         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
81234         (_dl_fini): Remove test here.
81236         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
81238 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
81240         [BZ #12350]
81241         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
81242         bit from old_res_options.
81243         (gaih_inet): Likewise.
81245         [BZ #11099]
81246         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
81247         as signed.
81249         * resolv/res_init.c (res_setoptions): Make the code more compact.
81251         [BZ #11558]
81252         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
81253         set RES_USEVC.
81255         [BZ #11634]
81256         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
81258         * malloc/malloc.h: Mark malloc hook variables as deprecated.
81260         [BZ #11781]
81261         * malloc/malloc.h: Declare malloc hook variables as volatile.
81263         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
81264         in last patch.
81266         [BZ #11799]
81267         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
81268         raise in the comment.
81269         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
81270         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
81271         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
81273 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
81275         [BZ #12811]
81276         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
81277         grow the buffers more if it already has to be sufficient.
81278         (build_wcs_upper_buffer): Likewise.
81279         * posix/regexec.c (check_matching): Likewise.
81280         (clean_state_log_if_needed): Likewise.
81281         (extend_buffers): Don't enlarge buffers beyond size of the input
81282         buffer.
81283         Patches mostly by Emil Wojak <emil@wojak.eu>.
81284         * posix/bug-regex32.c: New file.
81285         * posix/Makefile (tests): Add bug-regex32.
81287         * locale/findlocale.c (_nl_find_locale): Return right away if
81288         _nl_explode_name failed.
81289         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
81291         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
81293         * debug/xtrace.sh: Unify messages.
81294         * malloc/memusage.sh: Likewise.
81296         [BZ #12813]
81297         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
81298         time symbol from vDSO.  Substitute with vsyscall if not available.
81299         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
81300         __vdso_time.
81302         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
81303         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
81304         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
81305         Add sendmmsg and internal_sendmmsg.
81306         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
81307         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
81308         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
81310         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
81311         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
81312         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
81314 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
81316         [BZ #12813]
81317         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
81318         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
81319         available.
81320         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
81321         __vdso_getcpu.
81323         [BZ #12814]
81324         * iconvdata/Makefile (tests): Add bug-iconv9.
81325         * iconvdata/bug-iconv9.c: New file.
81327 2011-05-27  Andreas Schwab  <schwab@redhat.com>
81329         [BZ #12814]
81330         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
81332 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
81334         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
81335         (struct user_regs_struct): Change intcs field back to cs.
81337 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
81339         * po/ja.po: Update from translation team.
81341 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
81343         [BZ #12795]
81344         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
81345         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
81347 2011-05-20  Andreas Schwab  <schwab@redhat.com>
81349         * stdlib/longlong.h: Update from GCC.
81351 2011-05-23  Andreas Schwab  <schwab@redhat.com>
81353         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
81354         parameter name.
81355         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
81356         Add parameter name.
81357         (__sysconf): Pass it down.
81359 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
81361         [BZ #12671]
81362         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
81363         some situations.
81364         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
81365         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
81366         add in in __libc_use_alloca calls.  Adjust callers.
81367         (glob): Use malloc in some situations.
81369         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
81370         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
81371         pltexit.
81373 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
81375         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
81376         and CLOCK_BOOTTIME_ALARM.
81378         [BZ #12782]
81379         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
81380         is returned.
81382         * string/_strerror.c (__strerror_r): Print negative errors as signed
81383         numbers.
81385         [BZ #12777]
81386         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
81387         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
81388         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
81390         * configure.in: Fix typo in redirection and correct removal of test
81391         files in two cases.
81393         [BZ #12788]
81394         * locale/setlocale.c (new_composite_name): Fix test to check for
81395         identical name of all categories.
81397         [BZ #12792]
81398         * libio/filedoalloc.c (local_isatty): New function.
81399         (_IO_file_doallocate): Use local_isatty.
81400         * stdio-common/perror.c (perror): In case a new stream is used
81401         forward the stream error.
81402         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
81403         error flag.
81405 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
81407         [BZ #11884]
81408         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
81409         alloca.
81410         * include/alloca.h (extend_alloca_account): Define.
81412         [BZ #11857]
81413         * posix/regex.h: Fix comments with documentation of user-accessible
81414         fields after compilation and describe correct free'ing of pattern
81415         after re_compile_pattern.
81416         Patch by Reuben Thomas <rrt@sc3d.org>.
81418 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
81420         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
81421         and -mno-altivec to prevent the compiler from using Altivec and/or
81422         VSX instructions when the corresponding registers are not available.
81424 2011-05-19  Andreas Schwab  <schwab@redhat.com>
81426         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
81428 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
81430         * libio/freopen.c (freopen): Use __dup2, not dup2.
81431         * libio/freopen64.c (freopen64): Likewise.
81433 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
81435         [BZ #12775]
81436         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
81437         * math/Makefile (tests): Add test-powl.
81438         (CFLAGS-test-powl.c): Define.
81439         * math/test-powl.c: New file.
81441 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81443         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
81445 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
81447         [BZ #11837]
81448         * iconvdata/gb18030.c: Update to GB18020-2005.
81450 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
81452         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
81453         RE_SYNTAX_POSIX_AWK): Update to match recent development.
81454         Patch by Aharon Robbins <arnold@skeeve.com>.
81456         [BZ #11892]
81457         * stdlib/putenv.c (putenv): Don't always create copy of the variable
81458         on the stack.
81460         [BZ #11895]
81461         * misc/pselect.c (__pselect): Handle timeout value errors hidden
81462         through underflows.
81464         [BZ #12766]
81465         * misc/error.c (error_at_line): Ensure file_name and old_file_name
81466         point to strings before performing equality test for error_one_per_line
81467         mode.
81469         [BZ #11697]
81470         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
81472         [BZ #11820]
81473         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
81474         (struct user_fpregs_struct): Avoid __uint*_t types.
81476         [BZ #6420]
81477         * malloc/mtrace.c (tr_where): Add additional parameter to point to
81478         symbol info.  Use it instead of calling _dl_addr locally.
81479         (lock_and_info): New function.
81480         (tr_freehook): Call lock_and_info and pass symbol info as additional
81481         parameter to tr_where.
81482         (tr_mallochook): Likewise.
81483         (tr_reallochook): Likewise.
81484         (tr_memalignhook): Likewise.
81486         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
81487         used and couldn't be at all thread-safe.
81489 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
81491         * libio/freopen.c (freopen): Don't close old file descriptor
81492         before the new one is opened.  Instead dup the new file descriptor
81493         to the old one after the new stream is created.
81494         * libio/freopen64.c (freopen64): Likewise.
81495         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
81496         * libio/fileops.c (_IO_new_file_close_it): Handle new
81497         _IO_FLAGS2_NOCLOSE flag.
81498         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
81499         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
81500         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
81501         _IO_FLAGS2_NOCLOSE flag.
81502         * include/unistd.h: Add hidden_proto for dup3.
81503         Define __have_dup3.
81504         * io/dup3.c: Define hidden symbol.
81505         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
81507         [BZ #7101]
81508         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
81509         when an incomplete long option is used.
81510         * posix/tst-getopt_long1.c: New file.
81511         * posix/Makefile (tests): Add tst-getopt_long1.
81513         [BZ #10138]
81514         * scripts/config.guess: Update from autoconf-2.68.
81515         * scripts/config.sub: Likewise.
81517         [BZ #10157]
81518         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
81519         tests into ...
81520         (has_cpuclock): ...this.  New function.
81521         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
81522         macro here based on has_cpuclock code.
81524         [BZ #10149]
81525         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81526         First byte (not low byte) is now always NUL.
81527         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
81529         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81530         Use non-cancelable interfaces.
81532         [BZ #9809]
81533         * locale/iso-639.def: Add entry for Sorani.
81535         [BZ #11901]
81536         * include/stdlib.h: Move include protection to the right place.
81537         Define abort_msg_s.  Declare __abort_msg with it.
81538         * stdlib/abort.c (__abort_msg): Adjust type.
81539         * assert/assert.c (__assert_fail_base): New function.  Majority
81540         of code from __assert_fail.  Allocate memory for __abort_msg with
81541         mmap.
81542         (__assert_fail): Now call __assert_fail_base.
81543         * assert/assert-perr.c: Remove bulk of implementation.  Use
81544         __assert_fail_base.
81545         * include/assert.hL Declare __assert_fail_base.
81546         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
81547         mmap.
81548         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
81550 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
81552         [BZ #11952]
81553         [BZ #12453]
81554         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
81555         until all modules are registered in the DTV.
81556         * elf/Makefile: Add rules to build and run tst-tls19.
81557         * elf/tst-tls19.c: New file.
81558         * elf/tst-tls19mod1.c: New file.
81559         * elf/tst-tls19mod2.c: New file.
81560         * elf/tst-tls19mod3.c: New file.
81561         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
81563         [BZ #12083]
81564         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
81565         correctly.
81567         [BZ #12601]
81568         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
81569         two-byte sequence errors.
81570         * iconvdata/Makefile (tests): Add bug-iconv8.
81571         * iconvdata/bug-iconv8.c: New file.
81573         [BZ #12626]
81574         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
81575         buf2 definition.
81577         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
81579         [BZ #12432]
81580         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
81581         (dummy_getcfa): New function.
81582         (init): Get _Unwind_GetCFA address, use dummy if not found.
81583         (backtrace_helper): In recursion check, also check whether CFA changes.
81584         (__backtrace): Completely initialize arg.
81586         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
81587         storing incomplete byte sequence in state object.  Avoid testing for
81588         guaranteed too small input if we know there is enough data available.
81590 2011-05-11  Andreas Schwab  <schwab@redhat.com>
81592         * Makeconfig (+link-pie): Indent.
81593         * Rules (binaries-pie): Define if $(have-fpie) and
81594         $(build-shared).
81595         (binaries-shared): Also filter out $(binaries-pie).
81596         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
81597         * nscd/Makefile (others-pie): Add nscd.
81598         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
81599         ($(objpfx)nscd): Remove command override.
81600         * login/Makefile (others-pie): Add pt_chown.
81601         ($(objpfx)pt_chown): Remove command override.
81602         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
81603         remove command overrides.
81605 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
81607         * libio/tst_putwc.c: Fix error messages.
81609         [BZ #12724]
81610         * libio/fileops.c (_IO_new_file_close_it): Always flush when
81611         currently writing and seek to current position when not.
81612         * libio/Makefile (tests): Add bug-fclose1.
81613         * libio/bug-fclose1.c: New file.
81615 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
81617         [BZ #12511]
81618         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
81619         don't set DF_1_NODELETE here.
81620         (do_lookup_x): When entering new entry test for copy relocation
81621         and if necessary set DF_1_NODELETE flag.
81622         * elf/tst-unique4.cc: New file.
81623         * elf/tst-unique4.h: New file.
81624         * elf/tst-unique4lib.cc: New file.
81625         * elf/Makefile: Add rules to build and run tst-unique4.
81626         Patch by Piotr Bury <pbury@goahead.com>.
81628 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
81630         [BZ #12052]
81631         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
81633         [BZ #12625]
81634         * misc/mntent_r.c (addmntent): Flush the stream after the output
81636         [BZ #12393]
81637         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
81638         (is_trusted_path_normalize): Skip initial colon.  Append slash
81639         to empty buffer.  Duplicate is_trusted_path code but allow
81640         constructed patch to be prefix.
81641         (is_dst): Allow $ORIGIN followed by /.
81642         (_dl_dst_substitute): Correct clearing of check_for_trusted.
81643         Correct testing of result of is_trusted_path_normalize
81644         (decompose_rpath): Fix warning.
81646 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
81648         [BZ #11257]
81649         * grp/initgroups.c (internal_getgrouplist): When we found the service
81650         list through the initgroups entry in nsswitch.conf do not always
81651         continue on a successful lookup.  Don't always use the
81652         __nss_group_database value if it is set.
81653         * nss/nsswitch.conf (initgroups): Change action for successful db
81654         lookup to continue for compatibility.
81656 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
81658         [BZ #11532]
81659         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
81660         and CP774 modules.
81661         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
81662         and CP774 modules.
81663         * iconvdata/tst-tables.sh: Likewise.
81664         * iconvdata/cp770.c: New file.
81665         * iconvdata/cp771.c: New file.
81666         * iconvdata/cp772.c: New file.
81667         * iconvdata/cp773.c: New file.
81668         * iconvdata/cp774.c: New file.
81669         * iconvdata/testdata/CP770: New file.
81670         * iconvdata/testdata/CP770..UTF8: New file.
81671         * iconvdata/testdata/CP771: New file.
81672         * iconvdata/testdata/CP771..UTF8: New file.
81673         * iconvdata/testdata/CP772: New file.
81674         * iconvdata/testdata/CP772..UTF8: New file.
81675         * iconvdata/testdata/CP773: New file.
81676         * iconvdata/testdata/CP773..UTF8: New file.
81677         * iconvdata/testdata/CP774: New file.
81678         * iconvdata/testdata/CP774..UTF8: New file.
81680         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
81681         END CHARMAP line.
81682         * iconvdata/gen-8bit-gap.sh: Likewise.
81683         * iconvdata/gen-8bit.sh: Likewise.
81685         * locale/iso-639.def: Add ary entry.
81687         [BZ #11258]
81688         * locale/C-translit.h.in: Add U20A1 transliteration.
81690         [BZ #12178]
81691         * locale/iso-639.def: Add wae entry.
81692         Patch by Kevin Bortis <bortis@translate-wae.ch>.
81694         [BZ #12545]
81695         * locale/programs/localedef.c (construct_output_path): Use ssize_t
81696         for n.
81698         [BZ #12711]
81699         * locale/C-translit.h.in: Add entry for U20B9.
81700         Patch by pravin.d.s@gmail.com.
81702 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
81704         [BZ #12713]
81705         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
81706         ENAMETOOLONG use generic getcwd.
81707         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
81708         in rtld.  Use *stat64.
81709         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
81710         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
81711         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
81712         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
81713         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
81714         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
81715         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
81716         __fstatat64 macros.
81717         * include/dirent.h: Add libc_hidden_proto for rewinddir.
81718         * dirent/rewinddir.c: Add libc_hidden_def.
81719         * sysdeps/mach/hurd/rewinddir.c: Likewise.
81720         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
81722         * include/dirent.h (__alloc_dir): Add flags parameter.
81723         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
81724         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
81725         __alloc_dir.
81726         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
81727         from fdopendir if O_CLOEXEC is already set.
81729 2011-03-15  Alan Modra  <amodra@gmail.com>
81731         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
81732         l_tls_firstbyte_offset non-zero.  Save padding offset in
81733         l_tls_firstbyte_offset for later use.
81734         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
81735         freeing static tls block.
81737 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
81739         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
81740         where #ifdef was intended.  The intent is to prevent ARG_MAX from
81741         being defined by the kernel headers.
81743 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
81745         [BZ #12734]
81746         * resolv/resolv.h: Define RES_NOTLDQUERY.
81747         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
81748         no-tld-query and set RES_NOTLDQUERY.
81749         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
81750         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
81751         modern BIND to search name as TLD unless forbidden.
81753 2011-05-07  Petr Baudis  <pasky@suse.cz>
81754             Ulrich Drepper  <drepper@gmail.com>
81756         [BZ #12393]
81757         * elf/dl-load.c (fillin_rpath): Move trusted path check...
81758         (is_trusted_path): ...to here.
81759         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
81760         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
81761         using is_trusted_path_normalize() in setuid scripts.
81763 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
81765         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
81766         __BEGIN/__END_DECLS.
81768 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
81770         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
81771         NSS_STATUS_NOTFOUND if no record was found.
81773 2011-05-05  Andreas Schwab  <schwab@redhat.com>
81775         * sunrpc/Makefile (headers): Add rpc/netdb.h.
81776         (headers-not-in-tirpc): Remove rpc/netdb.h
81777         * resolv/netdb.h: Revert last change.
81779 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
81781         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
81782         circular dependency between libgcc.a and libc.a.
81784 2011-05-05  Andreas Schwab  <schwab@redhat.com>
81786         * resolv/netdb.h: Don't include <rpc/netdb.h>.
81787         * nis/Makefile: Don't install rpcsvc/*.
81788         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
81789         instead of <rpc/types.h>.
81790         (MAXHOSTNAMELEN): Define.
81792 2011-05-03  Andreas Schwab  <schwab@redhat.com>
81794         * elf/ldconfig.c (add_dir): Don't crash on empty path.
81796 2011-04-28  Maciej Babinski  <mbabinski@google.com>
81798         [BZ #12714]
81799         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
81800         gethostbyname4_r when IPv6 results are possible.
81802 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
81804         [BZ #12723]
81805         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
81806         _PC_PIPE_BUF handling.
81808 2011-04-30  Bruno Haible  <bruno@clisp.org>
81810         [BZ #12717]
81811         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
81812         * resolv/netdb.h (getnameinfo): Change type of flags parameter
81813         to 'int'.
81814         * inet/getnameinfo.c (getnameinfo): Likewise.
81816 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
81818         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
81819         to groups setting in database lookup.
81820         * nss/nsswitch.conf: Add initgroups entry.
81822 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
81824         [BZ #12685]
81825         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
81826         mode string.
81827         Patch by Eric Blake <eblake@redhat.com>.
81829 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
81831         * sunrpc/Makefile (need-export-routines): Add svc_run.
81832         (routines): Remove svc_run.
81833         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
81834         * sunrpc/clnt_perr.c (clnt_perrno): Export.
81835         * sunrpc/svc_run.c (svc_run): Likewise.
81836         * sunrpc/svc_udp.c (svcudp_create): Likewise.
81838 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
81840         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
81841         problem in reallocation in last patch.
81843 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
81845         * sunrpc/Makefile: Move inclusion of Rules.
81847 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
81849         * nss/nss_files/files-initgroups.c: New file.
81850         * nss/Makefile (libnss_files-routines): Add files-initgroups.
81851         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
81852         _nss_files_initgroups_dyn.
81854 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
81856         * elf/elf.h (R_ARM_IRELATIVE): Define.
81858 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
81860         * po/ru.po: Update from translation team.
81862 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
81864         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
81865         dependencies.
81867 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
81869         [BZ #12653]
81870         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
81871         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
81872         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
81873         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
81874         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
81876 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
81878         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
81879         differing bytes.
81880         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
81881         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
81882         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
81884 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
81886         [BZ #12420]
81887         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
81888         storing it.
81889         * stdlib/bug-getcontext.c: New file.
81890         * stdlib/Makefile: Add rules to build and run bug-getcontext.
81892 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81894         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
81895         instructions into .machine "z9-109".
81896         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
81897         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
81899 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81901         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
81902         between environment variables and auxiliary vector.
81904 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
81906         * Makefile: Add rules to build linkobj/libc.so.
81907         * include/libc-symbols.h: Define libc_hidden_nolink.
81908         * include/rpc/auth.h: Mark functions which are to be hidden.
81909         * include/rpc/auth_des.h: Likewise.
81910         * include/rpc/auth_unix.h: Likewise.
81911         * include/rpc/clnt.h: Likewise.
81912         * include/rpc/des_crypt.h: Likewise.
81913         * include/rpc/key_prot.h: Likewise.
81914         * include/rpc/pmap_clnt.h: Likewise.
81915         * include/rpc/pmap_prot.h: Likewise.
81916         * include/rpc/pmap_rmt.h: Likewise.
81917         * include/rpc/rpc_msg.h: Likewise.
81918         * include/rpc/svc.h: Likewise.
81919         * include/rpc/svc_auth.h: Likewise.
81920         * include/rpc/xdr.h: Likewise.
81921         * nis/Makefile: Link all DSOs against linkobj/libc.so.
81922         * nss/Makefile: Likewise.
81923         * sunrpc/Makefile: Don't install headers.  Build library with normal
81924         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
81925         * sunrpc/auth_des.c: Hide exported symbols by default, export some
81926         for the compat linking library.  Remove use of INTDEF/INTUSE.
81927         * sunrpc/auth_none.c: Likewise.
81928         * sunrpc/auth_unix.c: Likewise.
81929         * sunrpc/authdes_prot.c: Likewise.
81930         * sunrpc/authuxprot.c: Likewise.
81931         * sunrpc/clnt_gen.c: Likewise.
81932         * sunrpc/clnt_perr.c: Likewise.
81933         * sunrpc/clnt_raw.c: Likewise.
81934         * sunrpc/clnt_simp.c: Likewise.
81935         * sunrpc/clnt_tcp.c: Likewise.
81936         * sunrpc/clnt_udp.c: Likewise.
81937         * sunrpc/clnt_unix.c: Likewise.
81938         * sunrpc/des_crypt.c: Likewise.
81939         * sunrpc/des_soft.c: Likewise.
81940         * sunrpc/get_myaddr.c: Likewise.
81941         * sunrpc/key_call.c: Likewise.
81942         * sunrpc/key_prot.c: Likewise.
81943         * sunrpc/netname.c: Likewise.
81944         * sunrpc/pm_getmaps.c: Likewise.
81945         * sunrpc/pm_getport.c: Likewise.
81946         * sunrpc/pmap_clnt.c: Likewise.
81947         * sunrpc/pmap_prot.c: Likewise.
81948         * sunrpc/pmap_prot2.c: Likewise.
81949         * sunrpc/pmap_rmt.c: Likewise.
81950         * sunrpc/publickey.c: Likewise.
81951         * sunrpc/rpc_cmsg.c: Likewise.
81952         * sunrpc/rpc_common.c: Likewise.
81953         * sunrpc/rpc_dtable.c: Likewise.
81954         * sunrpc/rpc_prot.c: Likewise.
81955         * sunrpc/rpc_thread.c: Likewise.
81956         * sunrpc/rtime.c: Likewise.
81957         * sunrpc/svc.c: Likewise.
81958         * sunrpc/svc_auth.c: Likewise.
81959         * sunrpc/svc_authux.c: Likewise.
81960         * sunrpc/svc_raw.c: Likewise.
81961         * sunrpc/svc_run.c: Likewise.
81962         * sunrpc/svc_simple.c: Likewise.
81963         * sunrpc/svc_tcp.c: Likewise.
81964         * sunrpc/svc_udp.c: Likewise.
81965         * sunrpc/svc_unix.c: Likewise.
81966         * sunrpc/svcauth_des.c: Likewise.
81967         * sunrpc/xcrypt.c: Likewise.
81968         * sunrpc/xdr.c: Likewise.
81969         * sunrpc/xdr_array.c: Likewise.
81970         * sunrpc/xdr_float.c: Likewise.
81971         * sunrpc/xdr_intXX_t.c: Likewise.
81972         * sunrpc/xdr_mem.c: Likewise.
81973         * sunrpc/xdr_rec.c: Likewise.
81974         * sunrpc/xdr_ref.c: Likewise.
81975         * sunrpc/xdr_sizeof.c: Likewise.
81976         * sunrpc/xdr_stdio.c: Likewise.
81978 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
81980         [BZ #12650]
81981         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
81982         * sysdeps/ia64/dl-tls.h: Likewise.
81983         * sysdeps/powerpc/dl-tls.h: Likewise.
81984         * sysdeps/s390/dl-tls.h: Likewise.
81985         * sysdeps/sh/dl-tls.h: Likewise.
81986         * sysdeps/sparc/dl-tls.h: Likewise.
81987         * sysdeps/x86_64/dl-tls.h: Likewise.
81988         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
81990 2011-03-14  Andreas Schwab  <schwab@redhat.com>
81992         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
81993         rpath element also skip the following colon.
81994         (expand_dynamic_string_token): Add is_path parameter and pass
81995         down to DL_DST_REQUIRED and _dl_dst_substitute.
81996         (decompose_rpath): Call expand_dynamic_string_token with
81997         non-zero is_path.  Ignore empty rpaths.
81998         (_dl_map_object_from_fd): Call expand_dynamic_string_token
81999         with zero is_path.
82001 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
82003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
82004         Make cancelable.
82006 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
82008         [BZ #12655]
82009         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
82010         Patch by Filipe David Manana <fdmanana@apache.org>.
82012 2011-04-07  Andreas Schwab  <schwab@redhat.com>
82014         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
82015         Maintain aligned stack.
82016         (CHECK_RSP): Remove unused macro.
82018 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
82020         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
82021         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
82023 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
82025         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
82027         * include/features.h: Mention __USE_XOPEN2K8 in comment.
82029 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
82031         [BZ #12518]
82032         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
82033         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
82034         * sysdeps/x86_64/memmove.c: New file.
82035         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
82036         (memcpy): Renamed to ...
82037         (__new_memcpy): This.
82038         (memcpy): Provide GLIBC_2_14 memcpy.
82039         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
82040         (memcpy): Provide GLIBC_2_2_5 memcpy.
82042 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
82044         [BZ #12631]
82045         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
82047 2011-03-30  Andreas Schwab  <schwab@redhat.com>
82049         * misc/syncfs.c: New file.
82050         * misc/Makefile (routines): Add syncfs.
82051         * posix/unistd.h: Declare syncfs.
82052         * sysdeps/unix/syscalls.list: Add syncfs.
82054 2011-04-01  Andreas Schwab  <schwab@redhat.com>
82056         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
82057         open_by_handle_at.
82058         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
82059         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
82060         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
82061         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
82062         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
82063         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
82064         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
82066 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
82068         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
82069         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
82070         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
82071         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
82072         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
82073         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
82074         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
82076         * io/Makefile: Compile fallocate.c, fallocate64.c, and
82077         sync_file_range.c with -fexceptions.
82078         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
82079         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
82080         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
82081         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
82082         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
82083         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
82084         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
82085         sync_file_range as cancellation point
82086         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
82087         now a wrapper around __call_sync_file_range with cancellation handling.
82088         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
82089         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
82090         function name to __call_sync_file_range.
82091         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
82092         Add call_sync_file_range.
82094 2011-04-01  Andreas Schwab  <schwab@redhat.com>
82096         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82097         bits/timex.h.
82099 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
82101         * iconv/iconv.h: Fix typo in comment.
82102         * io/fcntl.h: Likewise.
82103         * libio/stdio.h: Likewise.
82104         * posix/spawn.h: Likewise.
82105         * posix/unistd.h: Likewise.
82106         * stdlib/stdlib.h: Likewise.
82107         * time/time.h: Likewise.
82108         * wcsmbs/wchar.h: Likewise.
82110         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
82111         open_by_handle): Add.
82112         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
82113         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
82114         Augment a few comments.
82115         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
82116         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
82117         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
82118         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
82119         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
82120         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
82121         open_by_handle.
82123         * io/fcntl.h (AT_EMPTY_PATH): Define.
82125 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
82127         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
82128         * sysdeps/unix/sysv/linux/bits/time.h: New file.
82129         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
82130         to...
82131         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
82132         * Versions.def: Add GLIBC_2.14.
82133         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
82134         Export.
82136 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
82138         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
82139         round counter.
82140         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
82142 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
82144         [BZ #12597]
82145         * string/test-strncmp.c (do_page_test): New function.
82146         (check2): Likewise.
82147         (test_main): Call check2.
82148         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
82150 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
82152         [BZ #12587]
82153         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
82154         Handle cache information in CPU leaf 4.
82155         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
82157 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
82159         [BZ #12583]
82160         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
82161         character representation.
82162         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
82164 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
82166         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
82167         END(__isnan) to END(__isnanf) to match function entry point/label
82168         EALIGN(__isnanf,...).
82170 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
82172         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
82174 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
82176         [BZ #12510]
82177         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
82178         copy from the symbol referenced in the relocation to initialize the
82179         used variable.
82180         Patch by Piotr Bury <pbury@goahead.com>.
82181         * elf/Makefile: Add rules to build and tst-unique3.
82182         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
82183         * elf/tst-unique3.cc: New file.
82184         * elf/tst-unique3.h: New file.
82185         * elf/tst-unique3lib.cc: New file.
82186         * elf/tst-unique3lib2.cc: New file.
82188         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
82190 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
82192         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
82193         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
82194         to _start.
82196 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
82198         * elf/dl-load.c (_dl_map_object): If we are looking for the first
82199         to-be-loaded object along a path to loader is ld.so.
82201 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
82202             Ulrich Drepper  <drepper@gmail.com>
82204         * sysdeps/x86_64/memset.S: After aligning destination, code
82205         branches to different locations depending on the value of
82206         misalignment, when multiarch is enabled. Fix this.
82208 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
82210         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
82211         Set _x86_64_preferred_memory_instruction for AMD processsors.
82212         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82213         Set bit_Prefer_SSE_for_memop for AMD processors.
82215 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
82217         * libio/fmemopen.c (fmemopen): Optimize a bit.
82219 2011-03-03  Andreas Schwab  <schwab@redhat.com>
82221         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
82223 2011-03-03  Roland McGrath  <roland@redhat.com>
82225         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
82227 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
82229         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
82230         __bzero_ultra1 instead of __memset_ultra1.
82232 2011-02-23  Andreas Schwab  <schwab@redhat.com>
82233             Ulrich Drepper  <drepper@gmail.com>
82235         [BZ #12509]
82236         * include/link.h (struct link_map): Add l_orig_initfini.
82237         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
82238         returning unsuccessfully.
82239         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
82240         close of a file loaded at startup, restore the original l_initfini
82241         list.
82242         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
82243         list, store the pointer.
82244         * elf/Makefile ($(objpfx)noload-mem): New rule.
82245         (noload-ENV): Define.
82246         (tests): Add $(objpfx)noload-mem.
82247         * elf/noload.c: Include <memcheck.h>.
82248         (main): Call mtrace.  Close all opened handles.
82250 2011-02-17  Andreas Schwab  <schwab@redhat.com>
82252         [BZ #12454]
82253         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
82254         dependencies are missing.
82256 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82258         Fix __if_freereq crash: Unlike the generic version which uses free,
82259         Hurd needs munmap.
82260         * sysdeps/mach/hurd/ifreq.h: New file.
82262 2011-01-27  Petr Baudis  <pasky@suse.cz>
82263             Ulrich Drepper  <drepper@gmail.com>
82265         [BZ 12445]#
82266         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
82267         to extend_alloca().
82268         * stdio-common/bug23.c: New file.
82269         * stdio-common/Makefile (tests): Add bug23.
82271 2010-09-28  Andreas Schwab  <schwab@redhat.com>
82272             Ulrich Drepper  <drepper@gmail.com>
82274         [BZ #12489]
82275         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
82276         before performing relro protection.  At old place add assertion
82277         to make sure nothing changed.
82279 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
82280             Glauber de Oliveira Costa  <glommer@gmail.com>
82282         * elf/elf.h: Add new ARM TLS relocs.
82284 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
82286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
82287         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
82288         cast from r3.
82289         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
82290         'tests' variable.
82291         * sysdeps/wordsize-64/tst-writev.c: New file.
82293 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
82295         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
82296         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
82297         insns in _dl_start to prevent a TOC reference before relocs are
82298         resolved.
82300 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
82302         [BZ #12469]
82303         * Makeconfig: Remove RANLIB definition.
82304         * Makerules: Don't use RANLIB.
82305         * aclocal.m4: Remove ranlib test.
82306         * configure.in: No need to check for ranlib.
82307         * elf/rtld-Rules: Don't use RANLIB.
82309 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82311         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
82312         protection macro.
82313         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
82314         inclusion protection macro.
82316         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
82317         SIGRTMIN and SIGRTMAX and print information in that case only when
82318         SIGRTMIN is defined.
82320 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
82322         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
82323         arginfo fn returning -1.
82325         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
82326         and thousands string is zero terminated.
82328 2011-02-03  Andreas Schwab  <schwab@redhat.com>
82330         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
82331         sysdeps/unix/sysv/linux/bits/socket.h.
82333 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82335         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
82336         (__CPU_COUNT): Remove old macros.
82337         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
82338         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
82339         (__CPU_ALLOC, __CPU_FREE): Add macros.
82340         (__sched_cpualloc, __sched_cpufree): Add declarations.
82342 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
82344         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
82345         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
82346         * nscd/aicache.c (addhstaiX): Return timeout of added value.
82347         (readdhstai): Return value of addhstaiX call.
82348         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
82349         (addgrbyX): Return value returned by cache_addgr.
82350         (readdgrbyname): Return value returned by addgrbyX.
82351         (readdgrbygid): Likewise.
82352         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
82353         (addpwbyX): Return value returned by cache_addpw.
82354         (readdpwbyname): Return value returned by addhstbyX.
82355         (readdpwbyuid): Likewise.
82356         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
82357         (addservbyX): Return value returned by cache_addserv.
82358         (readdservbyname): Return value returned by addservbyX:
82359         (readdservbyport): Likewise.
82360         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
82361         (addhstbyX): Return value returned by cache_addhst.
82362         (readdhstbyname): Return value returned by addhstbyX.
82363         (readdhstbyaddr): Likewise.
82364         (readdhstbynamev6): Likewise.
82365         (readdhstbyaddrv6): Likewise.
82366         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
82367         (readdinitgroups): Return value returned by addinitgroupsX.
82368         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
82369         (prune_cache): Keep track of timeout value of re-added entries.
82370         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
82371         * nscd/nscd.h: Adjust prototypes of readd* functions.
82373 2011-02-04  Roland McGrath  <roland@redhat.com>
82375         * nis/nis_server.c (nis_servstate): Use the right name for 0.
82376         (nis_stats): Likewise.
82377         * nis/nis_modify.c (nis_modify): Likewise.
82378         * nis/nis_remove.c (nis_remove): Likewise.
82379         * nis/nis_add.c (nis_add): Likewise.
82381         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
82383         * posix/fnmatch_loop.c: Add some consts.
82385         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
82387 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
82389         [BZ #12460]
82390         * config.make.in (config-cflags-novzeroupper): Define.
82391         * configure.in: Substitute libc_cv_cc_novzeroupper.
82392         * elf/Makefile (AVX-CFLAGS): Define.
82393         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
82394         (CFLAGS-tst-auditmod4a.c): Likewise.
82395         (CFLAGS-tst-auditmod4b.c): Likewise.
82396         (CFLAGS-tst-auditmod6b.c): Likewise.
82397         (CFLAGS-tst-auditmod6c.c): Likewise.
82398         (CFLAGS-tst-auditmod7b.c): Likewise.
82399         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
82401 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
82403         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
82404         function to the callback.
82405         Patch partly by Jiri Olsa <jolsa@redhat.com>.
82407 2011-02-02  Andreas Schwab  <schwab@redhat.com>
82409         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
82410         of errno.
82412 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
82414         [BZ #11724]
82415         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
82416         of constructors.
82417         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
82418         of destructors.
82419         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
82421         [BZ #11724]
82422         * elf/Makefile: Add rules to build and run new test.
82423         * elf/tst-initorder.c: New file.
82424         * elf/tst-initorder.exp: New file.
82425         * elf/tst-initordera1.c: New file.
82426         * elf/tst-initordera2.c: New file.
82427         * elf/tst-initordera3.c: New file.
82428         * elf/tst-initordera4.c: New file.
82429         * elf/tst-initorderb1.c: New file.
82430         * elf/tst-initorderb2.c: New file.
82431         * elf/tst-order-a1.c: New file.
82432         * elf/tst-order-a2.c: New file.
82433         * elf/tst-order-a3.c: New file.
82434         * elf/tst-order-a4.c: New file.
82435         * elf/tst-order-b1.c: New file.
82436         * elf/tst-order-b2.c: New file.
82437         * elf/tst-order-main.c: New file.
82438         New test case by George Gensure <werkt0@gmail.com>.
82440 2010-10-01  Andreas Schwab  <schwab@redhat.com>
82442         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
82443         decoding ACE if AI_CANONIDN.
82445 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
82447         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
82449 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
82451         * version.h (RELEASE): Bump for 2.13 release.
82452         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
82454         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
82456         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
82457         MADV_NOHUGEPAGE.
82458         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
82459         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
82460         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
82461         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
82462         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
82463         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
82465         * posix/getconf.c: Update copyright year.
82466         * catgets/gencat.c: Likewise.
82467         * csu/version.c: Likewise.
82468         * debug/catchsegv.sh: Likewise.
82469         * debug/xtrace.sh: Likewise.
82470         * elf/ldconfig.c: Likewise.
82471         * elf/ldd.bash.in: Likewise.
82472         * elf/sprof.c (print_version): Likewise.
82473         * iconv/iconv_prog.c: Likewise.
82474         * iconv/iconvconfig.c: Likewise.
82475         * locale/programs/locale.c: Likewise.
82476         * locale/programs/localedef.c: Likewise.
82477         * malloc/memusage.sh: Likewise.
82478         * malloc/mtrace.pl: Likewise.
82479         * nscd/nscd.c (print_version): Likewise.
82480         * nss/getent.c: Likewise.
82482         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
82483         PF_CAIF, and PF_ALG.
82484         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
82486 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
82488         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
82489         (modules-names): Use them.
82490         (ifunc-test-modules, ifunc-pie-tests): Define.
82491         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
82492         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
82493         (test-extras): Likewise.
82494         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
82495         $(compile-command.c).
82496         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
82497         (all-built-dso): Define.
82498         (check-textrel.out, check-execstack.out): Depend on it.
82500         * configure.in: Don't override --enable-multi-arch.
82502 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
82504         [BZ #6812]
82505         * nscd/hstcache.c (tryagain): Define.
82506         (cache_addhst): Return tryagain not notfound for temporary errors.
82507         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
82508         failed.
82510 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
82512         [BZ #10563]
82513         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
82514         to make the syscall.
82515         * sysdeps/unix/sysv/linux/setgroups.c: New file.
82517         [BZ #12378]
82518         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
82519         and fall back to matching as normal character if the string ends before
82520         the matching ']' is found.  This is what POSIX requires.
82521         * posix/testfnm.c: Adjust test result.
82522         * posix/globtest.sh: Adjust test result.  Add new test.
82523         * posix/tst-fnmatch.input: Likewise.
82524         * posix/tst-fnmatch2.c: Add new test.
82526 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
82528         * elf/Makefile (check-execstack): Revert last change.  Depend on
82529         check-execstack.h.
82530         (check-execstack.h): New target.
82531         (generated): Add check-execstack.h.
82532         * elf/check-execstack.c: Include "check-execstack.h".
82533         (main): Revert last change.
82534         (handle_file): Return zero if GNU_STACK is absent and
82535         DEFAULT_STACK_PERMS doesn't include PF_X.
82537 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
82539         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
82540         in child fails because the descriptor is already closed.
82541         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
82542         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
82543         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
82545         [BZ #12397]
82546         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
82547         syscall.
82549         [BZ #10484]
82550         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
82551         temporary buffer used to handle multi lookups locally.
82552         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
82554 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
82556         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
82557         loader is ld.so.
82559 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
82561         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
82562         alignment for SSE2.
82564 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
82566         [BZ #12394]
82567         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
82568         characters.  When rounding increased number of integer digits recompute
82569         number of groups.
82570         * stdio-common/tst-grouping.c: New file.
82571         * stdio-common/Makefile: Add rules to build and run tst-grouping.
82573 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
82575         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
82576         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
82578         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
82579         void.
82580         * bits/select.h: Likewise.
82582 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
82584         * po/ja.po: Update from translation team.
82586 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
82588         [BZ #11155]
82589         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
82590         implementation just like for lxstat, fxstatat, et al.
82592 2010-12-27  Jim Meyering  <meyering@redhat.com>
82594         [BZ #12348]
82595         * posix/regexec.c (build_trtable): Return failure indication upon
82596         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
82598 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
82600         [BZ #12201]
82601         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
82602         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
82603         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
82604         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
82606         [BZ #12207]
82607         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
82609         [BZ #12204]
82610         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
82611         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
82613 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
82615         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
82616         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
82617         script has SORT_BY_INIT_PRIORITY.
82618         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
82619         NO_CTORS_DTORS_SECTIONS is defined.
82620         * elf/soinit.c: Likewise.
82621         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
82622         NO_CTORS_DTORS_SECTIONS is defined.
82623         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
82624         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
82625         * sysdeps/sh/init-first.c: Likewise.
82626         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
82628 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
82630         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
82631         always use the slow path.
82633 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
82635         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
82636         similar rule which adds the sysdep directories to the header search in
82637         order to pick up the correct platform stackinfo.h.
82638         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
82639         perform test if it is, otherwise return successfully without testing.
82640         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
82641         DEFAULT_STACK_PERMS define in stackinfo.h.
82642         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
82643         defined in stackinfo.h.
82644         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
82645         DEFAULT_STACK_PERMS defined in stackinfo.h.
82646         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
82647         * sysdeps/ia64/stackinfo.h: Likewise.
82648         * sysdeps/s390/stackinfo.h: Likewise.
82649         * sysdeps/sh/stackinfo.h: Likewise.
82650         * sysdeps/sparc/stackinfo.h: Likewise.
82651         * sysdeps/x86_64/stackinfo.h: Likewise.
82652         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
82653         PF_X for powerpc64.  Retain PF_X for powerpc32.
82655 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
82657         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
82658         accurately.
82659         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
82660         GETDENTS_64BIT_ALIGNED.
82662 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
82664         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
82666 2010-12-10  Andreas Schwab  <schwab@redhat.com>
82668         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
82669         _GNU_SOURCE.
82671         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
82672         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
82673         Remove __restrict.
82674         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
82675         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
82677 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
82679         [BZ #11655]
82680         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
82681         are initialized.
82683 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
82685         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
82687 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
82689         * po/it.po: Update from translation team.
82691 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
82693         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
82694         unused codes.
82696 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
82698         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
82700 2010-11-24  Andreas Schwab  <schwab@redhat.com>
82702         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
82703         specially.
82704         (gaih_getanswer_slice): Likewise.
82706 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
82708         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
82710 2010-05-31  Petr Baudis  <pasky@suse.cz>
82712         [BZ #11149]
82713         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
82714         silently even in the chroot mode.
82716 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
82718         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
82719         last patch a bit.  Pretty printing
82721 2010-05-31  Petr Baudis <pasky@suse.cz>
82723         [BZ #10085]
82724         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
82725         initialization of skip_initgroups_dyn.
82727 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
82729         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
82730         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
82732 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
82734         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
82736 2010-11-11  Andreas Schwab  <schwab@redhat.com>
82738         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
82739         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
82740         (tst-fnmatch-ENV): Set MALLOC_TRACE.
82741         ($(objpfx)tst-fnmatch-mem): New rule.
82742         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
82743         * posix/tst-fnmatch.c (main): Call mtrace.
82745 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
82747         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82748         Support Intel processor model 6 and model 0x2c.
82750 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
82752         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
82753           signed comparison.
82755 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
82757         [BZ #12205]
82758         * string/test-strncasecmp.c (check_result): New function.
82759         (do_one_test): Use it.
82760         (check1): New function.
82761         (test_main): Use it.
82762         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
82763         Support strcasecmp and strncasecmp.
82765 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
82767         [BZ #12194]
82768         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
82769         * sysdeps/x86_64/bits/byteswap.h: Likewise.
82771 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
82773         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
82774         IFUNC support.
82775         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82776         memset-x86-64.
82777         * sysdeps/x86_64/multiarch/bzero.S: New file.
82778         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
82779         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
82780         * sysdeps/x86_64/multiarch/memset.S: New file.
82781         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
82782         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82783         Set bit_Prefer_SSE_for_memop for Intel processors.
82784         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
82785         Define.
82786         (index_Prefer_SSE_for_memop): Define.
82787         (HAS_PREFER_SSE_FOR_MEMOP): Define.
82789 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
82791         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
82792         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
82794 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
82796         [BZ #12191]
82797         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
82798         (__x86_64_raw_data_cache_size_half): Likewise.
82799         (__x86_64_raw_shared_cache_size): Likewise.
82800         (__x86_64_raw_shared_cache_size_half): Likewise.
82802         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
82803         (__x86_64_raw_data_cache_size_half): Likewise.
82804         (__x86_64_raw_shared_cache_size): Likewise.
82805         (__x86_64_raw_shared_cache_size_half): Likewise.
82806         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
82807         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
82808         and __x86_64_raw_shared_cache_size_half.  Round
82809         __x86_64_data_cache_size_half, __x86_64_data_cache_size
82810         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
82811         to multiple of 256 bytes.
82813 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
82815         [BZ #12167]
82816         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
82817         of inacessible symlinks.  Verify result of symlink before returning it.
82818         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
82819         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
82821 2010-10-28  Erich Ritz  <erichritz@gmail.com>
82823         * math/math.h (isinf): Fix typo in comment.
82825 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
82827         * po/da.po: Update from translation team.
82829 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
82831         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
82832         is added to the list.
82834 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82835             Ulrich Drepper  <drepper@gmail.com>
82837         * elf/dl-object.c (_dl_new_object): Don't append the new object to
82838         the global list here.  Move code to...
82839         (_dl_add_to_namespace_list): ...here.  New function.
82840         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
82841         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
82842         * elf/dl-load.c (lose): Don't remove the element from the list.
82843         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
82844         (_dl_map_object): Likewise.
82846 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
82848         [BZ #12159]
82849         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
82850         into all bytes of SSE register.
82851         Patch by Richard Li <richardpku@gmail.com>.
82853 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
82855         [BZ #12140]
82856         * malloc/malloc.c (_int_free): Fill correct number of bytes when
82857         perturbing.
82859 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
82861         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
82862         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
82863         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
82864         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
82865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
82866         submachine.
82867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
82869 2010-10-22  Andreas Schwab  <schwab@redhat.com>
82871         * include/dlfcn.h (__RTLD_SECURE): Define.
82872         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
82873         mode & __RTLD_SECURE instead.
82874         (open_path): Rename preloaded parameter to secure.
82875         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
82876         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
82877         * elf/dl-deps.c (openaux): Likewise.
82878         * elf/rtld.c (struct map_args): Remove is_preloaded.
82879         (map_doit): Don't use it.
82880         (dl_main): Likewise.
82881         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
82882         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
82884 2010-09-09  Andreas Schwab  <schwab@redhat.com>
82886         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
82887         (sysd-rules-targets): Remove duplicates.
82888         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
82889         rtld-%.$o dependency.
82891 2010-10-18  Andreas Schwab  <schwab@redhat.com>
82893         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
82894         _dl_map_object do it.
82896 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
82898         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
82899         fast fma builtins, define the macros in the C99 standard.
82900         (FP_FAST_FMAF): Likewise.
82901         (FP_FAST_FMAL): Likewise.
82902         * sysdeps/x86_64/bits/mathdef.h: Likewise.
82904         * bits/mathdef.h: Update copyright year.
82905         * sysdeps/powerpc/bits/mathdef.h: Likewise.
82907 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
82909         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
82910         builtins, define the macros in the C99 standard.
82911         (FP_FAST_FMAF): Likewise.
82912         (FP_FAST_FMAL): Likewise.
82913         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
82914         multiply/add.
82915         (FP_FAST_FMAF): Likewise.
82917 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
82919         [BZ #3268]
82920         * math/libm-test.inc (fma_test): Some new testcases.
82921         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
82922         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
82923         y and infinite z.  Do multiplication by C already in long double.
82924         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
82925         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
82926         y and infinite z.  Do bitwise or of inexact bit into u.d.
82927         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
82928         * sysdeps/i386/fpu/s_fmaf.S: Removed.
82929         * sysdeps/i386/fpu/s_fma.S: Removed.
82930         * sysdeps/i386/fpu/s_fmal.S: Removed.
82932 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
82934         [BZ #3268]
82935         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
82936         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
82937         computation is not scheduled after fetestexcept.  Fix value
82938         of minimum denormal long double.
82940 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
82942         [BZ #3268]
82943         * math/libm-test.inc (fma_test): Add some more tests.
82944         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
82945         correctly.
82947 2010-10-15  Andreas Schwab  <schwab@redhat.com>
82949         * scripts/data/localplt-s390-linux-gnu.data: New file.
82950         * scripts/data/localplt-s390x-linux-gnu.data: New file.
82952 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
82954         [BZ #3268]
82955         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
82956         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
82957         instead of dbl-64.
82958         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
82959         inlines.
82960         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
82961         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
82962         if one of x and y is very large and the other is subnormal.
82963         * sysdeps/s390/fpu/s_fmaf.c: New file.
82964         * sysdeps/s390/fpu/s_fma.c: New file.
82965         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
82966         * sysdeps/powerpc/fpu/s_fma.S: New file.
82967         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
82968         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
82969         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
82971 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
82973         [BZ #3268]
82974         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
82975         fma tests.
82976         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
82977         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
82978         * sysdeps/i386/i686/multiarch/s_fma.c: Include
82979         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
82980         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
82981         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
82982         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
82984 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
82986         [BZ #12078]
82987         * posix/regcomp.c (parse_branch): One more memory leak plugged.
82988         * posix/bug-regex31.input: Add test case.
82990 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
82992         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
82993         * posix/bug-regex31.input: New file.
82995         [BZ #12078]
82996         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
82997         (parse_sub_exp): Fix last change, use postorder.
82999         * posix/bug-regex31.c: New file.
83000         * posix/Makefile: Add rules to build and run bug-regex31.
83002         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
83004         [BZ #12078]
83005         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
83007         [BZ #12108]
83008         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
83009         to have entries in sys_siglist.
83011         [BZ #12093]
83012         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
83013         be NULL.
83015 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
83017         [BZ #3268]
83018         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
83019         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
83020         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
83021         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
83022         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
83023         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
83024         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
83025         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
83026         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
83027         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
83028         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
83029         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
83030         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
83031         * math/ftestexcept.c (fetestexcept): Likewise.
83032         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
83033         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
83034         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
83035         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
83036         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
83037         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
83038         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
83040 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
83042         [BZ #12107]
83043         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
83044         newline.
83046 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
83048         * string/bug-strstr1.c: New file.
83049         * string/Makefile: Add rules to build and run bug-strstr1.
83051 2010-10-05  Eric Blake  <eblake@redhat.com>
83053         [BZ #12092]
83054         * string/str-two-way.h (two_way_long_needle): Always clear memory
83055         when skipping input due to the shift table.
83057 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
83059         [BZ #12005]
83060         * malloc/mcheck.c: Handle large requests.
83062         [BZ #12077]
83063         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
83064         for strncmp and strncasecmp.
83065         * string/stratcliff.c: Add tests for strcmp and strncmp.
83066         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
83068 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83070         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
83071         __set_fpscr.
83073 2010-09-30  Andreas Jaeger  <aj@suse.de>
83075         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
83076         (CGROUP_SUPER_MAGIC): Define.
83077         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
83078         Handle btrfs and cgroup file systems.
83079         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
83080         Likewise.
83082 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
83084         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
83085         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
83087 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83089         [BZ #12067]
83090         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
83091         trying to locate the ELF header.
83093 2010-09-27  Andreas Schwab  <schwab@redhat.com>
83095         [BZ #11611]
83096         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
83097         Mask out sign-bit copies when constructing f_fsid.
83099 2010-09-24  Petr Baudis <pasky@suse.cz>
83101         * debug/stack_chk_fail_local.c: Add missing licence exception.
83102         * debug/warning-nop.c: Likewise.
83104 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
83106         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
83107         implementing getdents64 using getdents syscall, set d_type if
83108         __ASSUME_GETDENTS32_D_TYPE.
83110 2010-09-16  Andreas Schwab  <schwab@redhat.com>
83112         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
83113         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
83115 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
83117         [BZ #12037]
83118         * posix/unistd.h: Undo change of feature selection for ftruncate from
83119         2010-01-11.
83121 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
83123         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
83124         detection.
83126 2010-09-20  Andreas Schwab  <schwab@redhat.com>
83128         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
83129         fanotify_mark.
83130         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
83132 2010-09-14  Andreas Schwab  <schwab@redhat.com>
83134         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
83135         variables after CHECK_SP call.
83136         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
83138 2010-09-13  Andreas Schwab  <schwab@redhat.com>
83139             Ulrich Drepper  <drepper@redhat.com>
83141         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
83142         re-relocationg ld.so.
83143         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
83144         _dl_init_paths call.
83145         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
83146         here anymore.
83148 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
83150         * resolv/res_init.c (__res_vinit): Count the default server we added.
83152 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
83153             Ulrich Drepper  <drepper@redhat.com>
83155         [BZ #11968]
83156         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
83157         (____longjmp_chk): Use %ebx for saving value across system call.
83158         Add unwind info.
83160 2010-09-06  Andreas Schwab  <schwab@redhat.com>
83162         * manual/Makefile: Don't mix pattern rules with normal rules.
83164 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
83166         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
83167         operation.
83168         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
83169         * libio/iofopncook.c (_IO_cookie_init): Likewise.
83170         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
83171         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
83172         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
83173         Likewise.
83175 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
83177         [BZ #11979]
83178         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
83179         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
83181 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
83183         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
83184         * sysdeps/x86_64/addmul_1.S: Likewise.
83185         * sysdeps/x86_64/lshift.S: Likewise.
83186         * sysdeps/x86_64/mul_1.S: Likewise.
83187         * sysdeps/x86_64/rshift.S: Likewise.
83188         * sysdeps/x86_64/sub_n.S: Likewise.
83189         * sysdeps/x86_64/submul_1.S: Likewise.
83191 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83193         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
83194         Define __sched_param instead of SCHED_* and sched_param when
83195         <bits/sched.h> is included with __need_schedparam defined.
83196         * bits/sched.h [__need_schedparam]
83197         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
83198         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
83199         (__defined_schedparam): Define to 1.
83200         (__sched_param): New structure, identical to sched_param.
83201         (__need_schedparam): Undefine.
83203 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
83205         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
83206         (epoll_create1): Declare.
83208         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
83210 2010-08-31  Andreas Schwab  <schwab@redhat.com>
83212         [BZ #7066]
83213         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
83214         shifting retval into place.
83216 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
83218         * nis/rpcsvc/nis.h: Update copyright notice.
83219         * nis/rpcsvc/nis.x: Likewise.
83220         * nis/rpcsvc/nis_callback.h: Likewise.
83221         * nis/rpcsvc/nis_callback.x: Likewise.
83222         * nis/rpcsvc/nis_object.x: Likewise.
83223         * nis/rpcsvc/nis_tags.h: Likewise.
83224         * nis/rpcsvc/yp.h: Likewise.
83225         * nis/rpcsvc/yp.x: Likewise.
83226         * nis/rpcsvc/ypupd.h: Likewise.
83227         * nis/yp_xdr.c: Likewise.
83228         * nis/ypupdate_xdr.c: Likewise.
83230         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
83231         mainly the body of pmap_getport.  Add parameters to specify timeouts.
83232         (pmap_getport): Use __libc_rpc_getport.
83233         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
83234         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
83235         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
83237 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
83239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
83240         fanotify_mark.
83242 2010-08-27  Roland McGrath  <roland@redhat.com>
83244         * sysdeps/i386/i686/multiarch/Makefile
83245         (CFLAGS-varshift.c): New variable.
83247 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
83249         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
83250         * sysdeps/i386/i686/multiarch/varshift.c: New file.
83252         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
83254         * sysdeps/x86_64/strlen.S: Minimal code improvement.
83256 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
83258         * sysdeps/x86_64/strlen.S: Unroll the loop.
83259         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83260         strlen-sse2 strlen-sse2-bsf.
83261         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
83262         __strlen_no_bsf if bit_Slow_BSF is set.
83263         (__strlen_sse42): Removed.
83264         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
83265         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
83267 2010-08-25  Roland McGrath  <roland@redhat.com>
83269         * sysdeps/x86_64/multiarch/varshift.S: File removed.
83270         * sysdeps/x86_64/multiarch/varshift.c: New file.
83271         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
83272         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
83273         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
83274         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
83276 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
83278         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83279         strlen-sse2 strlen-sse2-bsf.
83280         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
83281         __strlen_sse2_bsf if bit_Slow_BSF is unset.
83282         (__strlen_sse2): Removed.
83283         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
83284         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
83285         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
83286         bit_Slow_BSF for Atom.
83287         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
83288         (index_Slow_BSF): Define.
83289         (HAS_SLOW_BSF): Define.
83291 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
83293         [BZ #10851]
83294         * resolv/res_init.c (__res_vinit): When no server address at all
83295         is given default to loopback.
83297 2010-08-24  Roland McGrath  <roland@redhat.com>
83299         * configure.in: Remove config-name.h generation.
83300         * configure: Regenerated.
83301         * config-name.in: File removed.
83302         * scripts/config-uname.sh: New file.
83303         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
83304         ($(objdir)config-name.h): New target.
83306         * sunrpc/rpc_parse.h: Avoid nested comment.
83308 2010-08-24  Richard Henderson  <rth@redhat.com>
83309             Ulrich Drepper  <drepper@redhat.com>
83310             H.J. Lu  <hongjiu.lu@intel.com>
83312         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
83313         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
83314         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
83315         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
83316         _mm_alignr_epi8 with _mm_loadu_si128.
83317         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
83318         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
83319         (__m128i_shift_right): Removed.
83320         * sysdeps/i386/i686/multiarch/varshift.h: New file.
83321         * sysdeps/i386/i686/multiarch/varshift.S: New file.
83322         * sysdeps/x86_64/multiarch/varshift.h: New file.
83323         * sysdeps/x86_64/multiarch/varshift.S: New file.
83325 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
83327         * configure.in: Move assembler checks to before sysdep dir checking.
83329 2010-08-20  Petr Baudis  <pasky@suse.cz>
83331         * LICENSES: Sync the sunrpc license.
83333 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
83335         * sunrpc/auth_des.c: Update copyright notice once again.
83336         * sunrpc/auth_none.c: Likewise.
83337         * sunrpc/auth_unix.c: Likewise.
83338         * sunrpc/authdes_prot.c: Likewise.
83339         * sunrpc/authuxprot.c: Likewise.
83340         * sunrpc/bindrsvprt.c: Likewise.
83341         * sunrpc/clnt_gen.c: Likewise.
83342         * sunrpc/clnt_perr.c: Likewise.
83343         * sunrpc/clnt_raw.c: Likewise.
83344         * sunrpc/clnt_simp.c: Likewise.
83345         * sunrpc/clnt_tcp.c: Likewise.
83346         * sunrpc/clnt_udp.c: Likewise.
83347         * sunrpc/clnt_unix.c: Likewise.
83348         * sunrpc/des_crypt.c: Likewise.
83349         * sunrpc/des_soft.c: Likewise.
83350         * sunrpc/get_myaddr.c: Likewise.
83351         * sunrpc/getrpcport.c: Likewise.
83352         * sunrpc/key_call.c: Likewise.
83353         * sunrpc/key_prot.c: Likewise.
83354         * sunrpc/openchild.c: Likewise.
83355         * sunrpc/pm_getmaps.c: Likewise.
83356         * sunrpc/pm_getport.c: Likewise.
83357         * sunrpc/pmap_clnt.c: Likewise.
83358         * sunrpc/pmap_prot.c: Likewise.
83359         * sunrpc/pmap_prot2.c: Likewise.
83360         * sunrpc/pmap_rmt.c: Likewise.
83361         * sunrpc/rpc/auth.h: Likewise.
83362         * sunrpc/rpc/auth_unix.h: Likewise.
83363         * sunrpc/rpc/clnt.h: Likewise.
83364         * sunrpc/rpc/des_crypt.h: Likewise.
83365         * sunrpc/rpc/key_prot.h: Likewise.
83366         * sunrpc/rpc/netdb.h: Likewise.
83367         * sunrpc/rpc/pmap_clnt.h: Likewise.
83368         * sunrpc/rpc/pmap_prot.h: Likewise.
83369         * sunrpc/rpc/pmap_rmt.h: Likewise.
83370         * sunrpc/rpc/rpc.h: Likewise.
83371         * sunrpc/rpc/rpc_des.h: Likewise.
83372         * sunrpc/rpc/rpc_msg.h: Likewise.
83373         * sunrpc/rpc/svc.h: Likewise.
83374         * sunrpc/rpc/svc_auth.h: Likewise.
83375         * sunrpc/rpc/types.h: Likewise.
83376         * sunrpc/rpc/xdr.h: Likewise.
83377         * sunrpc/rpc_clntout.c: Likewise.
83378         * sunrpc/rpc_cmsg.c: Likewise.
83379         * sunrpc/rpc_common.c: Likewise.
83380         * sunrpc/rpc_cout.c: Likewise.
83381         * sunrpc/rpc_dtable.c: Likewise.
83382         * sunrpc/rpc_hout.c: Likewise.
83383         * sunrpc/rpc_main.c: Likewise.
83384         * sunrpc/rpc_parse.c: Likewise.
83385         * sunrpc/rpc_parse.h: Likewise.
83386         * sunrpc/rpc_prot.c: Likewise.
83387         * sunrpc/rpc_sample.c: Likewise.
83388         * sunrpc/rpc_scan.c: Likewise.
83389         * sunrpc/rpc_scan.h: Likewise.
83390         * sunrpc/rpc_svcout.c: Likewise.
83391         * sunrpc/rpc_tblout.c: Likewise.
83392         * sunrpc/rpc_util.c: Likewise.
83393         * sunrpc/rpc_util.h: Likewise.
83394         * sunrpc/rpcinfo.c: Likewise.
83395         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
83396         * sunrpc/rpcsvc/key_prot.x: Likewise.
83397         * sunrpc/rpcsvc/klm_prot.x: Likewise.
83398         * sunrpc/rpcsvc/mount.x: Likewise.
83399         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
83400         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
83401         * sunrpc/rpcsvc/rex.x: Likewise.
83402         * sunrpc/rpcsvc/rstat.x: Likewise.
83403         * sunrpc/rpcsvc/rusers.x: Likewise.
83404         * sunrpc/rpcsvc/sm_inter.x: Likewise.
83405         * sunrpc/rpcsvc/spray.x: Likewise.
83406         * sunrpc/rpcsvc/yppasswd.x: Likewise.
83407         * sunrpc/rtime.c: Likewise.
83408         * sunrpc/svc.c: Likewise.
83409         * sunrpc/svc_auth.c: Likewise.
83410         * sunrpc/svc_authux.c: Likewise.
83411         * sunrpc/svc_raw.c: Likewise.
83412         * sunrpc/svc_run.c: Likewise.
83413         * sunrpc/svc_simple.c: Likewise.
83414         * sunrpc/svc_tcp.c: Likewise.
83415         * sunrpc/svc_udp.c: Likewise.
83416         * sunrpc/svc_unix.c: Likewise.
83417         * sunrpc/svcauth_des.c: Likewise.
83418         * sunrpc/xcrypt.c: Likewise.
83419         * sunrpc/xdr.c: Likewise.
83420         * sunrpc/xdr_array.c: Likewise.
83421         * sunrpc/xdr_float.c: Likewise.
83422         * sunrpc/xdr_mem.c: Likewise.
83423         * sunrpc/xdr_rec.c: Likewise.
83424         * sunrpc/xdr_ref.c: Likewise.
83425         * sunrpc/xdr_sizeof.c: Likewise.
83426         * sunrpc/xdr_stdio.c: Likewise.
83428         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
83429         handling.
83431 2010-08-19  Andreas Schwab  <schwab@redhat.com>
83433         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
83435 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
83437         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
83438         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
83439         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
83440         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
83441         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
83442         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
83443         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
83444         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
83445         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
83446         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
83447         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
83448         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
83449         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
83450         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
83452 2010-07-26  Anton Blanchard  <anton@samba.org>
83454         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
83455         * malloc/arena.c (heap_trim): Likewise.
83457 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
83459         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
83460         here.  Not...
83461         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
83462         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
83464 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
83466         * sysdeps/i386/elf/Makefile: New file.
83468 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
83470         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
83471         from fanotify_init.
83472         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
83473         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
83475 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
83477         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
83478         of strncasecmp_l.
83479         * sysdeps/multiarch/strcmp.S: Likewise.
83481 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
83483         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
83484         strncase_l-nonascii.
83485         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
83486         Add strncase_l-ssse3.
83487         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
83488         * sysdeps/x86_64/strcmp.S: Likewise.
83489         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
83490         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
83491         * sysdeps/x86_64/strncase.S: New file.
83492         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
83493         * sysdeps/x86_64/strncase_l.S: New file.
83494         * string/Makefile (strop-tests): Add strncasecmp.
83495         * string/test-strncasecmp.c: New file.
83497         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
83498         warning.
83500         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
83501         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
83503 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
83505         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
83507 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
83509         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
83510         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
83511         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
83513 2010-05-01  Alan Modra  <amodra@gmail.com>
83515         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
83516         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
83517         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
83518         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
83519         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
83520         tidying.  Don't tail-call __sigjmp_save for static lib.
83521         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
83522         save location.
83523         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
83524         (CALL_MCOUNT): Add eh info, and nop after bl.
83525         (TAIL_CALL_SYSCALL_ERROR): New macro.
83526         (PSEUDO_RET): Use it.
83527         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
83528         Correct save location of integer regs and cr.
83529         (_dl_profile_resolve): Correct cr save location.  Delete nops
83530         after bl when SHARED.  Reduce cfi size a little by better
83531         placement of cfi directives.
83532         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
83533         make a stack frame.  Instead use parm save area as a temp.
83534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
83535         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
83536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
83537         Don't make a stack frame for parent, use parm save area.
83538         Increase child stack frame to 112 bytes.  Don't save unused reg,
83539         and adjust reg usage.  Set up cfi on error recovery and
83540         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
83541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
83542         (__makecontext): Add dummy nop after jump to exit.
83543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
83544         Use correct parm save area and cr save, reduce stack frame.
83545         Correct cfi for possible PSEUDO_RET frame setup.
83546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
83547         Branch to local label emitted by PSEUDO_RET rather than
83548         __syscall_error.
83550 2010-08-12  Andreas Schwab  <schwab@redhat.com>
83552         [BZ #11904]
83553         * locale/programs/locale.c (print_assignment): New function.
83554         (show_locale_vars): Use it.
83556 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
83558         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
83559         field.
83560         (struct statfs64): Likewise.
83561         (_STATFS_F_FLAGS): Define.
83562         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
83563         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
83564         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
83565         (ST_VALID): Define locally.
83566         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
83567         __statvfs_getflags, use the provided value.
83568         * sysdeps/unix/sysv/linux/kernel-features.h: Define
83569         __ASSUME_STATFS_F_FLAGS.
83571         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
83573         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
83574         Add sys/fanotify.h.
83575         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
83576         fanotify_mask for GLIBC_2.13.
83577         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
83578         fanotify_init and fanotify_mark.
83579         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
83580         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
83582         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
83583         Add prlimit.
83584         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
83585         prlimit64 for GLIBC_2.13.
83586         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
83587         prlimit64.
83588         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
83589         syscall.
83590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
83591         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
83592         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
83593         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
83594         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
83595         add prlimit alias.
83596         * sysdeps/unix/sysv/linux/prlimit.c: New file.
83598         [BZ #11903]
83599         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
83600         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
83602         * nss/Makefile: Add rules to build and run tst-nss-test1.
83603         * shlib-versions: Add entry for libnss_test1.
83604         * nss/nss_test1.c: New file.
83605         * nss/tst-nss-test1.c: New file.
83607         * nss/nsswitch.c (__nss_database_custom): Define new variable.
83608         (__nss_configure_lookup): Set appropriate entry in
83609         __nss_configure_lookup to true.
83610         * nss/nsswitch.h: Define enum with indeces of databases in
83611         databases and __nss_database_custom arrays.  Declare
83612         __nss_database_custom.
83613         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
83614         to avoid using nscd when custom rules are installed.
83615         * nss/getXXbyYY_r.c: Likewise.
83616         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
83618         * nss/nss_files/files-parse.c: Whitespace fixes.
83620 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
83622         [BZ #11883]
83623         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
83624         * posix/fnmatch_loop.c: Likewise.
83626 2010-07-17  Andi Kleen  <ak@linux.intel.com>
83628         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
83629         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
83630         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
83631         * Versions.def [GLIBC_2.13]: Add.
83633 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
83635         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
83636         Also fail if tpwd after pwuid call is NULL.
83638 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83640         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
83641         when converting to ms.
83643 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83645         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
83646         EOPNOTSUPP errors with ENOTTY.
83647         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
83648         EOPNOTSUPP errors with ENOTTY.
83650 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
83652         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
83653         Add strcasecmp_l-ssse3.
83654         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
83655         strcasecmp.
83656         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
83657         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
83658         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
83660 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
83662         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
83664         * string/Makefile (strop-tests): Add strcasecmp.
83665         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
83666         strcasecmp_l-nonascii.
83667         (gen-as-const-headers): Add locale-defines.sym.
83668         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
83669         * sysdeps/x86_64/strcasecmp.S: New file.
83670         * sysdeps/x86_64/strcasecmp_l.S: New file.
83671         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
83672         * sysdeps/x86_64/locale-defines.sym: New file.
83673         * string/test-strcasecmp.c: New file.
83675         * string/test-strcasestr.c: Test both ends of the range of characters.
83676         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
83678 2010-07-29  Roland McGrath  <roland@redhat.com>
83680         [BZ #11856]
83681         * manual/locale.texi (Yes-or-No Questions): Fix example code.
83683 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
83685         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
83686         for ld.so.
83688 2010-07-27  Andreas Schwab  <schwab@redhat.com>
83690         * manual/memory.texi (Malloc Tunable Parameters): Document
83691         M_PERTURB.
83693 2010-07-26  Roland McGrath  <roland@redhat.com>
83695         [BZ #11840]
83696         * configure.in (-fgnu89-inline check): Set and substitute
83697         gnu89_inline, not libc_cv_gnu89_inline.
83698         * configure: Regenerated.
83699         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
83701 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
83703         * string/test-strnlen.c: New file.
83704         * string/Makefile (strop-tests): Add strnlen.
83705         * string/tester.c (test_strnlen): Add a few more test cases.
83706         * string/tst-strlen.c: Better error reporting.
83708         * sysdeps/x86_64/strnlen.S: New file.
83710 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
83712         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
83713         lower-latency instructions.
83715 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
83717         * string/test-strcasestr.c: New file.
83718         * string/test-strstr.c: New file.
83719         * string/Makefile (strop-tests): Add strstr and strcasestr.
83720         * string/str-two-way.h: Don't undefine MAX.
83721         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
83723 2010-07-21  Andreas Schwab  <schwab@redhat.com>
83725         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83726         strcasestr-nonascii.
83727         (CFLAGS-strcasestr-nonascii.c): Define.
83728         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
83729         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
83730         Remove unused attribute.
83732 2010-07-20  Roland McGrath  <roland@redhat.com>
83734         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
83735         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
83736         ld.so.cache was broken.  With it, there is no way to disable dsocaps
83737         like LD_HWCAP_MASK can disable hwcaps.
83739 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
83741         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
83743 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
83745         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
83746         call in strcasestr.
83747         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
83748         __strcasestr_sse42_nonascii.
83749         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
83750         strcasestr-nonascii.c.
83751         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
83753 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
83755         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
83756         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
83757         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
83758         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
83760 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
83762         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
83763         fcntl.
83765 2010-07-06  Andreas Schwab  <schwab@redhat.com>
83767         [BZ #11577]
83768         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
83769         dl_signal_cerror.
83771 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
83773         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
83774         _PC_PIPE_BUF using F_GETPIPE_SZ.
83776 2010-07-05  Roland McGrath  <roland@redhat.com>
83778         * manual/arith.texi (Rounding Functions): Fix rint description
83779         implicit in round description.
83781 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
83783         * elf/Makefile: Fix linking for a few tests to make recent linker
83784         happy.
83786 2010-06-30  Andreas Schwab  <schwab@redhat.com>
83788         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
83789         $(common-objpfx)libc_nonshared.a.
83791 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
83793         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
83794         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
83795         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
83796         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
83797         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
83798         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
83799         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
83800         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
83801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
83802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
83803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
83804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
83805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
83806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
83807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
83808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
83809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
83810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
83811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
83812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
83813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
83814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
83815         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
83816         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
83817         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
83818         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
83819         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
83820         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
83821         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
83822         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
83823         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
83824         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
83825         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
83826         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
83827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
83828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
83829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
83830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
83831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
83832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
83833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
83834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
83835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
83836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
83837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
83838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
83839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
83840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
83842 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
83844         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
83845         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
83846         * string/memmove.c (memmove): Renamed to ...
83847         (MEMMOVE): ...this.  Default to memmove.
83848         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
83849         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
83850         (END_CHK): Define.
83851         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83852         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
83853         mempcpy-ssse3-back memmove-ssse3-back.
83854         * sysdeps/x86_64/multiarch/bcopy.S: New file .
83855         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
83856         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
83857         * sysdeps/x86_64/multiarch/memcpy.S: New file.
83858         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
83859         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
83860         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
83861         * sysdeps/x86_64/multiarch/memmove.c: New file.
83862         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
83863         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
83864         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
83865         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
83866         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
83867         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
83868         Define.
83869         (index_Fast_Copy_Backward): Define.
83870         (HAS_ARCH_FEATURE): Define.
83871         (HAS_FAST_REP_STRING): Define.
83872         (HAS_FAST_COPY_BACKWARD): Define.
83874 2010-06-21  Andreas Schwab  <schwab@redhat.com>
83876         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
83877         Restore proper fallback handling.
83879 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
83881         [BZ #11701]
83882         * posix/group_member.c (__group_member): Correct checking loop.
83884         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
83885         OOM in getpwuid_r correctly.  Return error number when the caller
83886         should return, otherwise -1.
83887         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
83888         call returning > 0 value.
83889         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
83891 2010-06-07  Andreas Schwab  <schwab@redhat.com>
83893         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
83894         libc_nonshared.a from targets in modules-names.
83896 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
83898         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
83899         requires it.
83901 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
83903         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
83904         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
83905         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
83906         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
83908 2010-06-02  Andreas Schwab  <schwab@redhat.com>
83910         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
83912 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
83914         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
83915         and F_GETPIPE_SZ.
83916         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
83917         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83918         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83919         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83920         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83921         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83923 2010-06-14  Roland McGrath  <roland@redhat.com>
83925         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
83927 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
83929         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
83930         __REDIRECT followed by __THROW.
83931         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
83932         * posix/getopt.h (getopt): Likewise.
83934 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
83936         * hurd/lookup-at.c (__file_name_lookup_at): Accept
83937         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
83938         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
83939         in AT_FLAGS.
83940         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
83941         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
83943 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
83945         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
83947 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
83949         [BZ #11640]
83950         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83951         Properly check family and model.
83953 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
83955         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
83957 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
83959         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
83961 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
83963         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
83964         symbol reference.
83966 2010-05-19  Andreas Schwab  <schwab@redhat.com>
83968         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
83969         symbol reference.
83971 2010-05-21  Andreas Schwab  <schwab@redhat.com>
83973         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
83974         and internal_recvmmsg.
83975         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
83976         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
83977         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
83978         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
83980         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
83981         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
83982         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
83984 2010-05-20  Andreas Schwab  <schwab@redhat.com>
83986         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
83988 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
83990         POWER7 optimizations.
83991         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
83992         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
83994 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
83996         * version.h: Update for 2.13 development version.
83998 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
84000         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
84001         exceptions.  Return 0.
84003 2010-05-07  Roland McGrath  <roland@redhat.com>
84005         * elf/ldconfig.c (main): Add a const.
84007 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
84009         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
84010         (args_options): Add no-idn option.
84011         (ahosts_keys_int): Add idn_flags to ai_flags.
84012         (parse_option): Handle 'i' option to clear idn_flags.
84014         * malloc/malloc.c (_int_free): Possible race in the most recently
84015         added check.  Only act on the data if no current modification
84016         happened.
84018 See ChangeLog.17 for earlier changes.